for clang-tidy #314
Annotations
1 error and 47 warnings
Analysis
- *<https://github.com/project-tsurugi/limestone/runs/17499208170?check_suite_focus=true|[Clang-Tidy] 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-avoid-c-arrays,hicpp-avoid-c-arrays,modernize-avoid-c-arrays:
src/limestone/logging_helper.h#L88
do not declare C-style arrays, use std::array<> instead
|
cppcoreguidelines-avoid-c-arrays,hicpp-avoid-c-arrays,modernize-avoid-c-arrays:
src/limestone/logging_helper.h#L88
do not declare C-style arrays, use std::array<> 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-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<>'
|
cppcoreguidelines-pro-type-reinterpret-cast:
src/limestone/datastore_snapshot.cpp#L80
do not use reinterpret_cast
|
cppcoreguidelines-pro-type-reinterpret-cast:
src/limestone/datastore_snapshot.cpp#L81
do not use reinterpret_cast
|
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)
|