Skip to content

🧹 tui: redundant header #136

🧹 tui: redundant header

🧹 tui: redundant header #136

Triggered via push July 5, 2024 22:03
Status Success
Total duration 1m 31s
Artifacts

checks.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

10 errors, 2 warnings, and 1 notice
/src/tui.cpp:35:1 [google-build-using-namespace: src/tui.cpp#L35
do not use namespace using-directives; use using-declarations instead
/src/tui.cpp:64:6 [modernize-use-trailing-return-type: src/tui.cpp#L64
use a trailing return type for this function
/src/tui.cpp:102:6 [bugprone-exception-escape: src/tui.cpp#L102
an exception may be thrown in function 'btrfs_subvolumes' which should not throw exceptions
/src/tui.cpp:130:6 [bugprone-exception-escape: src/tui.cpp#L130
an exception may be thrown in function 'generate_fstab' which should not throw exceptions
/src/tui.cpp:188:31 [cppcoreguidelines-avoid-magic-numbers: src/tui.cpp#L188
95 is a magic number; consider replacing it with a named constant
/src/tui.cpp:195:69 [cppcoreguidelines-avoid-magic-numbers: src/tui.cpp#L195
10 is a magic number; consider replacing it with a named constant
/src/tui.cpp:195:101 [cppcoreguidelines-avoid-magic-numbers: src/tui.cpp#L195
40 is a magic number; consider replacing it with a named constant
/src/tui.cpp:211:27 [cppcoreguidelines-avoid-magic-numbers: src/tui.cpp#L211
86 is a magic number; consider replacing it with a named constant
/src/tui.cpp:222:68 [cppcoreguidelines-avoid-magic-numbers: src/tui.cpp#L222
10 is a magic number; consider replacing it with a named constant
/src/tui.cpp:222:100 [cppcoreguidelines-avoid-magic-numbers: src/tui.cpp#L222
40 is a magic number; consider replacing it with a named constant
Check C++ style
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/checkout@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
cpp-linter
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/checkout@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Run clang-format on src/tui.cpp: src/tui.cpp#L1
File src/tui.cpp does not conform to Custom style guidelines. (lines 987, 988)