AI Slop Code Risk Monitor

junit-team/junit-framework

SlopCodeMonitor badge for junit-team/junit-framework Adjusted legacy signal; badge bands: 25 / 50 / 75 (different from dashboard bands).

✅ The programmer-friendly testing framework for Java and the JVM

2.6 Low pattern signal View on GitHub

Open-Source Code Quality, Security and Technical Debt Review

This report summarizes scanner evidence for junit-team/junit-framework, a Java project with 7,059 GitHub stars. SynthScan examined 248,949 lines of code across 2213 source files, recording 79 pattern matches distributed across 7 syntactic categories. The legacy adjusted pattern signal is 2.6 (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.

2.6
Adjusted Signal
2.6
Raw Pattern Score
100%
Time Factor
2026-10-31
Last Push
7.1K
Stars
Java
Language
248.9K
Lines of Code
2.2K
Files
79
Pattern Hits
2026-10-31
Scan Date
0.02
HC Hit Rate

Risk Review · Payload v1

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.

Cognitive Ownership Risk 0.6/100 · LOW

Can maintainers explain intent, assumptions, and trade-offs? 15 finding(s).

Hallucinated Dependency & Supply Chain Risk 10.9/100 · LOW

Are imports declared and package/API names verified? 54 finding(s).

Agent Over-Engineering Ratio 0.9/100 · LOW

Are wrappers, guards, and repeated structures necessary? 10 finding(s).

PR Review Velocity Impact 11.4/100 · LOW

Which changes need focused human review? 79 finding(s).

What These Metrics Mean

Adjusted Signal
Legacy pattern score normalized per 1,000 scanned lines and multiplied by the repository-level time factor. It is not an estimate of AI authorship.
Raw Pattern Score
Sum of severity- and context-weighted pattern findings before applying the time factor.
Time Factor
A coarse multiplier based on repository last-push metadata. It does not identify when individual code was written.
Pattern Hits
Count of configured pattern findings. Review each location and surrounding code before acting.
HC Hit Rate
High- and critical-severity findings per scanned file. Severity is a configured detector weight, not proof of a vulnerability or authorship.
Lines / Files
Scan coverage denominators used by the legacy normalized score.

Pattern-Signal History

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.

Severity Breakdown

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.

CRITICAL 52HIGH 3MEDIUM 20LOW 4

Directory Score Breakdown

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.

Pattern Findings

The scanner identified 79 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.

Hallucination Indicators52 hits · 575 pts
SeverityFileLineSnippetContext
CRITICAL…/org/junit/platform/engine/EngineDiscoveryRequest.java104 return org.junit.platform.engine.reporting.OutputDirectoryProvider.castOrAdapt(getOutputDirectoryCreator());CODE
CRITICAL…n/java/org/junit/platform/engine/ExecutionRequest.java163 return org.junit.platform.engine.reporting.OutputDirectoryProvider.castOrAdapt(getOutputDirectoryCreator());CODE
CRITICAL…/support/discovery/EngineDiscoveryRequestResolver.java240 ResourceFilter.of(r -> resourceFilter.test(org.junit.platform.commons.support.Resource.of(r))));CODE
CRITICALdocumentation/src/test/java/example/SuiteDemo.java24@org.junit.platform.suite.api.ExcludeTags("exclude")CODE
CRITICAL…mentation/src/test/java/example/RepeatedTestsDemo.java27@org.junit.jupiter.api.parallel.Execution(org.junit.jupiter.api.parallel.ExecutionMode.SAME_THREAD)CODE
CRITICAL…umentation/src/test/kotlin/example/kotlin/SuiteDemo.kt20@org.junit.platform.suite.api.ExcludeTags("exclude")CODE
CRITICAL…org/junit/platform/testkit/engine/EventConditions.java332 // The underlying cause is that org.assertj.core.condition.Join.Join(Condition<? super T>...)COMMENT
CRITICAL…org/junit/platform/testkit/engine/EventConditions.java334 // org.assertj.core.condition.Join.Join(Iterable<? extends Condition<? super T>>)COMMENT
CRITICAL…ain/java/org/junit/platform/testkit/engine/Events.java360 * Shortcut for {@code org.assertj.core.api.Assertions.assertThat(events.list())}.COMMENT
CRITICAL…ain/java/org/junit/platform/testkit/engine/Events.java367 return org.assertj.core.api.Assertions.assertThat(list());CODE
CRITICAL…java/org/junit/platform/testkit/engine/Executions.java203 * Shortcut for {@code org.assertj.core.api.Assertions.assertThat(executions.list())}.COMMENT
CRITICAL…java/org/junit/platform/testkit/engine/Executions.java210 return org.assertj.core.api.Assertions.assertThat(list());CODE
CRITICAL…/org/junit/jupiter/api/extension/ExtensionContext.java733 public static final Namespace GLOBAL = new Namespace(org.junit.jupiter.api.store.Namespace.GLOBAL.getParts());CODE
CRITICAL…it/jupiter/params/ParameterizedTestExtensionTests.java320 org.junit.platform.engine.support.store.Namespace.create(namespace.getParts()));CODE
CRITICAL⚡…org/junit/jupiter/api/AssertionFailureBuilderTest.java34 \\Qorg.junit.jupiter.api.AssertionFailureBuilder.build(AssertionFailureBuilder.java:\\E.+STRING
CRITICAL⚡…org/junit/jupiter/api/AssertionFailureBuilderTest.java36 \\Qorg.junit.jupiter.api.AssertionFailureBuilderTest.doesNotTrimByDefault(AssertionFailureBuilderTest.java:\\E.+STRING
CRITICAL⚡…org/junit/jupiter/api/AssertionFailureBuilderTest.java46 \\Qorg.junit.jupiter.api.AssertionFailureBuilderTest.trimsUpToAssertionsFacade(AssertionFailureBuilderTest.java:\\ESTRING
CRITICAL…org/junit/jupiter/api/AssertionFailureBuilderTest.java57 \\Qorg.junit.jupiter.api.AssertionFailureBuilderTest.trimsUpToAssertionsFacadeKeepingOne(AssertionFailureBuilderTesSTRING
CRITICAL⚡…org/junit/jupiter/api/AssertionFailureBuilderTest.java68 \\Qorg.junit.jupiter.api.AssertionFailureBuilderTest.trimsUpToAssertionFailureBuilder(AssertionFailureBuilderTest.jSTRING
CRITICAL⚡…org/junit/jupiter/api/AssertionFailureBuilderTest.java78 \\Qorg.junit.jupiter.api.AssertionFailureBuilder.build(AssertionFailureBuilder.java:\\E.+STRING
CRITICAL⚡…org/junit/jupiter/api/AssertionFailureBuilderTest.java80 \\Qorg.junit.jupiter.api.AssertionFailureBuilderTest.ignoresClassNotInStackTrace(AssertionFailureBuilderTest.java:\STRING
CRITICAL…a/org/junit/jupiter/engine/NestedTestClassesTests.java361 return source(org.junit.platform.engine.support.descriptor.MethodSource.from(method));CODE
CRITICAL…a/org/junit/jupiter/engine/NestedTestClassesTests.java365 return source(org.junit.platform.engine.support.descriptor.MethodSource.from(testClass, method));CODE
CRITICAL…org/junit/jupiter/engine/discovery/DiscoveryTests.java388 .contains(org.junit.platform.engine.support.descriptor.MethodSource.from(method));CODE
CRITICAL…org/junit/jupiter/engine/discovery/DiscoveryTests.java410 .contains(org.junit.platform.engine.support.descriptor.MethodSource.from(method));CODE
CRITICAL…jupiter/engine/descriptor/LauncherStoreFacadeTest.java38 private org.junit.jupiter.api.store.Namespace extensionNamespace = org.junit.jupiter.api.store.Namespace.create(CODE
CRITICAL…t/jupiter/engine/descriptor/ExtensionContextTests.java478 context.getStore(org.junit.jupiter.api.store.Namespace.create("x")).put("key", "value");CODE
CRITICAL…t/jupiter/engine/descriptor/ExtensionContextTests.java481 org.junit.jupiter.api.store.Namespace.create("x")).get("key"));CODE
CRITICAL…rg/junit/jupiter/engine/descriptor/NamespaceTests.java40 var ns2 = org.junit.jupiter.api.store.Namespace.create("part1", "part2");CODE
CRITICAL⚡…piter/engine/descriptor/LifecycleMethodUtilsTests.java55 "@BeforeAll method 'private java.lang.Double org.junit.jupiter.engine.descriptor.TestCaseWithInvalidLifecycleMethods.CODE
CRITICAL⚡…piter/engine/descriptor/LifecycleMethodUtilsTests.java59 "@BeforeAll method 'private java.lang.Double org.junit.jupiter.engine.descriptor.TestCaseWithInvalidLifecycleMethods.CODE
CRITICAL⚡…piter/engine/descriptor/LifecycleMethodUtilsTests.java63 "@BeforeAll method 'private java.lang.Double org.junit.jupiter.engine.descriptor.TestCaseWithInvalidLifecycleMethods.CODE
CRITICAL⚡…piter/engine/descriptor/LifecycleMethodUtilsTests.java76 "@AfterAll method 'private java.lang.String org.junit.jupiter.engine.descriptor.TestCaseWithInvalidLifecycleMethods.dCODE
CRITICAL⚡…piter/engine/descriptor/LifecycleMethodUtilsTests.java80 "@AfterAll method 'private java.lang.String org.junit.jupiter.engine.descriptor.TestCaseWithInvalidLifecycleMethods.dCODE
CRITICAL⚡…piter/engine/descriptor/LifecycleMethodUtilsTests.java84 "@AfterAll method 'private java.lang.String org.junit.jupiter.engine.descriptor.TestCaseWithInvalidLifecycleMethods.dCODE
CRITICAL…piter/engine/descriptor/LifecycleMethodUtilsTests.java97 "@BeforeEach method 'private java.lang.String org.junit.jupiter.engine.descriptor.TestCaseWithInvalidLifecycleMethodsCODE
CRITICAL…piter/engine/descriptor/LifecycleMethodUtilsTests.java101 "@BeforeEach method 'private java.lang.String org.junit.jupiter.engine.descriptor.TestCaseWithInvalidLifecycleMethodsCODE
CRITICAL…piter/engine/descriptor/LifecycleMethodUtilsTests.java114 "@AfterEach method 'private int org.junit.jupiter.engine.descriptor.TestCaseWithInvalidLifecycleMethods.bb()' must noCODE
CRITICAL…piter/engine/descriptor/LifecycleMethodUtilsTests.java118 "@AfterEach method 'private int org.junit.jupiter.engine.descriptor.TestCaseWithInvalidLifecycleMethods.bb()' should CODE
CRITICAL…piter/engine/descriptor/LifecycleMethodUtilsTests.java153 "@BeforeAll method 'void org.junit.jupiter.engine.descriptor.TestCaseWithStandardLifecycle.one()' must be static unleCODE
CRITICAL…st/java/org/junit/platform/StackTracePruningTests.java78 \\Qorg.junit.jupiter.api.Assertions.fail(Assertions.java:\\E.+CODE
CRITICAL…st/java/org/junit/platform/StackTracePruningTests.java80 \\Qorg.junit.platform.commons.util.ReflectionUtils.invokeMethod(ReflectionUtils.java:\\E.+CODE
CRITICAL…st/java/org/junit/platform/StackTracePruningTests.java95 \\Qorg.junit.jupiter.api.Assertions.fail(Assertions.java:\\E.+CODE
CRITICAL…st/java/org/junit/platform/StackTracePruningTests.java111 \\Qorg.junit.jupiter.api.Assumptions.assumeTrue(Assumptions.java:\\E.+CODE
CRITICAL…st/java/org/junit/platform/StackTracePruningTests.java127 \\Qorg.junit.jupiter.api.Assertions.fail(Assertions.java:\\E.+CODE
CRITICAL…st/java/org/junit/platform/StackTracePruningTests.java146 \\Qorg.junit.jupiter.api.Assertions.fail(Assertions.java:\\E.+CODE
CRITICAL⚡…ore/DiscoveryIssueReportingDiscoveryListenerTests.java77 org.junit.platform.engine.support.descriptor.MethodSource.from("SomeClass", "someMethod", "int,int")), //CODE
CRITICAL⚡…ore/DiscoveryIssueReportingDiscoveryListenerTests.java81 org.junit.platform.engine.support.descriptor.FilePosition.from(42))), //CODE
CRITICAL⚡…ore/DiscoveryIssueReportingDiscoveryListenerTests.java84 org.junit.platform.engine.support.descriptor.FilePosition.from(42, 23))), //CODE
CRITICAL⚡…ore/DiscoveryIssueReportingDiscoveryListenerTests.java90 org.junit.platform.engine.support.descriptor.FilePosition.from(42))), //CODE
CRITICAL⚡…ore/DiscoveryIssueReportingDiscoveryListenerTests.java93 org.junit.platform.engine.support.descriptor.FilePosition.from(42, 23))), //CODE
CRITICAL…rc/main/java/org/junit/platform/launcher/TestPlan.java300 return org.junit.platform.engine.reporting.OutputDirectoryProvider.castOrAdapt(getOutputDirectoryCreator());CODE
Decorative Section Separators7 hits · 32 pts
SeverityFileLineSnippetContext
MEDIUM⚡…/jupiter/params/ParameterizedTestIntegrationTests.java209 #---------------------------------COMMENT
MEDIUM⚡…/jupiter/params/ParameterizedTestIntegrationTests.java211 #---------------------------------COMMENT
MEDIUM⚡…/jupiter/params/ParameterizedTestIntegrationTests.java213 #---------------------------------COMMENT
MEDIUM⚡…/jupiter/params/ParameterizedTestIntegrationTests.java215 #---------------------------------COMMENT
MEDIUM⚡…/jupiter/params/ParameterizedTestIntegrationTests.java217 #---------------------------------COMMENT
MEDIUM⚡…/jupiter/params/ParameterizedTestIntegrationTests.java219 #---------------------------------COMMENT
MEDIUM⚡…/jupiter/params/ParameterizedTestIntegrationTests.java221 #---------------------------------COMMENT
Slop Phrases10 hits · 20 pts
SeverityFileLineSnippetContext
MEDIUM…cumentation/src/test/java/example/ExampleTestCase.java32 @Disabled("for demonstration purposes")CODE
MEDIUMdocumentation/src/test/java/example/StandardTests.java47 @Disabled("for demonstration purposes")CODE
MEDIUM…va/example/testkit/EngineTestKitSkippedMethodDemo.java43 skippedWithReason("for demonstration purposes")));CODE
MEDIUM…t/java/example/testkit/EngineTestKitAllEventsDemo.java56 event(test("skippedTest"), skippedWithReason("for demonstration purposes")),CODE
MEDIUM…tation/src/test/kotlin/example/kotlin/StandardTests.kt41 @Disabled("for demonstration purposes")CODE
MEDIUM…tion/src/test/kotlin/example/kotlin/ExampleTestCase.kt29 @Disabled("for demonstration purposes")CODE
MEDIUM…n/example/kotlin/testkit/EngineTestKitAllEventsDemo.kt51 event(test("skippedTest"), skippedWithReason("for demonstration purposes")),CODE
MEDIUM…ample/kotlin/testkit/EngineTestKitSkippedMethodDemo.kt38 .haveExactly(1, event(test(methodName), skippedWithReason("for demonstration purposes")))CODE
MEDIUM…/FlightRecordingExecutionListenerIntegrationTests.java78 .with("reason", "for demonstration purposes"));CODE
MEDIUM…/FlightRecordingExecutionListenerIntegrationTests.java89 @Disabled("for demonstration purposes")CODE
Cross-File Repetition3 hits · 15 pts
SeverityFileLineSnippetContext
HIGH…/jupiter/params/ParameterizedTestIntegrationTests.java0the '%s' configuration parameter is no longer supported. \ please remove it from your configuration.STRING
HIGH…junit/jupiter/engine/extension/TempDirectoryTests.java0the '%s' configuration parameter is no longer supported. \ please remove it from your configuration.STRING
HIGH…jupiter/engine/config/DefaultJupiterConfiguration.java0the '%s' configuration parameter is no longer supported. \ please remove it from your configuration.STRING
AI Slop Vocabulary3 hits · 6 pts
SeverityFileLineSnippetContext
MEDIUM…va/platform/tooling/support/tests/JUnitStartTests.java83 .addArguments("compact/JUnitRun.java") // leverage Java's source modeCODE
MEDIUM…va/platform/tooling/support/tests/JUnitStartTests.java98 .addArguments("compact/JUnitRunClass.java") // leverage Java's source modeCODE
MEDIUM…va/platform/tooling/support/tests/JUnitStartTests.java113 .addArguments("modular/p/JUnitRunModule.java") // leverage Java's source modeCODE
Over-Commented Block2 hits · 2 pts
SeverityFileLineSnippetContext
LOW…tion/src/test/java/example/timing/TimingExtension.java61// end::user_guide[]COMMENT
LOW…t/java/example/exception/MultipleHandlersTestCase.java61// end::user_guide[]COMMENT
Fake / Example Data2 hits · 2 pts
SeverityFileLineSnippetContext
LOW…iter/params/aggregator/AggregatorIntegrationTests.java207 assertEquals("Jane Doe", person.getFullName());CODE
LOW…ng/open/xml/OpenTestReportGeneratingListenerTests.java201 execGit(tempDirectory, "config", "user.email", "alice@example.org");STRING