Skip to content

332 pack structures if not multiple of 32 bits #43

332 pack structures if not multiple of 32 bits

332 pack structures if not multiple of 32 bits #43

Triggered via pull request October 29, 2024 21:01
Status Success
Total duration 57s
Artifacts

cpp-linter.yml

on: pull_request
cpp-linter
31s
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)
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 224, 339, 340, 575, 576)
Run clang-format on test/performance/pt_auth_as.c: test/performance/pt_auth_as.c#L1
File test/performance/pt_auth_as.c does not conform to Custom style guidelines. (lines 126, 182, 346, 410, 600, 674, 866, 922, 1086, 1150, 1340, 1414)
Run clang-format on test/performance/pt_auth_enc_as.c: test/performance/pt_auth_enc_as.c#L1
File test/performance/pt_auth_enc_as.c does not conform to Custom style guidelines. (lines 115, 119, 169, 214, 301, 312, 362, 414, 469, 518, 538, 588, 654, 720, 779, 783, 833, 878, 965, 976, 1026, 1078, 1133, 1182, 1202, 1252, 1318, 1385)
Run clang-format on test/performance/pt_gcry_base.c: test/performance/pt_gcry_base.c#L1
File test/performance/pt_gcry_base.c does not conform to Custom style guidelines. (lines 64, 80, 81, 101)
Run clang-format on test/unit/ut_aes_gcm_siv.c: test/unit/ut_aes_gcm_siv.c#L1
File test/unit/ut_aes_gcm_siv.c does not conform to Custom style guidelines. (lines 90, 91, 92, 93, 94, 191, 192, 193, 194, 195, 293, 294, 295, 296, 297, 394, 395, 396, 397, 398)
Run clang-format on test/unit/ut_mysql_tls_connection.c: test/unit/ut_mysql_tls_connection.c#L1
File test/unit/ut_mysql_tls_connection.c does not conform to Custom style guidelines. (lines 84, 85, 86, 87, 89, 90, 91, 92, 94)
Run clang-format on test/unit/ut_aos_process.c: test/unit/ut_aos_process.c#L1
File test/unit/ut_aos_process.c does not conform to Custom style guidelines. (lines 510, 664, 812, 963, 1112, 1261, 1593, 1810, 1837, 1838, 1839, 1840)
Run clang-format on test/unit/ut_mysql_m_tls_connection.c: test/unit/ut_mysql_m_tls_connection.c#L1
File test/unit/ut_mysql_m_tls_connection.c does not conform to Custom style guidelines. (lines 77, 78, 79, 80, 82, 83, 84, 85, 87)
Run clang-format on test/unit/ut_tc_apply.c: test/unit/ut_tc_apply.c#L1
File test/unit/ut_tc_apply.c does not conform to Custom style guidelines. (lines 130, 131, 170, 171, 210, 211, 693, 731, 781, 782, 810, 861, 862, 961, 1046, 1145, 1230, 1318)
Run clang-format on test/unit/ut_crypto.c: test/unit/ut_crypto.c#L1
File test/unit/ut_crypto.c does not conform to Custom style guidelines. (lines 34, 116, 134, 135, 253, 273, 362, 367, 369, 376)