Skip to content

for clang-tidy

for clang-tidy #315

Triggered via push October 8, 2023 03:55
Status Failure
Total duration 1m 3s
Artifacts

ci-build.yml

on: push
Matrix: Build
Fit to window
Zoom out
Zoom in

Annotations

1 error and 22 warnings
cppcoreguidelines-pro-bounds-array-to-pointer-decay: src/limestone/logging_helper.h#L89
do not implicitly decay an array into a pointer; consider using gsl::array_view or an explicit cast instead
cppcoreguidelines-pro-bounds-array-to-pointer-decay: src/limestone/logging_helper.h#L89
do not implicitly decay an array into a pointer; consider using gsl::array_view or an explicit cast instead
cppcoreguidelines-owning-memory: src/limestone/log_channel.cpp#L47
assigning newly created 'gsl::owner<>' to non-owner 'FILE *' (aka '_IO_FILE *')
cppcoreguidelines-owning-memory: src/limestone/log_channel.cpp#L72
calling legacy resource function without passing a 'gsl::owner<>'
readability-function-cognitive-complexity: src/limestone/datastore_snapshot.cpp#L95
function 'create_snapshot' has cognitive complexity of 41 (threshold 25)
readability-container-data-pointer: src/limestone/datastore_snapshot.cpp#L132
'data' should be used for accessing the data pointer instead of taking the address of the 0-th element
readability-container-data-pointer: src/limestone/datastore_snapshot.cpp#L132
'data' should be used for accessing the data pointer instead of taking the address of the 0-th element
cppcoreguidelines-owning-memory: src/limestone/datastore_snapshot.cpp#L217
initializing non-owner 'FILE *' (aka '_IO_FILE *') with a newly created 'gsl::owner<>'
cppcoreguidelines-owning-memory: src/limestone/datastore_snapshot.cpp#L267
calling legacy resource function without passing a 'gsl::owner<>'
cppcoreguidelines-owning-memory: src/limestone/sortdb_wrapper.h#L98
deleting a pointer through a type that is not marked 'gsl::owner<>'; consider using a smart pointer instead
cppcoreguidelines-owning-memory: src/limestone/datastore.cpp#L58
initializing non-owner 'FILE *' (aka '_IO_FILE *') with a newly created 'gsl::owner<>'
cppcoreguidelines-owning-memory: src/limestone/datastore.cpp#L63
calling legacy resource function without passing a 'gsl::owner<>'
readability-function-cognitive-complexity: src/limestone/datastore.cpp#L121
function 'update_min_epoch_id' has cognitive complexity of 32 (threshold 25)
cppcoreguidelines-owning-memory: src/limestone/datastore.cpp#L149
initializing non-owner 'FILE *' (aka '_IO_FILE *') with a newly created 'gsl::owner<>'
cppcoreguidelines-owning-memory: src/limestone/datastore.cpp#L163
calling legacy resource function without passing a 'gsl::owner<>'
readability-function-cognitive-complexity: src/limestone/datastore.cpp#L216
function 'begin_backup' has cognitive complexity of 28 (threshold 25)