Skip to content

[Bugfix]Base: fix implementation of isFile() so it is safe to use #362

[Bugfix]Base: fix implementation of isFile() so it is safe to use

[Bugfix]Base: fix implementation of isFile() so it is safe to use #362

Triggered via push July 23, 2023 14:57
Status Success
Total duration 2h 46m 37s
Artifacts 5

CI_master.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

10 warnings
Lint / Lint: src/Base/FileInfo.cpp#L96
declaration uses identifier '_FileName', which is a reserved identifier [bugprone-reserved-identifier]
Lint / Lint: src/Base/FileInfo.cpp#L101
declaration uses identifier '_FileName', which is a reserved identifier [bugprone-reserved-identifier]
Lint / Lint: src/Base/FileInfo.cpp#L110
the 'empty' method should be used to check for emptiness instead of comparing to an empty object [readability-container-size-empty]
Lint / Lint
note: method 'basic_string<char>'::empty() defined here
Lint / Lint: src/Base/FileInfo.cpp#L120
function is not thread safe [concurrency-mt-unsafe]
Lint / Lint: src/Base/FileInfo.cpp#L121
do not use pointer arithmetic [cppcoreguidelines-pro-bounds-pointer-arithmetic]
Lint / Lint: src/Base/FileInfo.cpp#L124
statement should be inside braces [readability-braces-around-statements]
Lint / Lint: src/Base/FileInfo.cpp#L126
statement should be inside braces [readability-braces-around-statements]
Lint / Lint: src/Base/FileInfo.cpp#L138
2 adjacent parameters of 'getTempFileName' of similar type ('const char *') are easily swapped by mistake [bugprone-easily-swappable-parameters]
Lint / Lint
note: the first parameter in the range is 'FileName'

Artifacts

Produced during runtime
Name Size
Lint-5637108317-Logs Expired
41.7 KB
Prepare-5637108317-Logs Expired
14.2 KB
Ubuntu_20-04-5637108317-Logs Expired
1.33 MB
Ubuntu_22-04-5637108317-Logs Expired
1.32 MB
Windows-5637108317-Logs Expired
13.7 MB