Skip to content

Support for Sigil II (#1129) #589

Support for Sigil II (#1129)

Support for Sigil II (#1129) #589

Triggered via push January 2, 2024 16:08
Status Success
Total duration 1m 51s
Artifacts

cpp-linter.yml

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

Annotations

10 warnings and 10 notices
src/doom/d_pwad.c:36:16 [readability-function-cognitive-complexity]: src/doom/d_pwad.c#L36
function 'LoadSigilWad' has cognitive complexity of 27 (threshold 25)
src/doom/d_pwad.c:41:8 [cppcoreguidelines-init-variables]: src/doom/d_pwad.c#L41
variable 'autoload_dir' is not initialized
src/doom/d_pwad.c:179:5 [readability-isolate-declaration]: src/doom/d_pwad.c#L179
multiple declarations in a single statement reduces readability
src/doom/d_pwad.c:179:9 [readability-identifier-length]: src/doom/d_pwad.c#L179
variable name 'i' is too short, expected at least 3 characters
src/doom/d_pwad.c:179:12 [readability-identifier-length]: src/doom/d_pwad.c#L179
variable name 'j' is too short, expected at least 3 characters
src/doom/d_pwad.c:180:17 [cppcoreguidelines-init-variables]: src/doom/d_pwad.c#L180
variable 'sigil2_basename' is not initialized
src/doom/d_pwad.c:181:11 [cppcoreguidelines-init-variables]: src/doom/d_pwad.c#L181
variable 'autoload_dir' is not initialized
src/doom/d_pwad.c:212:34 [performance-no-int-to-ptr]: src/doom/d_pwad.c#L212
integer to pointer cast pessimizes optimization opportunities
Run clang-format on src/crispy.h: src/crispy.h#L1
File src/crispy.h does not conform to Custom style guidelines. (lines 100, 117)
Run clang-format on src/doom/d_englsh.h: src/doom/d_englsh.h#L1
File src/doom/d_englsh.h does not conform to Custom style guidelines. (lines 210, 211, 212, 213, 214, 215, 216, 217, 218, 524, 525, 526, 527, 528, 529, 530, 531)
Run clang-format on src/doom/d_main.c: src/doom/d_main.c#L1
File src/doom/d_main.c does not conform to Custom style guidelines. (lines 1996)
Run clang-format on src/doom/d_pwad.c: src/doom/d_pwad.c#L1
File src/doom/d_pwad.c does not conform to Custom style guidelines. (lines 36, 41, 74, 81, 84, 86, 89, 94, 113, 177, 188, 191, 192, 193, 194, 196, 197, 198, 199, 200, 201, 202, 212, 228, 260, 281)
Run clang-format on src/doom/deh_bexpars.c: src/doom/deh_bexpars.c#L1
File src/doom/deh_bexpars.c does not conform to Custom style guidelines. (lines 46)
Run clang-format on src/doom/f_finale.c: src/doom/f_finale.c#L1
File src/doom/f_finale.c does not conform to Custom style guidelines. (lines 79)
Run clang-format on src/doom/g_game.c: src/doom/g_game.c#L1
File src/doom/g_game.c does not conform to Custom style guidelines. (lines 1737, 1747, 1748, 2017, 2079, 2080, 2593, 2594, 2689)
Run clang-format on src/doom/hu_stuff.c: src/doom/hu_stuff.c#L1
File src/doom/hu_stuff.c does not conform to Custom style guidelines. (lines 178, 179, 180, 181, 182, 183, 184, 185, 186, 187)
Run clang-format on src/doom/m_menu.c: src/doom/m_menu.c#L1
File src/doom/m_menu.c does not conform to Custom style guidelines. (lines 331, 335, 337, 338, 339, 340, 341, 2173, 2178)
Run clang-format on src/doom/s_sound.c: src/doom/s_sound.c#L1
File src/doom/s_sound.c does not conform to Custom style guidelines. (lines 427)