Fast C++ logging library.
This report summarizes scanner evidence for gabime/spdlog, a C++ project with 29,677 GitHub stars. SynthScan examined 34,587 lines of code across 166 source files, recording 223 pattern matches distributed across 7 syntactic categories. The legacy adjusted pattern signal is 9.1 (Moderate pattern signal); it is not an authorship estimate.
Use the findings to ask whether maintainers can explain intent, verify dependencies, simplify unnecessary scaffolding, and focus review effort. Risk Payload v1 adds ownership, supply-chain, over-engineering, and review-effort vectors when available. These are prompts for human verification, not probabilities, security findings, or measured maintenance costs.
Use each vector to guide manual verification of the underlying findings.
Can maintainers explain intent, assumptions, and trade-offs? 175 finding(s).
Are imports declared and package/API names verified? 4 finding(s).
Are wrappers, guards, and repeated structures necessary? 44 finding(s).
Which changes need focused human review? 223 finding(s).
This chart tracks the legacy adjusted pattern score across scan runs. Changes can reflect source changes, scan coverage, or detector/scoring versions; they do not measure AI adoption or prove that a team refactored code. Compare runs only when their scoring versions are compatible. The dashed line tracks the raw pattern-hit count.
Groups findings by configured severity weight. Severity is not a confidence estimate, security rating, or proof that a package is missing. Verify imports against the project's manifests and inspect each finding in its local design context.
This horizontal bar chart shows where configured pattern scores accumulate across directories. Treat the bars as locations to inspect, not as evidence of authorship or code quality. Use the file-level findings to decide whether a directory needs a focused ownership, dependency, complexity, or review check.
The scanner identified 223 distinct pattern matches across 7 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a detector match to inspect in context. Expand any category row to inspect the individual file paths, line numbers, code snippets, and the lexical context (CODE, COMMENT, or STRING) in which each match was detected.
Reading the findings table: The Severity column indicates the configured finding weight (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — legacy comment-context matches receive a ×1.5 score weight. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier under the legacy scoring model.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | bench/async_bench.cpp | 1 | // | COMMENT |
| LOW | bench/bench.cpp | 1 | // | COMMENT |
| LOW | bench/latency.cpp | 1 | // | COMMENT |
| LOW | example/example.cpp | 141 | [](const spdlog::details::log_msg & /*msg*/) { | COMMENT |
| LOW | example/example.cpp | 161 | void async_example() { | COMMENT |
| LOW | example/example.cpp | 181 | // {:s} - don't separate each byte with space. | COMMENT |
| LOW | include/spdlog/pattern_formatter-inl.h | 1 | // Copyright(c) 2015-present, Gabi Melman & spdlog contributors. | COMMENT |
| LOW | include/spdlog/pattern_formatter-inl.h | 21 | #include <algorithm> | COMMENT |
| LOW | include/spdlog/version.h | 1 | // Copyright(c) 2015-present, Gabi Melman & spdlog contributors. | COMMENT |
| LOW | include/spdlog/spdlog.h | 1 | // Copyright(c) 2015-present, Gabi Melman & spdlog contributors. | COMMENT |
| LOW | include/spdlog/spdlog.h | 41 | // | COMMENT |
| LOW | include/spdlog/spdlog.h | 121 | // API for using default logger (stdout_color_mt), | COMMENT |
| LOW | include/spdlog/spdlog.h | 281 | // | COMMENT |
| LOW | include/spdlog/spdlog.h | 301 | COMMENT | |
| LOW | include/spdlog/spdlog.h | 321 | #define SPDLOG_LOGGER_INFO(logger, ...) SPDLOG_LOGGER_CALL(logger, SPDLOG_NAMESPACE::level::info, __VA_ARGS__) | COMMENT |
| LOW | include/spdlog/spdlog.h | 341 | #define SPDLOG_ERROR(...) (void)0 | COMMENT |
| LOW | include/spdlog/logger-inl.h | 1 | // Copyright(c) 2015-present, Gabi Melman & spdlog contributors. | COMMENT |
| LOW | include/spdlog/common-inl.h | 1 | // Copyright(c) 2015-present, Gabi Melman & spdlog contributors. | COMMENT |
| LOW | include/spdlog/namespace.h | 1 | // Copyright(c) 2015-present, Gabi Melman & spdlog contributors. | COMMENT |
| LOW | include/spdlog/namespace.h | 21 | // #define SPDLOG_NAMESPACE_END } | COMMENT |
| LOW | include/spdlog/async_logger.h | 1 | // Copyright(c) 2015-present, Gabi Melman & spdlog contributors. | COMMENT |
| LOW | include/spdlog/tweakme.h | 1 | // Copyright(c) 2015-present, Gabi Melman & spdlog contributors. | COMMENT |
| LOW | include/spdlog/tweakme.h | 21 | COMMENT | |
| LOW | include/spdlog/tweakme.h | 41 | // | COMMENT |
| LOW | include/spdlog/tweakme.h | 61 | COMMENT | |
| LOW | include/spdlog/tweakme.h | 81 | // #define SPDLOG_FMT_EXTERNAL | COMMENT |
| LOW | include/spdlog/tweakme.h | 101 | COMMENT | |
| LOW | include/spdlog/tweakme.h | 121 | /////////////////////////////////////////////////////////////////////////////// | COMMENT |
| LOW | include/spdlog/tweakme.h | 141 | // Defaults to __FUNCTION__ (should work on all compilers) if not defined. | COMMENT |
| LOW | include/spdlog/async.h | 1 | // Copyright(c) 2015-present, Gabi Melman & spdlog contributors. | COMMENT |
| LOW | include/spdlog/common.h | 1 | // Copyright(c) 2015-present, Gabi Melman & spdlog contributors. | COMMENT |
| LOW | include/spdlog/common.h | 21 | #if __cpp_lib_format >= 202207L | COMMENT |
| LOW | include/spdlog/common.h | 41 | #define SPDLOG_API | COMMENT |
| LOW | include/spdlog/common.h | 61 | #define SPDLOG_FMT_STRING(format_string) format_string | COMMENT |
| LOW | include/spdlog/common.h | 81 | #if FMT_USE_CONSTEXPR | COMMENT |
| LOW | include/spdlog/common.h | 101 | #endif | COMMENT |
| LOW | include/spdlog/stopwatch.h | 1 | // Copyright(c) 2015-present, Gabi Melman & spdlog contributors. | COMMENT |
| LOW | include/spdlog/pattern_formatter.h | 1 | // Copyright(c) 2015-present, Gabi Melman & spdlog contributors. | COMMENT |
| LOW | include/spdlog/logger.h | 1 | // Copyright(c) 2015-present, Gabi Melman & spdlog contributors. | COMMENT |
| LOW | include/spdlog/mdc.h | 1 | // Copyright(c) 2015-present, Gabi Melman & spdlog contributors. | COMMENT |
| LOW | include/spdlog/fmt/ranges.h | 1 | // | COMMENT |
| LOW | include/spdlog/fmt/ranges.h | 21 | #include <fmt/ranges.h> | COMMENT |
| LOW | include/spdlog/fmt/xchar.h | 1 | // | COMMENT |
| LOW | include/spdlog/fmt/xchar.h | 21 | #include <fmt/xchar.h> | COMMENT |
| LOW | include/spdlog/fmt/chrono.h | 1 | // | COMMENT |
| LOW | include/spdlog/fmt/chrono.h | 21 | #include <fmt/chrono.h> | COMMENT |
| LOW | include/spdlog/fmt/bin_to_hex.h | 1 | // | COMMENT |
| LOW | include/spdlog/fmt/bin_to_hex.h | 21 | // | COMMENT |
| LOW | include/spdlog/fmt/fmt.h | 1 | // | COMMENT |
| LOW | include/spdlog/fmt/fmt.h | 21 | #define FMT_USE_WINDOWS_H 0 | COMMENT |
| LOW | include/spdlog/fmt/compile.h | 1 | // | COMMENT |
| LOW | include/spdlog/fmt/compile.h | 21 | #include <fmt/compile.h> | COMMENT |
| LOW | include/spdlog/fmt/ostr.h | 1 | // | COMMENT |
| LOW | include/spdlog/fmt/ostr.h | 21 | #include <fmt/ostream.h> | COMMENT |
| LOW | include/spdlog/fmt/std.h | 1 | // | COMMENT |
| LOW | include/spdlog/fmt/std.h | 21 | #else | COMMENT |
| LOW | include/spdlog/fmt/bundled/ostream.h | 1 | // Formatting library for C++ - std::ostream support | COMMENT |
| LOW | include/spdlog/fmt/bundled/ostream.h | 21 | #endif | COMMENT |
| LOW | include/spdlog/fmt/bundled/format-inl.h | 1 | // Formatting library for C++ - implementation | COMMENT |
| LOW | include/spdlog/fmt/bundled/format-inl.h | 21 | #endif | COMMENT |
| 107 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM⚡ | CMakeLists.txt | 18 | # --------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | CMakeLists.txt | 20 | # --------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | CMakeLists.txt | 29 | # --------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | CMakeLists.txt | 31 | # --------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | CMakeLists.txt | 290 | # --------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | CMakeLists.txt | 292 | # --------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | CMakeLists.txt | 298 | # --------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | CMakeLists.txt | 300 | # --------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | CMakeLists.txt | 5 | # --------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | CMakeLists.txt | 7 | # --------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | CMakeLists.txt | 48 | # --------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | CMakeLists.txt | 50 | # --------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | CMakeLists.txt | 176 | # --------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | CMakeLists.txt | 178 | # --------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | CMakeLists.txt | 236 | # --------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | CMakeLists.txt | 238 | # --------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | CMakeLists.txt | 252 | # --------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | CMakeLists.txt | 254 | # --------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | CMakeLists.txt | 274 | # --------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | CMakeLists.txt | 276 | # --------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | CMakeLists.txt | 334 | # --------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | CMakeLists.txt | 336 | # --------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | CMakeLists.txt | 348 | # --------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | CMakeLists.txt | 350 | # --------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | CMakeLists.txt | 371 | # --------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | CMakeLists.txt | 373 | # --------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | CMakeLists.txt | 384 | # --------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | CMakeLists.txt | 386 | # --------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | CMakeLists.txt | 407 | # --------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | CMakeLists.txt | 409 | # --------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | CMakeLists.txt | 439 | # --------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | CMakeLists.txt | 441 | # --------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | CMakeLists.txt | 452 | # --------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | CMakeLists.txt | 454 | # --------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | example/CMakeLists.txt | 11 | # --------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | example/CMakeLists.txt | 13 | # --------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | example/CMakeLists.txt | 17 | # --------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | example/CMakeLists.txt | 19 | # --------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | .github/workflows/linux.yml | 9 | # ----------------------------------------------------------------------- | COMMENT |
| MEDIUM | .github/workflows/linux.yml | 11 | # ----------------------------------------------------------------------- | COMMENT |
| MEDIUM | .github/workflows/linux.yml | 71 | # ----------------------------------------------------------------------- | COMMENT |
| MEDIUM | .github/workflows/linux.yml | 73 | # ----------------------------------------------------------------------- | COMMENT |
| MEDIUM | .github/workflows/linux.yml | 118 | # ----------------------------------------------------------------------- | COMMENT |
| MEDIUM | .github/workflows/linux.yml | 120 | # ----------------------------------------------------------------------- | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | include/spdlog/fmt/bundled/format-inl.h | 1259 | // Step 1: integer promotion & Schubfach multiplier calculation. | COMMENT |
| LOW | include/spdlog/fmt/bundled/format-inl.h | 1314 | // Step 2: Try larger divisor; remove trailing zeros if necessary. | COMMENT |
| LOW | include/spdlog/fmt/bundled/format-inl.h | 1346 | // Step 3: Find the significand with the smaller divisor. | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | include/spdlog/fmt/bundled/format-inl.h | 1259 | // Step 1: integer promotion & Schubfach multiplier calculation. | COMMENT |
| LOW | include/spdlog/fmt/bundled/format-inl.h | 1314 | // Step 2: Try larger divisor; remove trailing zeros if necessary. | COMMENT |
| LOW | include/spdlog/fmt/bundled/format-inl.h | 1346 | // Step 3: Find the significand with the smaller divisor. | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | bench/bench.cpp | 223 | const char *msg = "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vestibulum pharetra | CODE |
| LOW | bench/bench.cpp | 223 | const char *msg = "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vestibulum pharetra | CODE |
| LOW | bench/latency.cpp | 21 | "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vestibulum pharetra metus cursus " | CODE |
| LOW | bench/latency.cpp | 21 | "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vestibulum pharetra metus cursus " | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | include/spdlog/fmt/bundled/format.h | 3359 | // Compilers are not aware of how to leverage the maximum value of | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | include/spdlog/mdc.h | 19 | // Usage example: | COMMENT |