Bash's powerful command line editing in cmd.exe
This report summarizes scanner evidence for chrisant996/clink, a C++ project with 5,575 GitHub stars. SynthScan examined 251,357 lines of code across 609 source files, recording 689 pattern matches distributed across 5 syntactic categories. The legacy adjusted pattern signal is 2.7 (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? 687 finding(s).
Are imports declared and package/API names verified? 0 finding(s).
Are wrappers, guards, and repeated structures necessary? 2 finding(s).
Which changes need focused human review? 689 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 689 distinct pattern matches across 5 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 | clink/core/warning.h | 1 | #pragma warning( 1: 5038 ) // data member 'member1' will be initialized after data member 'member2' | COMMENT |
| LOW | clink/core/test/wstr.cpp | 1 | // Copyright (c) 2015 Martin Ridgers | COMMENT |
| LOW | clink/core/include/core/bldopts.h | 1 | // Copyright (c) 2022 Christopher Antos | COMMENT |
| LOW | clink/core/include/core/bldopts.h | 21 | #endif | COMMENT |
| LOW | clink/core/include/core/bldopts.h | 41 | //------------------------------------------------------------------------------ | COMMENT |
| LOW | clink/core/include/core/bldopts.h | 61 | #endif | COMMENT |
| LOW | clink/core/include/core/bldopts.h | 81 | // Define this to attempt to automatically choose an appropriate default for | COMMENT |
| LOW | clink/core/include/core/debugheap.h | 1 | // Copyright (c) 2022 Christopher Antos | COMMENT |
| LOW | clink/core/include/core/debugheap.h | 81 | COMMENT | |
| LOW | clink/core/include/core/debugheap.h | 121 | void dbgverifylabel(const void* pv, const char* label); | COMMENT |
| LOW | clink/core/include/core/debugheap.h | 161 | const char* m_label; | COMMENT |
| LOW | clink/core/include/core/debugheap.h | 181 | #define dbg_snapshot_heap(var) ((void)0) | COMMENT |
| LOW | clink/core/include/core/callstack.h | 1 | // Copyright (c) 2022 Christopher Antos | COMMENT |
| LOW | clink/core/include/core/assert_improved.h | 1 | // Copyright (c) 2022 Christopher Antos | COMMENT |
| LOW | clink/core/include/core/assert_improved.h | 21 | void dbgtracef(const char* fmt, ...); | COMMENT |
| LOW | clink/core/include/core/os.h | 1 | // Copyright (c) 2015 Martin Ridgers | COMMENT |
| LOW | clink/core/include/core/embedded_scripts.h | 1 | // Copyright (c) 2020 Christopher Antos | COMMENT |
| LOW | clink/core/include/core/log.h | 1 | // Copyright (c) 2015 Martin Ridgers | COMMENT |
| LOW | clink/core/include/core/str.h | 1 | // Copyright (c) 2015 Martin Ridgers | COMMENT |
| LOW | clink/core/include/core/base.h | 1 | // Copyright (c) 2015 Martin Ridgers | COMMENT |
| LOW | clink/core/include/core/base.h | 21 | #if defined(_MSC_VER) && _MSC_VER < 1900 | COMMENT |
| LOW | clink/core/include/core/base.h | 41 | #elif defined(_M_ARM64) || defined(__aarch64__) | COMMENT |
| LOW | clink/core/include/core/base.h | 61 | #include <cstdint> | COMMENT |
| LOW | clink/core/include/core/base.h | 81 | #else | COMMENT |
| LOW | clink/core/src/pch.h | 1 | // Copyright (c) 2015 Martin Ridgers | COMMENT |
| LOW | clink/core/src/os.cpp | 1 | // Copyright (c) 2015 Martin Ridgers | COMMENT |
| LOW | clink/core/src/os.cpp | 21 | #include <vector> | COMMENT |
| LOW | clink/core/src/os.cpp | 441 | //------------------------------------------------------------------------------ | COMMENT |
| LOW | clink/core/src/os.cpp | 461 | // | COMMENT |
| LOW | clink/core/src/os.cpp | 961 | // affected. Because the `set` command in CMD.EXE looks at a snapshot of | COMMENT |
| LOW | clink/core/src/debugheap.cpp | 1 | // Copyright (c) 2022 Christopher Antos | COMMENT |
| LOW | clink/core/src/callstack.cpp | 1 | // Copyright (c) 2022 Christopher Antos | COMMENT |
| LOW | clink/core/src/pch.cpp | 1 | // Copyright (c) 2015 Martin Ridgers | COMMENT |
| LOW | clink/core/src/path.cpp | 1 | // Copyright (c) 2015 Martin Ridgers | COMMENT |
| LOW | clink/core/src/settings.cpp | 1 | // Copyright (c) 2012 Martin Ridgers | COMMENT |
| LOW | clink/app/test/doskey.cpp | 1 | // Copyright (c) 2016 Martin Ridgers | COMMENT |
| LOW | clink/app/test/history.cpp | 1 | // Copyright (c) 2016 Martin Ridgers | COMMENT |
| LOW | clink/app/test/coroutines.cpp | 1 | // Copyright (c) 2021 Christopher Antos | COMMENT |
| LOW | clink/app/test/set.cpp | 1 | // Copyright (c) 2016 Martin Ridgers | COMMENT |
| LOW | clink/app/test/exec.cpp | 1 | // Copyright (c) 2015 Martin Ridgers | COMMENT |
| LOW | clink/app/test/redir.cpp | 1 | // Copyright (c) 2021 Christopher Antos | COMMENT |
| LOW | clink/app/test/dir.cpp | 1 | // Copyright (c) 2016 Martin Ridgers | COMMENT |
| LOW | clink/app/test/env_vars.cpp | 1 | // Copyright (c) 2012 Martin Ridgers | COMMENT |
| LOW | clink/app/src/pch.h | 1 | // Copyright (c) 2012 Martin Ridgers | COMMENT |
| LOW | clink/app/src/pch.h | 21 | #ifdef _MSC_VER | COMMENT |
| LOW | clink/app/src/version.h | 1 | // Copyright (c) 2016 Martin Ridgers | COMMENT |
| LOW | clink/app/src/version.h | 41 | AS_STR(CLINK_BRANCH) | COMMENT |
| LOW | clink/app/src/pch.cpp | 1 | // Copyright (c) 2012 Martin Ridgers | COMMENT |
| LOW | clink/app/src/host/host.h | 1 | // Copyright (c) 2013 Martin Ridgers | COMMENT |
| LOW | clink/app/src/host/host_lua.h | 1 | // Copyright (c) 2016 Martin Ridgers | COMMENT |
| LOW | clink/app/src/host/host_cmd.cpp | 1 | // Copyright (c) 2013 Martin Ridgers | COMMENT |
| LOW | clink/app/src/host/host_cmd.cpp | 21 | #include <core/callstack.h> | COMMENT |
| LOW | clink/app/src/host/host_cmd.cpp | 701 | COMMENT | |
| LOW | clink/app/src/host/host_lua.cpp | 1 | // Copyright (c) 2016 Martin Ridgers | COMMENT |
| LOW | clink/app/src/host/host_lua.cpp | 241 | // It's simple enough to filter the results for exact matches, but | COMMENT |
| LOW | clink/app/src/host/host.cpp | 1 | // Copyright (c) 2016 Martin Ridgers | COMMENT |
| LOW | clink/app/src/host/host.cpp | 21 | #include <lib/match_generator.h> | COMMENT |
| LOW | clink/app/src/host/host.cpp | 1161 | // 1. "@echo off" prevents echoing the commands to stdout. | COMMENT |
| LOW | clink/app/src/utils/hook_setter.cpp | 1 | // Copyright (c) 2012 Martin Ridgers | COMMENT |
| LOW | clink/app/src/utils/usage.cpp | 1 | // Copyright (c) 2012 Martin Ridgers | COMMENT |
| 623 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | clink/lua/src/line_state_lua.cpp | 701 | // Definitely need to make a copy: either the word needs to be marked as | COMMENT |
| MEDIUM | readline/readline/display.c | 589 | // REVIEW: It's trying to backtrack, but it would be more robust to remember the preceding position. | COMMENT |
| MEDIUM | readline/readline/support/install.sh | 15 | # publicity pertaining to distribution of the software without specific, | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | docs/subset.py | 48 | print(f"Error {e.returncode} making a subset of the font file.\n {e.stderr}") | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | docs/prompts/jonathan.html | 1 | <DIV STYLE="display:inline-block;white-space:pre;background-color:#000000;font-family:promptFont,Cascadia Code,monospace | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | clink/terminal/src/win_terminal_in.cpp | 824 | // Example usage: | COMMENT |