Skip to content

375 Extended Procedure TLV Checks #154

375 Extended Procedure TLV Checks

375 Extended Procedure TLV Checks #154

Triggered via pull request March 24, 2025 16:08
Status Success
Total duration 46s
Artifacts

cpp-linter.yml

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

Annotations

10 errors, 10 warnings, and 3 notices
support/standalone/standalone.c:113:51 [readability-identifier-length]: support/standalone/standalone.c#L113
parameter name 'cc' is too short, expected at least 3 characters
support/standalone/standalone.c:113:43 [bugprone-easily-swappable-parameters]: support/standalone/standalone.c#L113
2 adjacent parameters of 'crypto_standalone_process_command' of similar type ('int32_t') are easily swapped by mistake
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: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: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: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: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: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: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
Run clang-format on test/unit/ut_aos_apply.c: test/unit/ut_aos_apply.c#L0
File test/unit/ut_aos_apply.c does not conform to Custom style guidelines. (lines 547)
Run clang-format on src/core/crypto_key_mgmt.c: src/core/crypto_key_mgmt.c#L0
File src/core/crypto_key_mgmt.c does not conform to Custom style guidelines. (lines 51)
Run clang-format on src/core/crypto.c: src/core/crypto.c#L0
File src/core/crypto.c does not conform to Custom style guidelines. (lines 842, 843)