Repository Analysis

gabime/spdlog

Fast C++ logging library.

9.0 Low AI signal View on GitHub
9.0
Adjusted Score
9.0
Raw Score
100%
Time Factor
2026-05-29
Last Push
28,831
Stars
C++
Language
33,902
Lines of Code
162
Files
215
Pattern Hits
2026-05-31
Scan Date

Score History

Severity Breakdown

CRITICAL 0HIGH 0MEDIUM 43LOW 172

Pattern Findings

215 matches across 6 categories. Click a row to expand file-level details.

Over-Commented Block164 hits · 164 pts
SeverityFileLineSnippet
LOWbench/async_bench.cpp1//
LOWbench/bench.cpp1//
LOWbench/latency.cpp1//
LOWexample/example.cpp141 [](const spdlog::details::log_msg & /*msg*/) {
LOWexample/example.cpp161void async_example() {
LOWexample/example.cpp181// {:s} - don't separate each byte with space.
LOWinclude/spdlog/pattern_formatter-inl.h1// Copyright(c) 2015-present, Gabi Melman & spdlog contributors.
LOWinclude/spdlog/pattern_formatter-inl.h21#include <algorithm>
LOWinclude/spdlog/version.h1// Copyright(c) 2015-present, Gabi Melman & spdlog contributors.
LOWinclude/spdlog/spdlog.h1// Copyright(c) 2015-present, Gabi Melman & spdlog contributors.
LOWinclude/spdlog/spdlog.h41//
LOWinclude/spdlog/spdlog.h121// The default logger object can be accessed using the spdlog::default_logger():
LOWinclude/spdlog/spdlog.h281// define SPDLOG_ACTIVE_LEVEL to one of those (before including spdlog.h):
LOWinclude/spdlog/spdlog.h301 SPDLOG_LOGGER_CALL(logger, spdlog::level::trace, __VA_ARGS__)
LOWinclude/spdlog/spdlog.h321#define SPDLOG_LOGGER_INFO(logger, ...) (void)0
LOWinclude/spdlog/spdlog.h341#if SPDLOG_ACTIVE_LEVEL <= SPDLOG_LEVEL_CRITICAL
LOWinclude/spdlog/logger-inl.h1// Copyright(c) 2015-present, Gabi Melman & spdlog contributors.
LOWinclude/spdlog/common-inl.h1// Copyright(c) 2015-present, Gabi Melman & spdlog contributors.
LOWinclude/spdlog/async_logger.h1// Copyright(c) 2015-present, Gabi Melman & spdlog contributors.
LOWinclude/spdlog/tweakme.h1// Copyright(c) 2015-present, Gabi Melman & spdlog contributors.
LOWinclude/spdlog/tweakme.h21
LOWinclude/spdlog/tweakme.h41//
LOWinclude/spdlog/tweakme.h61
LOWinclude/spdlog/tweakme.h81// #define SPDLOG_FMT_EXTERNAL
LOWinclude/spdlog/tweakme.h101
LOWinclude/spdlog/tweakme.h121///////////////////////////////////////////////////////////////////////////////
LOWinclude/spdlog/tweakme.h141// Defaults to __FUNCTION__ (should work on all compilers) if not defined.
LOWinclude/spdlog/async.h1// Copyright(c) 2015-present, Gabi Melman & spdlog contributors.
LOWinclude/spdlog/common.h1// Copyright(c) 2015-present, Gabi Melman & spdlog contributors.
LOWinclude/spdlog/common.h21#if __cpp_lib_format >= 202207L
LOWinclude/spdlog/common.h41#define SPDLOG_API
LOWinclude/spdlog/common.h61#define SPDLOG_FMT_STRING(format_string) format_string
LOWinclude/spdlog/common.h81#if FMT_USE_CONSTEXPR
LOWinclude/spdlog/common.h101#endif
LOWinclude/spdlog/common.h221 : std::integral_constant<bool,
LOWinclude/spdlog/stopwatch.h1// Copyright(c) 2015-present, Gabi Melman & spdlog contributors.
LOWinclude/spdlog/pattern_formatter.h1// Copyright(c) 2015-present, Gabi Melman & spdlog contributors.
LOWinclude/spdlog/logger.h1// Copyright(c) 2015-present, Gabi Melman & spdlog contributors.
LOWinclude/spdlog/mdc.h1// Copyright(c) 2015-present, Gabi Melman & spdlog contributors.
LOWinclude/spdlog/fmt/ranges.h1//
LOWinclude/spdlog/fmt/ranges.h21#include <fmt/ranges.h>
LOWinclude/spdlog/fmt/xchar.h1//
LOWinclude/spdlog/fmt/xchar.h21#include <fmt/xchar.h>
LOWinclude/spdlog/fmt/chrono.h1//
LOWinclude/spdlog/fmt/chrono.h21#include <fmt/chrono.h>
LOWinclude/spdlog/fmt/bin_to_hex.h1//
LOWinclude/spdlog/fmt/bin_to_hex.h21//
LOWinclude/spdlog/fmt/fmt.h1//
LOWinclude/spdlog/fmt/fmt.h21#define FMT_USE_WINDOWS_H 0
LOWinclude/spdlog/fmt/compile.h1//
LOWinclude/spdlog/fmt/compile.h21#include <fmt/compile.h>
LOWinclude/spdlog/fmt/ostr.h1//
LOWinclude/spdlog/fmt/ostr.h21#include <fmt/ostream.h>
LOWinclude/spdlog/fmt/std.h1//
LOWinclude/spdlog/fmt/std.h21#else
LOWinclude/spdlog/fmt/bundled/ostream.h1// Formatting library for C++ - std::ostream support
LOWinclude/spdlog/fmt/bundled/ostream.h21#endif
LOWinclude/spdlog/fmt/bundled/format-inl.h1// Formatting library for C++ - implementation
LOWinclude/spdlog/fmt/bundled/format-inl.h21#endif
LOWinclude/spdlog/fmt/bundled/format-inl.h221
104 more matches not shown…
Decorative Section Separators42 hits · 129 pts
SeverityFileLineSnippet
MEDIUMCMakeLists.txt18# ---------------------------------------------------------------------------------------
MEDIUMCMakeLists.txt20# ---------------------------------------------------------------------------------------
MEDIUMCMakeLists.txt29# ---------------------------------------------------------------------------------------
MEDIUMCMakeLists.txt31# ---------------------------------------------------------------------------------------
MEDIUMCMakeLists.txt218# ---------------------------------------------------------------------------------------
MEDIUMCMakeLists.txt220# ---------------------------------------------------------------------------------------
MEDIUMCMakeLists.txt229# ---------------------------------------------------------------------------------------
MEDIUMCMakeLists.txt231# ---------------------------------------------------------------------------------------
MEDIUMCMakeLists.txt267# ---------------------------------------------------------------------------------------
MEDIUMCMakeLists.txt269# ---------------------------------------------------------------------------------------
MEDIUMCMakeLists.txt275# ---------------------------------------------------------------------------------------
MEDIUMCMakeLists.txt277# ---------------------------------------------------------------------------------------
MEDIUMCMakeLists.txt5# ---------------------------------------------------------------------------------------
MEDIUMCMakeLists.txt7# ---------------------------------------------------------------------------------------
MEDIUMCMakeLists.txt48# ---------------------------------------------------------------------------------------
MEDIUMCMakeLists.txt50# ---------------------------------------------------------------------------------------
MEDIUMCMakeLists.txt162# ---------------------------------------------------------------------------------------
MEDIUMCMakeLists.txt164# ---------------------------------------------------------------------------------------
MEDIUMCMakeLists.txt251# ---------------------------------------------------------------------------------------
MEDIUMCMakeLists.txt253# ---------------------------------------------------------------------------------------
MEDIUMCMakeLists.txt313# ---------------------------------------------------------------------------------------
MEDIUMCMakeLists.txt315# ---------------------------------------------------------------------------------------
MEDIUMCMakeLists.txt327# ---------------------------------------------------------------------------------------
MEDIUMCMakeLists.txt329# ---------------------------------------------------------------------------------------
MEDIUMCMakeLists.txt350# ---------------------------------------------------------------------------------------
MEDIUMCMakeLists.txt352# ---------------------------------------------------------------------------------------
MEDIUMCMakeLists.txt363 # ---------------------------------------------------------------------------------------
MEDIUMCMakeLists.txt365 # ---------------------------------------------------------------------------------------
MEDIUMCMakeLists.txt379 # ---------------------------------------------------------------------------------------
MEDIUMCMakeLists.txt381 # ---------------------------------------------------------------------------------------
MEDIUMCMakeLists.txt398 # ---------------------------------------------------------------------------------------
MEDIUMCMakeLists.txt400 # ---------------------------------------------------------------------------------------
MEDIUMCMakeLists.txt411 # ---------------------------------------------------------------------------------------
MEDIUMCMakeLists.txt413 # ---------------------------------------------------------------------------------------
MEDIUMexample/CMakeLists.txt11# ---------------------------------------------------------------------------------------
MEDIUMexample/CMakeLists.txt13# ---------------------------------------------------------------------------------------
MEDIUMexample/CMakeLists.txt17# ---------------------------------------------------------------------------------------
MEDIUMexample/CMakeLists.txt19# ---------------------------------------------------------------------------------------
MEDIUM.github/workflows/linux.yml9 # -----------------------------------------------------------------------
MEDIUM.github/workflows/linux.yml11 # -----------------------------------------------------------------------
MEDIUM.github/workflows/linux.yml64 # -----------------------------------------------------------------------
MEDIUM.github/workflows/linux.yml66 # -----------------------------------------------------------------------
Verbosity Indicators3 hits · 4 pts
SeverityFileLineSnippet
LOWinclude/spdlog/fmt/bundled/format-inl.h1259 // Step 1: integer promotion & Schubfach multiplier calculation.
LOWinclude/spdlog/fmt/bundled/format-inl.h1314 // Step 2: Try larger divisor; remove trailing zeros if necessary.
LOWinclude/spdlog/fmt/bundled/format-inl.h1346 // Step 3: Find the significand with the smaller divisor.
Fake / Example Data4 hits · 4 pts
SeverityFileLineSnippet
LOWbench/bench.cpp223 const char *msg = "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vestibulum pharetra
LOWbench/bench.cpp223 const char *msg = "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vestibulum pharetra
LOWbench/latency.cpp21 "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vestibulum pharetra metus cursus "
LOWbench/latency.cpp21 "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vestibulum pharetra metus cursus "
AI Slop Vocabulary1 hit · 3 pts
SeverityFileLineSnippet
MEDIUMinclude/spdlog/fmt/bundled/format.h3359 // Compilers are not aware of how to leverage the maximum value of
Example Usage Blocks1 hit · 2 pts
SeverityFileLineSnippet
LOWinclude/spdlog/mdc.h19// Usage example: