jank is the native Clojure dialect with seamless C++ interop.
This report summarizes scanner evidence for jank-lang/jank, a C++ project with 3,371 GitHub stars. SynthScan examined 98,309 lines of code across 680 source files, recording 94 pattern matches distributed across 3 syntactic categories. The legacy adjusted pattern signal is 1.1 (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? 74 finding(s).
Are imports declared and package/API names verified? 6 finding(s).
Are wrappers, guards, and repeated structures necessary? 14 finding(s).
Which changes need focused human review? 94 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 94 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 | compiler+runtime/CMakeLists.txt | 401 | # of our third party libraries like folly, zip, bdwgc, cpptrace, and so on. | COMMENT |
| LOW | compiler+runtime/test/cpp/main.cpp | 1 | #define DOCTEST_CONFIG_IMPLEMENT | COMMENT |
| LOW | compiler+runtime/test/cpp/jank/read/parse.cpp | 1 | #include <unistd.h> | COMMENT |
| LOW | compiler+runtime/test/cpp/jank/jit/processor.cpp | 1 | #include <filesystem> | COMMENT |
| LOW | compiler+runtime/include/cpp/jtl/immutable_string.hpp | 761 | * picks this up, so we only do it when that's not looking. */ | COMMENT |
| LOW | compiler+runtime/include/cpp/jank/type.hpp | 1 | #pragma once | COMMENT |
| LOW | compiler+runtime/include/cpp/jank/prelude.hpp | 1 | #pragma once | COMMENT |
| LOW | compiler+runtime/include/cpp/jank/runtime/context.hpp | 1 | #pragma once | COMMENT |
| LOW | compiler+runtime/include/cpp/jank/runtime/visit.hpp | 1 | #pragma once | COMMENT |
| LOW | compiler+runtime/include/cpp/jank/runtime/visit.hpp | 21 | #include <jank/runtime/obj/persistent_array_map.hpp> | COMMENT |
| LOW | compiler+runtime/include/cpp/jank/runtime/visit.hpp | 41 | #include <jank/runtime/obj/ratio.hpp> | COMMENT |
| LOW | compiler+runtime/include/cpp/jank/runtime/visit.hpp | 61 | #include <jank/runtime/obj/reduced.hpp> | COMMENT |
| LOW | …untime/include/cpp/jank/runtime/obj/exception_info.hpp | 1 | #pragma once | COMMENT |
| LOW | …ler+runtime/include/cpp/jank/runtime/core/make_box.hpp | 1 | #pragma once | COMMENT |
| LOW | …piler+runtime/include/cpp/jank/runtime/detail/type.hpp | 1 | #pragma once | COMMENT |
| LOW | compiler+runtime/include/cpp/jank/codegen/api.hpp | 1 | #pragma once | COMMENT |
| LOW | compiler+runtime/include/cpp/jank/analyze/visit.hpp | 1 | #pragma once | COMMENT |
| LOW | compiler+runtime/include/cpp/jank/analyze/visit.hpp | 21 | #include <jank/analyze/expr/if.hpp> | COMMENT |
| LOW | …iler+runtime/third-party/nanobench/include/nanobench.h | 1 | // __ _ _______ __ _ _____ ______ _______ __ _ _______ _ _ | COMMENT |
| LOW | …iler+runtime/third-party/nanobench/include/nanobench.h | 21 | // | COMMENT |
| LOW | …iler+runtime/third-party/nanobench/include/nanobench.h | 41 | COMMENT | |
| LOW | …iler+runtime/third-party/nanobench/include/nanobench.h | 61 | COMMENT | |
| LOW | …iler+runtime/third-party/nanobench/include/nanobench.h | 81 | # define ANKERL_NANOBENCH_LOG(x) \ | COMMENT |
| LOW | …iler+runtime/third-party/nanobench/include/nanobench.h | 101 | COMMENT | |
| LOW | …mpiler+runtime/third-party/nanobench/src/nanobench.cpp | 1 | // XXX: nanobench uses a single header for both .hpp and .cpp inclusion, based on | COMMENT |
| LOW | …mpiler+runtime/third-party/nanobench/src/nanobench.cpp | 21 | // copies of the Software, and to permit persons to whom the Software is | COMMENT |
| LOW | …mpiler+runtime/third-party/nanobench/src/nanobench.cpp | 41 | # include <algorithm> // sort, reverse | COMMENT |
| LOW | …mpiler+runtime/third-party/nanobench/src/nanobench.cpp | 681 | # pragma clang diagnostic ignored "-Wexit-time-destructors" | COMMENT |
| LOW | compiler+runtime/src/cpp/main.cpp | 1 | #include <cstdlib> | COMMENT |
| LOW | compiler+runtime/src/cpp/main.cpp | 21 | #include <jank/runtime/obj/persistent_vector_sequence.hpp> | COMMENT |
| LOW | compiler+runtime/src/cpp/main.cpp | 61 | .call(make_box<obj::symbol>("clojure.core")); | COMMENT |
| LOW | compiler+runtime/src/cpp/clojure/string_native.cpp | 1 | #include <ranges> | COMMENT |
| LOW | compiler+runtime/src/cpp/clojure/data/json_native.cpp | 1 | #include <nlohmann/json.hpp> | COMMENT |
| LOW | compiler+runtime/src/cpp/jtl/terminal.cpp | 1 | #if defined(_WIN32) | COMMENT |
| LOW | compiler+runtime/src/cpp/jank/compiler_native.cpp | 1 | #include <jank/compiler_native.hpp> | COMMENT |
| LOW | compiler+runtime/src/cpp/jank/c_api.cpp | 1 | #include <cstdarg> | COMMENT |
| LOW | compiler+runtime/src/cpp/jank/terminal_repl_client.cpp | 1 | #include <cctype> | COMMENT |
| LOW | compiler+runtime/src/cpp/jank/terminal_repl_client.cpp | 21 | #include <jank/runtime/obj/persistent_vector_sequence.hpp> | COMMENT |
| LOW | compiler+runtime/src/cpp/jank/evaluate.cpp | 1 | #include <llvm/ExecutionEngine/Orc/LLJIT.h> | COMMENT |
| LOW | compiler+runtime/src/cpp/jank/c_api_dynamic.cpp | 1 | #include <llvm-c/Target.h> | COMMENT |
| LOW | compiler+runtime/src/cpp/jank/util/try.cpp | 1 | #include <algorithm> | COMMENT |
| LOW | compiler+runtime/src/cpp/jank/util/environment.cpp | 1 | #if defined(__APPLE__) | COMMENT |
| LOW | compiler+runtime/src/cpp/jank/util/clang.cpp | 1 | #include <filesystem> | COMMENT |
| LOW | …iler+runtime/src/cpp/jank/util/environment_dynamic.cpp | 1 | #include <fstream> | COMMENT |
| LOW | compiler+runtime/src/cpp/jank/ir/processor.cpp | 1 | #include <jank/ir/processor.hpp> | COMMENT |
| LOW | compiler+runtime/src/cpp/jank/ir/dominance.cpp | 301 | //util::print("{} RPO: ", fn.name); | COMMENT |
| LOW | compiler+runtime/src/cpp/jank/read/parse.cpp | 1 | #include <codecvt> | COMMENT |
| LOW | …piler+runtime/src/cpp/jank/runtime/context_dynamic.cpp | 1 | #include <fstream> | COMMENT |
| LOW | …piler+runtime/src/cpp/jank/runtime/context_dynamic.cpp | 21 | #include <jank/util/clang_format.hpp> | COMMENT |
| LOW | compiler+runtime/src/cpp/jank/runtime/core.cpp | 1 | #include <algorithm> | COMMENT |
| LOW | compiler+runtime/src/cpp/jank/runtime/context.cpp | 1 | #include <jank/read/lex.hpp> | COMMENT |
| LOW | compiler+runtime/src/cpp/jank/runtime/var.cpp | 1 | #include <jank/runtime/var.hpp> | COMMENT |
| LOW | …time/src/cpp/jank/runtime/obj/jit_variadic_closure.cpp | 1 | #include <jank/runtime/obj/native_array_sequence.hpp> | COMMENT |
| LOW | …ime/src/cpp/jank/runtime/obj/deferred_cpp_function.cpp | 1 | #include <clang/Interpreter/Value.h> | COMMENT |
| LOW | …ime/src/cpp/jank/runtime/obj/jit_variadic_function.cpp | 1 | #include <jank/runtime/obj/jit_variadic_function.hpp> | COMMENT |
| LOW | …er+runtime/src/cpp/jank/runtime/obj/exception_info.cpp | 1 | #include <cpptrace/basic.hpp> | COMMENT |
| LOW | compiler+runtime/src/cpp/jank/runtime/core/seq.cpp | 1 | #include <algorithm> | COMMENT |
| LOW | …runtime/src/cpp/jank/runtime/module/loader_dynamic.cpp | 1 | #include <fcntl.h> | COMMENT |
| LOW | compiler+runtime/src/cpp/jank/runtime/module/loader.cpp | 1 | #ifdef __MINGW64__ | COMMENT |
| LOW | compiler+runtime/src/cpp/jank/runtime/module/loader.cpp | 21 | #include <jank/runtime/obj/jit_function.hpp> | COMMENT |
| 14 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | gdb/jank.py | 41 | except Exception as e: | CODE |
| LOW | gdb/jank.py | 47 | except Exception as e: | CODE |
| LOW | gdb/jank.py | 77 | except Exception as e: | CODE |
| LOW | gdb/jank.py | 95 | except Exception as e: | CODE |
| LOW | gdb/jank.py | 112 | except Exception as e: | CODE |
| LOW | gdb/jank.py | 138 | except Exception as e: | CODE |
| LOW | gdb/jank.py | 152 | except Exception as e: | CODE |
| MEDIUM | gdb/jank.py | 38 | def jank_pr_str(val): | CODE |
| MEDIUM | gdb/jank.py | 44 | def jank_type(val): | CODE |
| MEDIUM | gdb/jank.py | 74 | def to_string(self): | CODE |
| MEDIUM | gdb/jank.py | 85 | def children(self): | CODE |
| MEDIUM | gdb/jank.py | 103 | def children(self): | CODE |
| MEDIUM | gdb/jank.py | 132 | def children(self): | CODE |
| MEDIUM | gdb/jank.py | 141 | def jank_runtime_oref(val): | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | …test/bash/error-reporting/src/ui/long-lines/output.txt | 7 | 37 │ (defn process-data [data] (->> data (filter odd?) (map #(* % %)) (reduce +))) ;; Lorem ipsum dolor sit amet, cons | CODE |
| LOW⚡ | …test/bash/error-reporting/src/ui/long-lines/output.txt | 7 | 37 │ (defn process-data [data] (->> data (filter odd?) (map #(* % %)) (reduce +))) ;; Lorem ipsum dolor sit amet, cons | CODE |
| LOW⚡ | …test/bash/error-reporting/src/ui/long-lines/output.txt | 8 | 38 │ (defn generate-strings [n] (map (fn [i] (apply str (repeat 20 (char (+ 65 (mod i 26)))))) (range n))) ;; Lorem ip | CODE |
| LOW⚡ | …test/bash/error-reporting/src/ui/long-lines/output.txt | 8 | 38 │ (defn generate-strings [n] (map (fn [i] (apply str (repeat 20 (char (+ 65 (mod i 26)))))) (range n))) ;; Lorem ip | CODE |
| LOW⚡ | …test/bash/error-reporting/src/ui/long-lines/output.txt | 9 | 39 │ (defn deep-map [n] (if (zero? n) {:val} {:val n :nested (deep-map (dec n))})) ;; Lorem ipsum dolor sit amet, cons | CODE |
| LOW⚡ | …test/bash/error-reporting/src/ui/long-lines/output.txt | 9 | 39 │ (defn deep-map [n] (if (zero? n) {:val} {:val n :nested (deep-map (dec n))})) ;; Lorem ipsum dolor sit amet, cons | CODE |