Provides the functionality to export PHP variables for visualization
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.
Use each vector to guide manual verification of the underlying findings.
Can maintainers explain intent, assumptions, and trade-offs? 40 finding(s).
Are imports declared and package/API names verified? 0 finding(s).
Are wrappers, guards, and repeated structures necessary? 40 finding(s).
Which changes need focused human review? 40 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 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.
| 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/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⚡ | 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 | 216 | public function hasCustomRepresentationFor(object $object): bool | CODE |
| LOW | src/Exporter.php | 361 | private function shortenedCountedRecursiveExport(array &$data, RecursionContext $processed, int &$counter, int $maxL | CODE |