Skip to content

Bug #835 false unsupported dlt warnings on 802.3 (Ethernet I) and LLC #116

Bug #835 false unsupported dlt warnings on 802.3 (Ethernet I) and LLC

Bug #835 false unsupported dlt warnings on 802.3 (Ethernet I) and LLC #116

Triggered via pull request June 9, 2024 22:10
Status Success
Total duration 48s
Artifacts

c-linter.yml

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

Annotations

3 errors and 10 warnings
src/common/flows.c:164:13 [bugprone-easily-swappable-parameters]: src/common/flows.c#L164
2 adjacent parameters of 'flow_decode' of similar type ('const int') are easily swapped by mistake
src/common/flows.c:210:16 [cppcoreguidelines-init-variables]: src/common/flows.c#L210
variable 'required_len' is not initialized
src/common/flows.c:233:16 [cppcoreguidelines-init-variables]: src/common/flows.c#L233
variable 'required_len' is not initialized
src/common/flows.c:269:16 [cppcoreguidelines-init-variables]: src/common/flows.c#L269
variable 'required_len' is not initialized
src/common/flows.c:283:16 [cppcoreguidelines-init-variables]: src/common/flows.c#L283
variable 'required_len' is not initialized
src/common/flows.c:298:16 [cppcoreguidelines-init-variables]: src/common/flows.c#L298
variable 'required_len' is not initialized
src/common/flows.h:41:31 [readability-avoid-const-params-in-decls]: src/common/flows.h#L41
parameter 'expiry' is const-qualified in the function declaration; const-qualification of parameters only has an effect in function definitions
src/common/get.c:263:1 [readability-function-cognitive-complexity]: src/common/get.c#L263
function 'get_l2len_protocol' has cognitive complexity of 37 (threshold 25)
src/send_packets.c:341:1 [readability-function-cognitive-complexity]: src/send_packets.c#L341
function 'send_packets' has cognitive complexity of 146 (threshold 25)
cpp-linter
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.