Skip to content

Ensure LogInspector sets the correct data type for selected NPP logs #2403

Ensure LogInspector sets the correct data type for selected NPP logs

Ensure LogInspector sets the correct data type for selected NPP logs #2403

Triggered via push January 12, 2025 06:57
Status Success
Total duration 53s
Artifacts

cpp-linter.yml

on: push
cpp-linter
43s
cpp-linter
Fit to window
Zoom out
Zoom in

Annotations

1 error and 10 warnings
src/ISLogger.cpp:20:10 [modernize-deprecated-headers]: src/ISLogger.cpp#L20
inclusion of deprecated C++ header 'stdio.h'; consider using 'cstdio' instead
src/ISLogger.cpp:21:10 [modernize-deprecated-headers]: src/ISLogger.cpp#L21
inclusion of deprecated C++ header 'stdlib.h'; consider using 'cstdlib' instead
src/ISLogger.cpp:22:10 [modernize-deprecated-headers]: src/ISLogger.cpp#L22
inclusion of deprecated C++ header 'stddef.h'; consider using 'cstddef' instead
src/ISLogger.cpp:49:9 [cppcoreguidelines-macro-usage]: src/ISLogger.cpp#L49
macro 'LOG_DEBUG_PRINT_READ' used to declare a constant; consider using a 'constexpr' constant
src/ISLogger.cpp:50:9 [cppcoreguidelines-macro-usage]: src/ISLogger.cpp#L50
macro 'STATS_ALL_FILENAME' used to declare a constant; consider using a 'constexpr' constant
src/ISLogger.cpp:74:13 [cppcoreguidelines-avoid-non-const-global-variables]: src/ISLogger.cpp#L74
variable 'myMutex' is non-const and globally accessible, consider making it const
src/ISLogger.cpp:76:9 [cppcoreguidelines-macro-usage]: src/ISLogger.cpp#L76
function-like macro 'LOCK_MUTEX' used; consider a 'constexpr' template function
src/ISLogger.cpp:77:9 [cppcoreguidelines-macro-usage]: src/ISLogger.cpp#L77
function-like macro 'UNLOCK_MUTEX' used; consider a 'constexpr' template function
src/ISLogger.cpp:86:24 [cppcoreguidelines-avoid-non-const-global-variables]: src/ISLogger.cpp#L86
variable 'logTypeStrings' is non-const and globally accessible, consider making it const