Skip to content

208 aos fhecf support #138

208 aos fhecf support

208 aos fhecf support #138

Triggered via pull request March 13, 2025 16:47
Status Success
Total duration 40s
Artifacts

cpp-linter.yml

on: pull_request
cpp-linter
30s
cpp-linter
Fit to window
Zoom out
Zoom in

Annotations

10 errors, 10 warnings, and 10 notices
support/standalone/standalone.c:29:25 [cppcoreguidelines-avoid-non-const-global-variables]: support/standalone/standalone.c#L29
variable 'keepRunning' is non-const and globally accessible, consider making it const
support/standalone/standalone.c:30:25 [cppcoreguidelines-avoid-non-const-global-variables]: support/standalone/standalone.c#L30
variable 'tc_seq_num' is non-const and globally accessible, consider making it const
support/standalone/standalone.c:31:25 [cppcoreguidelines-avoid-non-const-global-variables]: support/standalone/standalone.c#L31
variable 'tc_vcid' is non-const and globally accessible, consider making it const
support/standalone/standalone.c:32:25 [cppcoreguidelines-avoid-non-const-global-variables]: support/standalone/standalone.c#L32
variable 'tc_debug' is non-const and globally accessible, consider making it const
support/standalone/standalone.c:33:25 [cppcoreguidelines-avoid-non-const-global-variables]: support/standalone/standalone.c#L33
variable 'tm_debug' is non-const and globally accessible, consider making it const
support/standalone/standalone.c:57:5 [readability-redundant-control-flow]: support/standalone/standalone.c#L57
redundant return statement at the end of a function with a void return type
support/standalone/standalone.c:113:9 [readability-function-cognitive-complexity]: support/standalone/standalone.c#L113
function 'crypto_standalone_process_command' has cognitive complexity of 32 (threshold 25)
support/standalone/standalone.c:224:5 [readability-isolate-declaration]: support/standalone/standalone.c#L224
multiple declarations in a single statement reduces readability
Run clang-format on support/standalone/standalone.c: support/standalone/standalone.c#L1
File support/standalone/standalone.c does not conform to Custom style guidelines. (lines 225, 226, 229, 240, 353, 354, 589, 590)
Run clang-format on src/crypto/libgcrypt/cryptography_interface_libgcrypt.template.c: src/crypto/libgcrypt/cryptography_interface_libgcrypt.template.c#L1
File src/crypto/libgcrypt/cryptography_interface_libgcrypt.template.c does not conform to Custom style guidelines. (lines 138, 219, 220, 221, 245, 328, 329, 330, 331, 395, 598, 728, 814)
Run clang-format on src/crypto/kmc/cryptography_interface_kmc_crypto_service.template.c: src/crypto/kmc/cryptography_interface_kmc_crypto_service.template.c#L1
File src/crypto/kmc/cryptography_interface_kmc_crypto_service.template.c does not conform to Custom style guidelines. (lines 35, 41, 91, 99, 100, 163, 345, 396, 397, 419, 427, 482, 540, 586, 639, 669, 784, 836, 850, 851, 854, 903, 1009, 1032, 1093, 1119, 1202, 1282, 1361, 1362, 1385, 1393, 1448, 1575, 1606, 1612, 1683, 1742, 1772, 2015, 2087, 2309)
Run clang-format on src/mc/internal/mc_interface_internal.template.c: src/mc/internal/mc_interface_internal.template.c#L1
File src/mc/internal/mc_interface_internal.template.c does not conform to Custom style guidelines. (lines 22)
Run clang-format on src/core/crypto_tm.c: src/core/crypto_tm.c#L1
File src/core/crypto_tm.c does not conform to Custom style guidelines. (lines 1703, 1708, 1709)
Run clang-format on src/core/crypto_tc.c: src/core/crypto_tc.c#L1
File src/core/crypto_tc.c does not conform to Custom style guidelines. (lines 342, 343, 344, 618, 619, 808, 941, 942, 947, 953, 1754, 1758, 1759)
Run clang-format on src/core/crypto_mc.c: src/core/crypto_mc.c#L1
File src/core/crypto_mc.c does not conform to Custom style guidelines. (lines 273)
Run clang-format on src/core/crypto.c: src/core/crypto.c#L1
File src/core/crypto.c does not conform to Custom style guidelines. (lines 407, 409, 423, 424, 425, 426, 430, 436)
Run clang-format on src/core/crypto_aos.c: src/core/crypto_aos.c#L1
File src/core/crypto_aos.c does not conform to Custom style guidelines. (lines 206, 207, 208, 927, 931, 1009, 1010, 1011, 1012)
Run clang-format on src/core/crypto_key_mgmt.c: src/core/crypto_key_mgmt.c#L1
File src/core/crypto_key_mgmt.c does not conform to Custom style guidelines. (lines 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 219, 338, 402)