An uber-fast parallelized Java classpath scanner and module scanner.
This report summarizes scanner evidence for classgraph/classgraph, a Java project with 3,022 GitHub stars. SynthScan examined 169,019 lines of code across 898 source files, recording 22 pattern matches distributed across 3 syntactic categories. The legacy adjusted pattern signal is 0.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? 16 finding(s).
Are imports declared and package/API names verified? 6 finding(s).
Are wrappers, guards, and repeated structures necessary? 0 finding(s).
Which changes need focused human review? 22 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 22 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 |
|---|---|---|---|---|
| CRITICAL | …java/io/github/classgraph/MethodParameterInfoTest.java | 381 | java.lang.classfile.attribute.MethodParameterInfo.ofParameter(Optional.of("extra"), | STRING |
| CRITICAL | …java/io/github/classgraph/MethodParameterInfoTest.java | 383 | java.lang.classfile.attribute.MethodParameterInfo.ofParameter(Optional.of("x"), 0))) | STRING |
| CRITICAL | …io/github/classgraph/issues/issue797/Issue797Test.java | 19 | "public final record io.github.classgraph.issues.issue797.Bar(" + "java.lang.String baz, " | CODE |
| CRITICAL | …aph/classpath/internal/ModuleFinderLayerOrderTest.java | 223 | assertThat(io.github.classgraph.classpath.internal.ModuleFinder.isSystemModule(applicationModule, | CODE |
| CRITICAL | …aph/classpath/internal/ModuleFinderLayerOrderTest.java | 226 | io.github.classgraph.classpath.internal.ModuleFinder.isSystemModule(jdkModule, imageModuleFinder)) | CODE |
| CRITICAL | …c/test/perf/io/github/classgraph/vfs/perf/Library.java | 417 | final var zipFile = org.apache.commons.compress.archivers.zip.ZipFile.builder().setPath(archive).get(); | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …c/main/java/io/github/classgraph/ClasspathElement.java | 541 | * the log node, or null to skip logging | COMMENT |
| LOW | …sgraph/src/main/java/io/github/classgraph/Scanner.java | 161 | // another thread to open the same classpath element does, since the other thread may be stuck, and this | COMMENT |
| LOW | …raph/src/main/java/io/github/classgraph/WorkQueue.java | 61 | // | COMMENT |
| LOW | …raph/src/main/java/io/github/classgraph/WorkQueue.java | 421 | public void close() { | COMMENT |
| LOW | …aph/src/main/java/io/github/classgraph/ScanResult.java | 2021 | // containing it) may have been returned to the caller, and returned collections are unmodifiable. | COMMENT |
| LOW | …b/classgraph/classpath/internal/ClassLoaderFinder.java | 121 | // ClassLoader.getSystemClassLoader() (so is delegated to by the application classloader), there is no | COMMENT |
| LOW | …nternal/classloaderhandler/JPMSClassLoaderHandler.java | 81 | classLoaderOrder.add(classLoader, log); | COMMENT |
| LOW | …nternal/classloaderhandler/JPMSClassLoaderHandler.java | 101 | // The jdk.internal.loader package is exported to only three modules, and is never opened, so the ucp field | COMMENT |
| LOW | .github/workflows/release.yml | 1 | # Release ClassGraph 4, 5 or 6 to Maven Central: Actions tab -> "Release" -> "Run workflow". | COMMENT |
| LOW | .github/workflows/ci.yml | 41 | # .mvn/wrapper/maven-wrapper.properties) ~/.m2/wrapper/dists, so that the Maven | COMMENT |
| LOW | .github/workflows/ci.yml | 201 | classgraph-viz/target -maxdepth 1 -name '*.jar' \ | COMMENT |
| LOW | .vscode/settings.json | 1 | { | COMMENT |
| LOW | …ph-vfs/src/main/java/io/github/classgraph/vfs/Vfs.java | 1041 | // The inflaters are borrowed on top of the slices the roots read through, so the pool is dropped | COMMENT |
| LOW | …fs/src/main/java/io/github/classgraph/vfs/DirRoot.java | 221 | absoluteDir = dir.toAbsolutePath().normalize(); | COMMENT |
| LOW | …io/github/classgraph/vfs/internal/slice/PathSlice.java | 801 | // #939, #331 | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | …raph/src/main/java/io/github/classgraph/Classfile.java | 2409 | // -- so be robust here. The classfile spec says "A formal_parameter_index value of i may, but is | COMMENT |