Skip to content

Add more const (#49) #112

Add more const (#49)

Add more const (#49) #112

Triggered via push July 25, 2024 21:02
Status Failure
Total duration 4m 25s
Artifacts

ci.yml

on: push
Formatting
9s
Formatting
Save-PR-Number
0s
Save-PR-Number
Lint-clang-tidy
55s
Lint-clang-tidy
Lint-codeql
4m 5s
Lint-codeql
Lint-codespell
6s
Lint-codespell
Matrix: CPU
Fit to window
Zoom out
Zoom in

Annotations

1 error and 12 warnings
Lint-clang-tidy
Process completed with exit code 87.
Lint-clang-tidy: src/ADT.C#L114
result of multiplication in type 'int' is used as a pointer offset after an implicit widening conversion to type 'ptrdiff_t' [bugprone-implicit-widening-of-multiplication-result]
Lint-clang-tidy: src/CartBlock.C#L114
result of multiplication in type 'int' is used as a pointer offset after an implicit widening conversion to type 'ptrdiff_t' [bugprone-implicit-widening-of-multiplication-result]
Lint-clang-tidy: src/CartBlock.C#L171
result of multiplication in type 'int' is used as a pointer offset after an implicit widening conversion to type 'ptrdiff_t' [bugprone-implicit-widening-of-multiplication-result]
Lint-clang-tidy: src/CartBlock.C#L171
result of multiplication in type 'int' is used as a pointer offset after an implicit widening conversion to type 'ptrdiff_t' [bugprone-implicit-widening-of-multiplication-result]
Lint-clang-tidy: src/CartBlock.C#L227
narrowing conversion from 'double' to 'int' [bugprone-narrowing-conversions]
Lint-clang-tidy: src/CartBlock.C#L235
boolean expression can be simplified by DeMorgan's theorem [readability-simplify-boolean-expr]
Lint-clang-tidy: src/CartBlock.C#L260
performing an implicit widening conversion to type 'unsigned long' of a multiplication performed in type 'int' [bugprone-implicit-widening-of-multiplication-result]
Lint-clang-tidy: src/CartBlock.C#L262
performing an implicit widening conversion to type 'unsigned long' of a multiplication performed in type 'int' [bugprone-implicit-widening-of-multiplication-result]
Lint-clang-tidy: src/CartBlock.C#L314
boolean expression can be simplified by DeMorgan's theorem [readability-simplify-boolean-expr]
Lint-clang-tidy: src/CartBlock.C#L466
an assignment within an 'if' condition is bug-prone [bugprone-assignment-in-if-condition]
Lint-codeql
The following actions uses Node.js version which is deprecated and will be forced to run on node20: github/codeql-action/init@v2, github/codeql-action/analyze@v2, github/codeql-action/upload-sarif@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Lint-codeql
CodeQL Action v2 will be deprecated on December 5th, 2024. Please update all occurrences of the CodeQL Action in your workflow files to v3. For more information, see https://github.blog/changelog/2024-01-12-code-scanning-deprecation-of-codeql-action-v2/