AI Slop Code RIsk Monitor

sebastianbergmann/exporter

Provides the functionality to export PHP variables for visualization

9.3 Moderate pattern signal View on GitHub

Maintenance and Governance Review

This report summarizes scanner evidence for sebastianbergmann/exporter, a PHP project with 6,809 GitHub stars. SynthScan examined 3,879 lines of code across 37 source files, recording 40 pattern matches distributed across 1 syntactic category. The legacy adjusted pattern signal is 9.3 (Moderate 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.

9.3
Adjusted Signal
9.3
Raw Pattern Score
100%
Time Factor
2026-10-09
Last Push
6.8K
Stars
PHP
Language
3.9K
Lines of Code
37
Files
40
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 37.1/100 · MEDIUM

Can maintainers explain intent, assumptions, and trade-offs? 40 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 37.1/100 · MEDIUM

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

PR Review Velocity Impact 40.3/100 · MEDIUM

Which changes need focused human review? 40 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 40

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 40 distinct pattern matches across 1 syntactic category. 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 Identifiers40 hits · 36 pts
SeverityFileLineSnippetContext
LOWtests/ExporterTest.php410 public static function provideNonBinaryMultibyteStrings(): arrayCODE
LOWtests/ExporterTest.php422 public static function shortenedRecursiveExportProvider(): arrayCODE
LOWtests/ExporterTest.php559 public function testShortenedExportForMultibyteCharacters(): voidCODE
LOWtests/ExporterTest.php586 public function testNonBinaryStringExport(string $value, int $expectedLength): voidCODE
LOWtests/ExporterTest.php594 public function testNonObjectCanBeReturnedAsArray(): voidCODE
LOWtests/ExporterTest.php608 public function testPrivatePropertyRedeclaredInDerivedClassIsNotOverwritten(): voidCODE
LOWtests/ExporterTest.php626 public function testShortenedRecursiveExport(array $value, string $expected, int $limit): voidCODE
LOWtests/ExporterTest.php631 public function testShortenedRecursiveOccurredRecursion(): voidCODE
LOWtests/ExporterTest.php644 public function testShortenedExportDoesNotInitializeLazyObject(): voidCODE
LOWtests/ExporterTest.php655 public function testObjectCanBeExportedByCustomObjectExporter(): voidCODE
LOWtests/ExporterTest.php673 public function testObjectCanBeExportedByCustomObjectExporterThatIsNotComposedIntoChain(): voidCODE
LOWtests/ExporterTest.php687 public function testObjectNestedInArrayCanBeExportedByCustomObjectExporter(): voidCODE
LOWtests/ExporterTest.php709 public function testObjectNestedInObjectCanBeExportedByCustomObjectExporter(): voidCODE
LOWtests/ExporterTest.php734 public function testEveryOccurrenceOfObjectHandledByCustomObjectExporterIsExportedByThatObjectExporter(): voidCODE
LOWtests/ExporterTest.php759 public function testRepeatedOccurrenceOfObjectNotHandledByCustomObjectExporterIsReplacedWithReferenceToObject(): voiCODE
LOWtests/ExporterTest.php784 public function testDefaultExportIsUsedWhenNoCustomObjectExporterHandlesObject(): voidCODE
LOWtests/ExporterTest.php802 public function testEnumCanBeExportedByCustomObjectExporter(): voidCODE
LOWtests/ExporterTest.php825 public function testDefaultExportIsUsedForEnumWhenNoCustomObjectExporterHandlesIt(): voidCODE
LOWtests/ExporterTest.php848 public function testShortenedExportUsesRepresentationProvidedByCustomObjectExporter(): voidCODE
LOWtests/ExporterTest.php867 public function testShortenedExportCollapsesRepresentationProvidedByCustomObjectExporterToSingleLine(): voidCODE
LOWtests/ExporterTest.php881 public function testShortenedExportShortensRepresentationProvidedByCustomObjectExporter(): voidCODE
LOWtests/ExporterTest.php895 public function testShortenedRecursiveExportUsesRepresentationProvidedByCustomObjectExporter(): voidCODE
LOWtests/ExporterTest.php911 public function testShortenedExportDoesNotRecurseInfinitelyForObjectNestedInItself(): voidCODE
LOWtests/ExporterTest.php928 public function testShortenedExportUsesDefaultRepresentationWhenNoCustomObjectExporterHandlesObject(): voidCODE
LOWtests/ExporterTest.php942 public function testKnowsThatCustomObjectExporterProvidesRepresentationForObjectItHandles(): voidCODE
LOWtests/ExporterTest.php957 public function testKnowsThatCustomObjectExporterDoesNotProvideRepresentationForObjectItDoesNotHandle(): voidCODE
LOWtests/ExporterTest.php972 public function testKnowsThatNoCustomObjectExporterProvidesRepresentationForObjectWhenNoneIsConfigured(): voidCODE
LOWtests/ExporterTest.php977 public function testCustomObjectExporterCanExportValuesNestedInObjectItHandles(): voidCODE
LOWtests/ExporterTest.php999 public function testArrayExportedByCustomObjectExporterDoesNotReuseReferenceToOtherArray(): voidCODE
LOWtests/ExporterTest.php1023 public function testObjectNestedInItselfIsNotExportedByCustomObjectExporterAgain(): voidCODE
LOWtests/ExporterTest.php1048 public function testObjectsNestedInEachOtherAreNotExportedByCustomObjectExporterAgain(): voidCODE
LOWtests/ObjectExporterChainTest.php24 public function testHandlesObjectWhenAtLeastOneComposedObjectExporterHandlesIt(): voidCODE
LOWtests/ObjectExporterChainTest.php36 public function testDoesNotHandleObjectWhenNoComposedObjectExporterHandlesIt(): voidCODE
LOWtests/ObjectExporterChainTest.php47 public function testDelegatesExportingToFirstComposedObjectExporterThatHandlesObject(): voidCODE
LOWtests/ObjectExporterChainTest.php68 public function testCannotExportObjectWhenNoComposedObjectExporterHandlesIt(): voidCODE
LOW⚡src/ExportContext.php68 public function isBeingExportedByObjectExporter(object $object): boolCODE
LOW⚡src/ExportContext.php73 public function beginExportByObjectExporter(object $object): voidCODE
LOW⚡src/ExportContext.php78 public function endExportByObjectExporter(object $object): voidCODE
LOWsrc/Exporter.php216 public function hasCustomRepresentationFor(object $object): boolCODE
LOWsrc/Exporter.php361 private function shortenedCountedRecursiveExport(array &$data, RecursionContext $processed, int &$counter, int $maxLCODE