Skip to content

[nasa/cryptolib#299] Remove custom format file declaration #2

[nasa/cryptolib#299] Remove custom format file declaration

[nasa/cryptolib#299] Remove custom format file declaration #2

Triggered via push September 16, 2024 12:52
Status Failure
Total duration 43s
Artifacts

cpp-linter.yml

on: push
cpp-linter
34s
cpp-linter
Fit to window
Zoom out
Zoom in

Annotations

11 errors, 10 warnings, and 10 notices
cpp-linter
Process completed with exit code 1.
test/include/utest.h:228:9 [bugprone-reserved-identifier]: test/include/utest.h#L228
declaration uses identifier '__STDC_FORMAT_MACROS', which is a reserved identifier
test/include/utest.h:250:36 [bugprone-macro-parentheses]: test/include/utest.h#L250
macro argument should be enclosed in parentheses
test/include/utest.h:251:40 [bugprone-macro-parentheses]: test/include/utest.h#L251
macro argument should be enclosed in parentheses
test/include/utest.h:334:35 [cppcoreguidelines-avoid-non-const-global-variables]: test/include/utest.h#L334
variable 'utest_state' is non-const and globally accessible, consider making it const
test/include/utest.h:986:5 [readability-function-cognitive-complexity]: test/include/utest.h#L986
function 'utest_main' has cognitive complexity of 40 (threshold 25)
test/include/utest.h:1093:7 [clang-analyzer-unix.Malloc]: test/include/utest.h#L1093
Potential leak of memory pointed to by 'failed_testcases'
support/standalone/standalone.h:81:28 [bugprone-macro-parentheses]: support/standalone/standalone.h#L81
macro replacement list should be enclosed in parentheses
Run clang-format on test/include/process_security.h: test/include/process_security.h#L1
File test/include/process_security.h does not conform to LLVM style guidelines. (lines 4, 5, 6, 7, 9, 10, 11, 12, 23, 35)
Run clang-format on test/include/utest.h: test/include/utest.h#L1
File test/include/utest.h does not conform to LLVM style guidelines. (lines 76, 92, 93, 102, 109, 110, 111, 134, 187, 188, 268, 277, 278, 297, 312, 324, 422, 423, 802, 804, 807, 844, 846, 849, 886, 888, 891, 905, 906, 907, 909, 910, 911, 972, 985, 986, 989, 991, 997, 1038, 1048, 1088, 1102, 1122, 1125, 1126, 1152, 1156)
Run clang-format on test/include/ut_tm_process.h: test/include/ut_tm_process.h#L1
File test/include/ut_tm_process.h does not conform to LLVM style guidelines. (lines 4, 5, 6, 7, 9, 10, 11, 12, 23, 35)
Run clang-format on test/include/ut_tc_apply.h: test/include/ut_tc_apply.h#L1
File test/include/ut_tc_apply.h does not conform to LLVM style guidelines. (lines 4, 5, 6, 7, 9, 10, 11, 12, 23, 35)
Run clang-format on test/include/ut_sa_save.h: test/include/ut_sa_save.h#L1
File test/include/ut_sa_save.h does not conform to LLVM style guidelines. (lines 4, 5, 6, 7, 9, 10, 11, 12, 23, 35)
Run clang-format on test/include/ut_tm_apply.h: test/include/ut_tm_apply.h#L1
File test/include/ut_tm_apply.h does not conform to LLVM style guidelines. (lines 4, 5, 6, 7, 9, 10, 11, 12, 23, 35)
Run clang-format on test/include/shared_util.h: test/include/shared_util.h#L1
File test/include/shared_util.h does not conform to LLVM style guidelines. (lines 4, 5, 6, 7, 9, 10, 11, 12, 23, 34, 36, 38, 39, 41, 42, 48)
Run clang-format on test/include/ut_tc_process.h: test/include/ut_tc_process.h#L1
File test/include/ut_tc_process.h does not conform to LLVM style guidelines. (lines 4, 5, 6, 7, 9, 10, 11, 12, 23, 33, 36)
Run clang-format on test/include/ut_aes_gcm_siv.h: test/include/ut_aes_gcm_siv.h#L1
File test/include/ut_aes_gcm_siv.h does not conform to LLVM style guidelines. (lines 5, 9, 18)
Run clang-format on test/include/apply_security.h: test/include/apply_security.h#L1
File test/include/apply_security.h does not conform to LLVM style guidelines. (lines 4, 5, 6, 7, 9, 10, 11, 12, 23, 35)