Skip to content

🧹 gucc: refactor file creation for overwrite #123

🧹 gucc: refactor file creation for overwrite

🧹 gucc: refactor file creation for overwrite #123

Triggered via push July 1, 2024 12:19
Status Success
Total duration 2m 21s
Artifacts

checks.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 2 warnings
/gucc/src/crypttab.cpp:105:66 [bugprone-easily-swappable-parameters: gucc/src/crypttab.cpp#L105
2 adjacent parameters of 'generate_crypttab' of similar type ('std::string_view') are easily swapped by mistake
/gucc/src/file_utils.cpp:15:5 [cppcoreguidelines-owning-memory: gucc/src/file_utils.cpp#L15
initializing non-owner 'FILE *' (aka '_IO_FILE *') with a newly created 'gsl::owner<>'
/gucc/src/file_utils.cpp:21:22 [readability-uppercase-literal-suffix: gucc/src/file_utils.cpp#L21
integer literal has suffix 'u', which is not uppercase
/gucc/src/file_utils.cpp:23:22 [readability-uppercase-literal-suffix: gucc/src/file_utils.cpp#L23
integer literal has suffix 'u', which is not uppercase
/gucc/src/file_utils.cpp:33:5 [cppcoreguidelines-owning-memory: gucc/src/file_utils.cpp#L33
calling legacy resource function without passing a 'gsl::owner<>'
/gucc/src/file_utils.cpp:38:20 [bugprone-easily-swappable-parameters: gucc/src/file_utils.cpp#L38
2 adjacent parameters of 'write_to_file' of similar type ('std::string_view') are easily swapped by mistake
/gucc/src/file_utils.cpp:48:32 [bugprone-easily-swappable-parameters: gucc/src/file_utils.cpp#L48
2 adjacent parameters of 'create_file_for_overwrite' of similar type ('std::string_view') are easily swapped by mistake
/gucc/src/fstab.cpp:122:26 [performance-move-const-arg: gucc/src/fstab.cpp#L122
passing result of std::move() as a const reference argument; no move will actually happen
Check C++ style
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/.
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/.