Skip to content

4.5.0 beta3

4.5.0 beta3 #127

Triggered via pull request June 29, 2024 18:27
Status Success
Total duration 46s
Artifacts

c-linter.yml

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

Annotations

10 errors and 10 warnings
src/common.h:30:10 [clang-diagnostic-error]: src/common.h#L30
'common/cache.h' file not found with <angled> include; use "quotes" instead
src/common/err.c:53:5 [cppcoreguidelines-avoid-non-const-global-variables]: src/common/err.c#L53
variable 'print_warnings' is non-const and globally accessible, consider making it const
src/common/err.h:53:12 [cppcoreguidelines-avoid-non-const-global-variables]: src/common/err.h#L53
variable 'print_warnings' is non-const and globally accessible, consider making it const
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)