AI Slop Code RIsk Monitor

sebastianbergmann/php-code-coverage

Library that provides collection, processing, and rendering functionality for PHP code coverage information.

16.3 Elevated pattern signal View on GitHub

Maintenance and Governance Review

This report summarizes scanner evidence for sebastianbergmann/php-code-coverage, a PHP project with 8,923 GitHub stars. SynthScan examined 58,532 lines of code across 468 source files, recording 875 pattern matches distributed across 2 syntactic categories. The legacy adjusted pattern signal is 16.3 (Elevated 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.

16.3
Adjusted Signal
16.3
Raw Pattern Score
100%
Time Factor
2026-10-10
Last Push
8.9K
Stars
PHP
Language
58.5K
Lines of Code
468
Files
875
Pattern Hits
2026-10-12
Scan Date
0.00
HC Hit Rate

Risk Review · v3

Use each vector to guide manual verification of the underlying findings.

Cognitive Ownership Risk 55.7/100 · HIGH

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

Hallucinated Dependency & Supply Chain Risk 0.0/100 · LOW

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

Agent Over-Engineering Ratio 55.7/100 · HIGH

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

PR Review Velocity Impact 52.6/100 · HIGH

Which changes need focused human review? 875 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 0HIGH 0MEDIUM 0LOW 875

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 875 distinct pattern matches across 2 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.

Hyper-Verbose Identifiers874 hits · 953 pts
SeverityFileLineSnippetContext
LOWtests/tests/FilterTest.php48 public function testMultipleFilesCanBeAdded(): voidCODE
LOWtests/tests/FilterTest.php62 public function testDeterminesWhetherStringContainsNameOfRealFileThatExists(): voidCODE
LOWtests/tests/FilterTest.php75 public function testIncludedFileIsNotFiltered(): voidCODE
LOWtests/tests/FilterTest.php89 public function testNotIncludedFileIsFiltered(): voidCODE
LOWtests/tests/FilterTest.php111 public function testTryingToAddFileThatDoesNotExistDoesNotChangeFilter(): voidCODE
LOWtests/tests/FilterProcessorTest.php46 public function testApplyFilterRemovesExcludedFiles(): voidCODE
LOWtests/tests/FilterProcessorTest.php62 public function testApplyFilterKeepsIncludedFiles(): voidCODE
LOWtests/tests/FilterProcessorTest.php78 public function testApplyFilterSkipsFilteringWhenFilterIsEmpty(): voidCODE
LOWtests/tests/FilterProcessorTest.php91 public function testApplyExecutableLinesFilterKeepsOnlyExecutableLines(): voidCODE
LOWtests/tests/FilterProcessorTest.php115 public function testApplyExecutableLinesFilterDoesNotMarkTernaryArmsInArrayLiteralAsNotExecuted(): voidCODE
LOWtests/tests/FilterProcessorTest.php161 public function testApplyExecutableLinesFilterDoesNotMarkPropertyHookBodyAsNotExecutedWhenDriverDoesNotReportIt(): vCODE
LOWtests/tests/FilterProcessorTest.php190 public function testApplyExecutableLinesFilterDoesNotMarkUnexecutedLinesOfPropertyHookBodyAsExecuted(): voidCODE
LOWtests/tests/FilterProcessorTest.php219 public function testApplyExecutableLinesFilterKeepsRawDataForFileThatCannotBeParsed(): voidCODE
LOWtests/tests/FilterProcessorTest.php240 public function testApplyExecutableLinesFilterSkipsNonFilterFiles(): voidCODE
LOWtests/tests/FilterProcessorTest.php261 public function testApplyIgnoredLinesFilterRemovesIgnoredLines(): voidCODE
LOWtests/tests/FilterProcessorTest.php284 public function testApplyIgnoredLinesFilterSkipsNonFilterFiles(): voidCODE
LOWtests/tests/FilterProcessorTest.php305 public function testApplyCoversAndUsesFilterClearsDataWhenLinesToBeCoveredIsFalse(): voidCODE
LOWtests/tests/FilterProcessorTest.php326 public function testApplyCoversAndUsesFilterReturnsEarlyWhenLinesToBeCoveredIsEmpty(): voidCODE
LOWtests/tests/FilterProcessorTest.php350 public function testApplyCoversAndUsesFilterKeepsOnlyCoveredLines(): voidCODE
LOWtests/tests/FilterProcessorTest.php374 public function testApplyCoversAndUsesFilterRemovesFilesNotInCoversList(): voidCODE
LOWtests/tests/FilterProcessorTest.php397 public function testApplyCoversAndUsesFilterRunsUnintentionallyCoveredCodeCheckForSmallTests(): voidCODE
LOWtests/tests/FilterProcessorTest.php418 public function testApplyCoversAndUsesFilterSkipsUnintentionallyCoveredCodeCheckForMediumTests(): voidCODE
LOWtests/tests/FilterProcessorTest.php442 public function testApplyCoversAndUsesFilterSkipsUnintentionallyCoveredCodeCheckForLargeTests(): voidCODE
LOWtests/tests/FilterProcessorTest.php466 public function testApplyCoversAndUsesFilterSkipsUnintentionallyCoveredCodeCheckWhenDisabled(): voidCODE
LOWtests/tests/FilterProcessorTest.php490 public function testUncoveredFilesFromFilterReturnsDataForUncoveredFiles(): voidCODE
LOWtests/tests/FilterProcessorTest.php506 public function testUncoveredFilesFromFilterReturnsEmptyWhenAllFilesAreCovered(): voidCODE
LOWtests/tests/FilterProcessorTest.php527 public function testUncoveredFilesFromFilterReturnsEmptyWhenFilterIsEmpty(): voidCODE
LOWtests/tests/FilterProcessorTest.php538 public function testUncoveredFilesFromFilterSkipsNonExistentFiles(): voidCODE
LOWtests/tests/FilterProcessorTest.php560 public function testUncoveredFilesFromFilterReturnsMultipleFiles(): voidCODE
LOWtests/tests/CodeCoverageTest.php40 public static function sizesForWhichUnintentionallyCoveredCodeIsNotChecked(): arrayCODE
LOWtests/tests/CodeCoverageTest.php51 public static function sizesForWhichUnintentionallyCoveredCodeIsChecked(): arrayCODE
LOWtests/tests/CodeCoverageTest.php119 public function testExcludeNonExecutableLines(): voidCODE
LOWtests/tests/CodeCoverageTest.php176 public function testMergesTheTestsOfAnotherInstance(): voidCODE
LOWtests/tests/CodeCoverageTest.php280 public function testEnableAndDisableCheckForUnintentionallyCoveredCode(): voidCODE
LOWtests/tests/CodeCoverageTest.php298 public function testIncludeAndExcludeUncoveredFiles(): voidCODE
LOWtests/tests/CodeCoverageTest.php311 public function testEnableAndDisableAnnotationsForIgnoringCode(): voidCODE
LOWtests/tests/CodeCoverageTest.php329 public function testIgnoreAndDoNotIgnoreDeprecatedCode(): voidCODE
LOWtests/tests/CodeCoverageTest.php342 public function testCacheStaticAnalysisAndDoNotCacheStaticAnalysis(): voidCODE
LOWtests/tests/CodeCoverageTest.php364 public function testCacheDirectoryReturnsCacheDirectory(): voidCODE
LOWtests/tests/CodeCoverageTest.php380 public function testCacheDirectoryThrowsWhenNotConfigured(): voidCODE
LOWtests/tests/CodeCoverageTest.php392 public function testDisableBranchAndPathCoverageAndCollectsBranchAndPathCoverage(): voidCODE
LOWtests/tests/CodeCoverageTest.php406 public function testAppendThrowsWhenIdIsNull(): voidCODE
LOWtests/tests/CodeCoverageTest.php420 public function testAppendReturnsEarlyWhenAppendIsFalse(): voidCODE
LOWtests/tests/CodeCoverageTest.php435 public function testAppendReturnsEarlyWhenLineCoverageIsEmpty(): voidCODE
LOWtests/tests/CodeCoverageTest.php446 public function testGetDataIncludesUncoveredFiles(): voidCODE
LOWtests/tests/CodeCoverageTest.php458 public function testMergeDoesNotAddLinesFromDataForFileThatWasNotExecutedToDataForFileThatWasExecuted(): voidCODE
LOWtests/tests/CodeCoverageTest.php487 public function testGetDataExcludesUncoveredFilesWhenRaw(): voidCODE
LOWtests/tests/CodeCoverageTest.php501 public function testAnalyserUsesCacheWhenConfigured(): voidCODE
LOWtests/tests/CodeCoverageTest.php521 public function testDisableAnnotationsForIgnoringCodeSkipsIgnoredLinesFilter(): voidCODE
LOWtests/tests/CodeCoverageTest.php537 public function testEmptyTargetCollectionIsValidWithoutBuildingCodeUnitMap(): voidCODE
LOWtests/tests/CodeCoverageTest.php547 public function testFileThatCannotBeParsedHasCoverageBasedOnRawDriverData(): voidCODE
LOWtests/tests/CodeCoverageTest.php579 public function testDataNotFilteredUsingTargetsIsNotCollectedByDefault(): voidCODE
LOWtests/tests/CodeCoverageTest.php590 public function testDataNotFilteredUsingTargetsIsNotNarrowedToTargetsOfTest(): voidCODE
LOWtests/tests/CodeCoverageTest.php608 public function testDataNotFilteredUsingTargetsIsCollectedForTestThatCoversNothing(): voidCODE
LOWtests/tests/CodeCoverageTest.php623 public function testDataNotFilteredUsingTargetsIsDiscardedWhenTheNextTestStarts(): voidCODE
LOWtests/tests/CodeCoverageTest.php634 public function testDataNotFilteredUsingTargetsIsDiscardedWhenCollectedDataIsCleared(): voidCODE
LOWtests/tests/CodeCoverageTest.php645 public function testCollectionOfDataNotFilteredUsingTargetsCanBeDisabled(): voidCODE
LOWtests/tests/CodeCoverageTest.php657 public function testAppendDoesNotCheckForUnintentionallyCoveredCodeWhenSizePassedIsMediumOrLarge(TestSize $size): voCODE
LOWtests/tests/CodeCoverageTest.php670 public function testAppendChecksForUnintentionallyCoveredCodeWhenSizeIsNeitherMediumNorLarge(?TestSize $size): voidCODE
LOWtests/tests/CodeCoverageTest.php679 public function testSizePassedToAppendTakesPrecedenceOverSizePassedToStart(): voidCODE
814 more matches not shown…
Over-Commented Block1 hit · 1 pts
SeverityFileLineSnippetContext
LOWtests/tests/Report/XmlTest.php21use SebastianBergmann\CodeCoverage\Node\Builder;COMMENT