Skip to content

for clang-tidy

for clang-tidy #319

Triggered via push October 8, 2023 05:10
Status Failure
Total duration 1m 1s
Artifacts

ci-build.yml

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

Annotations

1 error and 24 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 *')
cert-err33-c: src/limestone/log_channel.cpp#L52
the value returned by this function should be used
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<>'
cert-err33-c: src/limestone/datastore_snapshot.cpp#L222
the value returned by this function should be used
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)