Skip to content

for clang-tidy

for clang-tidy #314

Triggered via push October 8, 2023 03:37
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 47 warnings
cert-err33-c: src/limestone/log_entry.h#L99
the value returned by this function should be used
cert-err33-c: src/limestone/log_entry.h#L103
the value returned by this function should be used
cert-err33-c: src/limestone/log_entry.h#L118
the value returned by this function should be used
cert-err33-c: src/limestone/log_entry.h#L119
the value returned by this function should be used
cert-err33-c: src/limestone/log_entry.h#L131
the value returned by this function should be used
cert-err33-c: src/limestone/log_entry.h#L145
the value returned by this function should be used
cert-err33-c: src/limestone/log_entry.h#L146
the value returned by this function should be used
cert-err33-c: src/limestone/log_entry.h#L239
the value returned by this function should be used
cert-err33-c: src/limestone/log_entry.h#L242
the value returned by this function should be used
cert-err33-c: src/limestone/log_entry.h#L243
the value returned by this function should be used
cert-err33-c: src/limestone/log_entry.h#L244
the value returned by this function should be used
cert-err33-c: src/limestone/log_entry.h#L245
the value returned by this function should be used
cert-err33-c: src/limestone/log_entry.h#L255
the value returned by this function should be used
cert-err33-c: src/limestone/log_entry.h#L256
the value returned by this function should be used
cert-err33-c: src/limestone/log_entry.h#L257
the value returned by this function should be used
cert-err33-c: src/limestone/log_entry.h#L258
the value returned by this function should be used
cert-err33-c: src/limestone/log_entry.h#L259
the value returned by this function should be used
cert-err33-c: src/limestone/log_entry.h#L260
the value returned by this function should be used
cert-err33-c: src/limestone/log_entry.h#L261
the value returned by this function should be used
cert-err33-c: src/limestone/log_entry.h#L262
the value returned by this function should be used
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#L48
the value returned by this function should be used
cert-err33-c: src/limestone/log_channel.cpp#L57
the value returned by this function should be used
cert-err33-c: src/limestone/log_channel.cpp#L65
the value returned by this function should be used
cppcoreguidelines-owning-memory: src/limestone/log_channel.cpp#L65
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 40 (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
cert-err33-c: src/limestone/datastore_snapshot.cpp#L267
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<>'
cert-err33-c: src/limestone/datastore.cpp#L63
the value returned by this function should be used
cppcoreguidelines-owning-memory: src/limestone/datastore.cpp#L63
calling legacy resource function without passing a 'gsl::owner<>'
cppcoreguidelines-owning-memory: src/limestone/datastore.cpp#L146
initializing non-owner 'FILE *' (aka '_IO_FILE *') with a newly created 'gsl::owner<>'
cert-err33-c: src/limestone/datastore.cpp#L148
the value returned by this function should be used
cert-err33-c: src/limestone/datastore.cpp#L153
the value returned by this function should be used
cppcoreguidelines-owning-memory: src/limestone/datastore.cpp#L153
calling legacy resource function without passing a 'gsl::owner<>'
readability-function-cognitive-complexity: src/limestone/datastore.cpp#L203
function 'begin_backup' has cognitive complexity of 28 (threshold 25)