Provides the functionality to export PHP variables for visualization
This report summarizes scanner evidence for sebastianbergmann/exporter, a PHP project with 6,810 GitHub stars. SynthScan examined 4,187 lines of code across 39 source files, recording 47 pattern matches distributed across 1 syntactic category. The legacy adjusted pattern signal is 9.8 (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.
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? 47 finding(s).
Are imports declared and package/API names verified? 0 finding(s).
Are wrappers, guards, and repeated structures necessary? 47 finding(s).
Which changes need focused human review? 47 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 47 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.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tests/ExporterTest.php | 410 | public static function provideNonBinaryMultibyteStrings(): array | CODE |
| LOW | tests/ExporterTest.php | 422 | public static function shortenedRecursiveExportProvider(): array | CODE |
| LOW | tests/ExporterTest.php | 559 | public function testShortenedExportForMultibyteCharacters(): void | CODE |
| LOW | tests/ExporterTest.php | 586 | public function testNonBinaryStringExport(string $value, int $expectedLength): void | CODE |
| LOW | tests/ExporterTest.php | 594 | public function testNonObjectCanBeReturnedAsArray(): void | CODE |
| LOW | tests/ExporterTest.php | 608 | public function testPrivatePropertyRedeclaredInDerivedClassIsNotOverwritten(): void | CODE |
| LOW | tests/ExporterTest.php | 626 | public function testShortenedRecursiveExport(array $value, string $expected, int $limit): void | CODE |
| LOW | tests/ExporterTest.php | 631 | public function testShortenedRecursiveOccurredRecursion(): void | CODE |
| LOW | tests/ExporterTest.php | 644 | public function testShortenedExportDoesNotInitializeLazyObject(): void | CODE |
| LOW | tests/ExporterTest.php | 655 | public function testObjectCanBeExportedByCustomObjectExporter(): void | CODE |
| LOW | tests/ExporterTest.php | 673 | public function testObjectCanBeExportedByCustomObjectExporterThatIsNotComposedIntoChain(): void | CODE |
| LOW | tests/ExporterTest.php | 687 | public function testObjectNestedInArrayCanBeExportedByCustomObjectExporter(): void | CODE |
| LOW | tests/ExporterTest.php | 709 | public function testObjectNestedInObjectCanBeExportedByCustomObjectExporter(): void | CODE |
| LOW | tests/ExporterTest.php | 734 | public function testEveryOccurrenceOfObjectHandledByCustomObjectExporterIsExportedByThatObjectExporter(): void | CODE |
| LOW | tests/ExporterTest.php | 759 | public function testRepeatedOccurrenceOfObjectNotHandledByCustomObjectExporterIsReplacedWithReferenceToObject(): voi | CODE |
| LOW | tests/ExporterTest.php | 784 | public function testDefaultExportIsUsedWhenNoCustomObjectExporterHandlesObject(): void | CODE |
| LOW | tests/ExporterTest.php | 802 | public function testEnumCanBeExportedByCustomObjectExporter(): void | CODE |
| LOW | tests/ExporterTest.php | 825 | public function testDefaultExportIsUsedForEnumWhenNoCustomObjectExporterHandlesIt(): void | CODE |
| LOW | tests/ExporterTest.php | 848 | public function testShortenedExportUsesRepresentationProvidedByCustomObjectExporter(): void | CODE |
| LOW | tests/ExporterTest.php | 867 | public function testShortenedExportCollapsesRepresentationProvidedByCustomObjectExporterToSingleLine(): void | CODE |
| LOW | tests/ExporterTest.php | 881 | public function testShortenedExportShortensRepresentationProvidedByCustomObjectExporter(): void | CODE |
| LOW | tests/ExporterTest.php | 895 | public function testShortenedRecursiveExportUsesRepresentationProvidedByCustomObjectExporter(): void | CODE |
| LOW | tests/ExporterTest.php | 911 | public function testShortenedExportDoesNotRecurseInfinitelyForObjectNestedInItself(): void | CODE |
| LOW | tests/ExporterTest.php | 928 | public function testShortenedExportUsesDefaultRepresentationWhenNoCustomObjectExporterHandlesObject(): void | CODE |
| LOW | tests/ExporterTest.php | 942 | public function testKnowsThatCustomObjectExporterProvidesRepresentationForObjectItHandles(): void | CODE |
| LOW | tests/ExporterTest.php | 957 | public function testKnowsThatCustomObjectExporterDoesNotProvideRepresentationForObjectItDoesNotHandle(): void | CODE |
| LOW | tests/ExporterTest.php | 972 | public function testKnowsThatNoCustomObjectExporterProvidesRepresentationForObjectWhenNoneIsConfigured(): void | CODE |
| LOW | tests/ExporterTest.php | 977 | public function testCustomObjectExporterCanExportValuesNestedInObjectItHandles(): void | CODE |
| LOW | tests/ExporterTest.php | 999 | public function testArrayExportedByCustomObjectExporterDoesNotReuseReferenceToOtherArray(): void | CODE |
| LOW | tests/ExporterTest.php | 1023 | public function testObjectNestedInItselfIsNotExportedByCustomObjectExporterAgain(): void | CODE |
| LOW | tests/ExporterTest.php | 1048 | public function testObjectsNestedInEachOtherAreNotExportedByCustomObjectExporterAgain(): void | CODE |
| LOW | tests/ExporterTest.php | 1077 | public function testObjectNestedInItselfIsReplacedWithReferenceProvidedByCustomObjectExporter(): void | CODE |
| LOW | tests/ExporterTest.php | 1098 | public function testObjectsNestedInEachOtherAreReplacedWithReferenceProvidedByCustomObjectExporterComposedIntoChain( | CODE |
| LOW | tests/ExporterTest.php | 1127 | public function testObjectNestedInItselfIsReplacedWithDefaultReferenceWhenCustomObjectExporterDoesNotProvideReferenc | CODE |
| LOW | tests/ExporterTest.php | 1148 | public function testShortenedExportUsesReferenceProvidedByCustomObjectExporterForObjectNestedInItself(): void | CODE |
| LOW | tests/ObjectExporterChainTest.php | 24 | public function testHandlesObjectWhenAtLeastOneComposedObjectExporterHandlesIt(): void | CODE |
| LOW | tests/ObjectExporterChainTest.php | 36 | public function testDoesNotHandleObjectWhenNoComposedObjectExporterHandlesIt(): void | CODE |
| LOW | tests/ObjectExporterChainTest.php | 47 | public function testDelegatesExportingToFirstComposedObjectExporterThatHandlesObject(): void | CODE |
| LOW | tests/ObjectExporterChainTest.php | 68 | public function testCannotExportObjectWhenNoComposedObjectExporterHandlesIt(): void | CODE |
| LOW | tests/ObjectExporterChainTest.php | 81 | public function testDelegatesExportingReferenceToFirstComposedObjectExporterThatHandlesObject(): void | CODE |
| LOW | tests/ObjectExporterChainTest.php | 94 | public function testDoesNotExportReferenceWhenFirstComposedObjectExporterThatHandlesObjectDoesNotExportReferences(): | CODE |
| LOW | tests/ObjectExporterChainTest.php | 106 | public function testDoesNotExportReferenceWhenNoComposedObjectExporterHandlesObject(): void | CODE |
| LOW⚡ | src/ExportContext.php | 68 | public function isBeingExportedByObjectExporter(object $object): bool | CODE |
| LOW⚡ | src/ExportContext.php | 73 | public function beginExportByObjectExporter(object $object): void | CODE |
| LOW⚡ | src/ExportContext.php | 78 | public function endExportByObjectExporter(object $object): void | CODE |
| LOW | src/Exporter.php | 218 | public function hasCustomRepresentationFor(object $object): bool | CODE |
| LOW | src/Exporter.php | 363 | private function shortenedCountedRecursiveExport(array &$data, RecursionContext $processed, int &$counter, int $maxL | CODE |