Lightweight C++ command line option parser
This report summarizes scanner evidence for jarro2783/cxxopts, a C++ project with 4,827 GitHub stars. SynthScan examined 24,934 lines of code across 25 source files, recording 87 pattern matches distributed across 3 syntactic categories. The legacy adjusted pattern signal is 2.4 (Low 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.
Payload schema: 1.0.0 · Engine: 2.0.0 · Scoring: heuristic-density-v1 · Scan date: 2026-10-31.
Can maintainers explain intent, assumptions, and trade-offs? 87 finding(s).
Are imports declared and package/API names verified? 0 finding(s).
Are wrappers, guards, and repeated structures necessary? 0 finding(s).
Which changes need focused human review? 87 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 87 distinct pattern matches across 3 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 | CMakeLists.txt | 1 | # Copyright (c) 2014 Jarryd Beck | COMMENT |
| LOW | meson_options.txt | 1 | # Copyright © 2024-2026 Dylan Baker | COMMENT |
| LOW | test/CMakeLists.txt | 1 | # Copyright (c) 2014 Jarryd Beck | COMMENT |
| LOW | test/catch.hpp | 21 | # pragma clang system_header | COMMENT |
| LOW | test/catch.hpp | 41 | // Wparentheses have to be suppressed globally. | COMMENT |
| LOW | test/catch.hpp | 61 | # if !defined(CATCH_CONFIG_ENABLE_CHRONO_STRINGMAKER) | COMMENT |
| LOW | test/catch.hpp | 81 | # endif | COMMENT |
| LOW | test/catch.hpp | 101 | namespace Catch { | COMMENT |
| LOW | test/catch.hpp | 121 | // in configuration.md, too | COMMENT |
| LOW | test/catch.hpp | 141 | // Only GCC compiler should be used in this block, so other compilers trying to | COMMENT |
| LOW | test/catch.hpp | 161 | // For example, this code will likely segfault under IBM XL: | COMMENT |
| LOW | test/catch.hpp | 181 | # define CATCH_INTERNAL_SUPPRESS_ZERO_VARIADIC_WARNINGS \ | COMMENT |
| LOW | test/catch.hpp | 201 | #ifdef __OS400__ | COMMENT |
| LOW | test/catch.hpp | 221 | #if defined(__ORBIS__) | COMMENT |
| LOW | test/catch.hpp | 241 | COMMENT | |
| LOW | test/catch.hpp | 261 | # endif // MSVC_TRADITIONAL | COMMENT |
| LOW | test/catch.hpp | 281 | //////////////////////////////////////////////////////////////////////////////// | COMMENT |
| LOW | test/catch.hpp | 301 | #define CATCH_INTERNAL_CONFIG_COUNTER | COMMENT |
| LOW | test/catch.hpp | 321 | // Check if string_view is available and usable | COMMENT |
| LOW | test/catch.hpp | 341 | # if defined(__clang__) && (__clang_major__ < 8) | COMMENT |
| LOW | test/catch.hpp | 361 | #endif | COMMENT |
| LOW | test/catch.hpp | 381 | #endif | COMMENT |
| LOW | test/catch.hpp | 401 | #endif | COMMENT |
| LOW | test/catch.hpp | 421 | #if !defined(CATCH_INTERNAL_START_WARNINGS_SUPPRESSION) | COMMENT |
| LOW | test/catch.hpp | 441 | // still have the compiler warn on problems inside... | COMMENT |
| LOW | test/catch.hpp | 461 | #define CATCH_TRY try | COMMENT |
| LOW | test/catch.hpp | 701 | #define CATCH_RECURSION_LEVEL5(...) CATCH_RECURSION_LEVEL4(CATCH_RECURSION_LEVEL4(CATCH_RECURSION_LEVEL4(__VA_ARGS__))) | COMMENT |
| LOW | test/catch.hpp | 721 | #define CATCH_REC_NEXT0(test, next, ...) next CATCH_REC_OUT | COMMENT |
| LOW | test/catch.hpp | 741 | #define INTERNAL_CATCH_EXPAND2(...) INTERNAL_CATCH_NO## __VA_ARGS__ | COMMENT |
| LOW | test/catch.hpp | 761 | #define INTERNAL_CATCH_MAKE_TYPE_LIST2(...) decltype(get_wrapper<INTERNAL_CATCH_REMOVE_PARENS_GEN(__VA_ARGS__)>()) | COMMENT |
| LOW | test/catch.hpp | 901 | #define INTERNAL_CATCH_DEFINE_SIG_TEST_METHOD(TestName, ...) INTERNAL_CATCH_VA_NARGS_IMPL( "dummy", __VA_ARGS__, INTERNA | COMMENT |
| LOW | test/catch.hpp | 1021 | INTERNAL_CATCH_EXPAND_VARGS( INTERNAL_CATCH_TEMPLATE_TEST_CASE_NO_REGISTRATION_2( INTERNAL_CATCH_UNIQUE_NAME | COMMENT |
| LOW | test/catch.hpp | 1241 | INTERNAL_CATCH_DEFINE_SIG_TEST_METHOD(TestName, INTERNAL_CATCH_REMOVE_PARENS(Signature)) | COMMENT |
| LOW | test/catch.hpp | 2181 | } \ | COMMENT |
| LOW | test/catch.hpp | 2681 | COMMENT | |
| LOW | test/catch.hpp | 5061 | // start catch_interfaces_reporter.h | COMMENT |
| LOW | test/catch.hpp | 6941 | // start catch_estimate_clock.hpp | COMMENT |
| LOW | test/catch.hpp | 7461 | #ifdef CATCH_IMPL | COMMENT |
| LOW | test/catch.hpp | 7941 | COMMENT | |
| LOW | test/catch.hpp | 7961 | #elif defined(__aarch64__) | COMMENT |
| LOW | test/catch.hpp | 7981 | #define CATCH_TRAP() __debugbreak() | COMMENT |
| LOW | test/catch.hpp | 8001 | COMMENT | |
| LOW | test/catch.hpp | 8401 | handler.handleExpr( expr ); | COMMENT |
| LOW | test/catch.hpp | 8421 | #pragma clang diagnostic ignored "-Wweak-vtables" | COMMENT |
| LOW | test/catch.hpp | 8441 | #ifndef CATCH_CLARA_TEXTFLOW_CONFIG_CONSOLE_WIDTH | COMMENT |
| LOW | test/catch.hpp | 9681 | // end clara.hpp | COMMENT |
| LOW | test/catch.hpp | 10061 | # define WIN32_LEAN_AND_MEAN | COMMENT |
| LOW | test/catch.hpp | 10401 | // end catch_debug_console.cpp | COMMENT |
| LOW | test/catch.hpp | 10461 | } // namespace Catch | COMMENT |
| LOW | test/catch.hpp | 12181 | COMMENT | |
| LOW | test/catch.hpp | 12601 | static GeneratorTracker& acquire( TrackerContext& ctx, TestCaseTracking::NameAndLocation const& nameAndLocat | COMMENT |
| LOW | test/catch.hpp | 15001 | return static_cast<unsigned int>(getElapsedMicroseconds()/1000); | COMMENT |
| LOW | test/catch.hpp | 15321 | // Distributed under the Boost Software License, Version 1.0. | COMMENT |
| LOW | test/catch.hpp | 16121 | // end catch_reporter_compact.cpp | COMMENT |
| LOW | test/catch.hpp | 16801 | COMMENT | |
| LOW | test/catch.hpp | 17521 | COMMENT | |
| LOW | test/catch.hpp | 17581 | COMMENT | |
| LOW | test/catch.hpp | 17601 | #define CATCH_CHECKED_ELSE( ... ) INTERNAL_CATCH_ELSE( "CATCH_CHECKED_ELSE", Catch::ResultDisposition::ContinueOnFailure | COMMENT |
| LOW | test/catch.hpp | 17621 | #define CATCH_CAPTURE( ... ) INTERNAL_CATCH_CAPTURE( INTERNAL_CATCH_UNIQUE_NAME(capturer), "CATCH_CAPTURE",__VA_ARGS__ ) | COMMENT |
| LOW | test/catch.hpp | 17641 | #define CATCH_TEMPLATE_PRODUCT_TEST_CASE_SIG( ... ) INTERNAL_CATCH_TEMPLATE_PRODUCT_TEST_CASE_SIG( __VA_ARGS__ ) | COMMENT |
| 25 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | test/catch.hpp | 12666 | // No children have started. We need to check if they _can_ | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | meson/version.py | 26 | CODE |