Traverses array structures and object graphs to enumerate all referenced objects
This report summarizes scanner evidence for sebastianbergmann/object-enumerator, a PHP project with 6,526 GitHub stars. SynthScan examined 1,858 lines of code across 26 source files, recording 26 pattern matches distributed across 1 syntactic category. The legacy adjusted pattern signal is 14.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.
Can maintainers explain intent, assumptions, and trade-offs? 26 finding(s).
Are imports declared and package/API names verified? 0 finding(s).
Are wrappers, guards, and repeated structures necessary? 26 finding(s).
Which changes need focused human review? 26 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 26 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/unit/EnumeratorTest.php | 34 | public function testEnumeratesArrayWithNoObjects(): void | CODE |
| LOW⚡ | tests/unit/EnumeratorTest.php | 39 | public function testEnumeratesSingleObject(): void | CODE |
| LOW⚡ | tests/unit/EnumeratorTest.php | 49 | public function testEnumeratesArrayWithSingleObject(): void | CODE |
| LOW⚡ | tests/unit/EnumeratorTest.php | 59 | public function testEnumeratesArrayWithTwoReferencesToTheSameObject(): void | CODE |
| LOW⚡ | tests/unit/EnumeratorTest.php | 69 | public function testEnumeratesArrayOfObjects(): void | CODE |
| LOW⚡ | tests/unit/EnumeratorTest.php | 265 | public function testEnumeratesObjectWithBackedHookedPropertyThatIsNull(): void | CODE |
| LOW⚡ | tests/unit/EnumeratorTest.php | 275 | public function testDoesNotEnumerateObjectsReturnedByVirtualProperty(): void | CODE |
| LOW⚡ | tests/unit/EnumeratorTest.php | 285 | public function testDoesNotInvokeGetHookOfHookedProperty(): void | CODE |
| LOW⚡ | tests/unit/EnumeratorTest.php | 295 | public function testDoesNotInitializeLazyGhost(): void | CODE |
| LOW | tests/unit/EnumeratorTest.php | 81 | public function testEnumeratesObjectWithAggregatedObject(): void | CODE |
| LOW | tests/unit/EnumeratorTest.php | 96 | public function testEnumeratesObjectWithAggregatedObjectsInArray(): void | CODE |
| LOW | tests/unit/EnumeratorTest.php | 110 | public function testEnumeratesObjectsWithCyclicReferences(): void | CODE |
| LOW | tests/unit/EnumeratorTest.php | 125 | public function testEnumeratesObjectWithAggregatedObjectsInNestedArrays(): void | CODE |
| LOW | tests/unit/EnumeratorTest.php | 139 | public function testEnumeratesArrayWithTwoReferencesToTheSameArray(): void | CODE |
| LOW | tests/unit/EnumeratorTest.php | 150 | public function testEnumeratesPrivateProtectedAndInheritedProperties(): void | CODE |
| LOW | tests/unit/EnumeratorTest.php | 169 | public function testEnumeratesPropertiesDeclaredInParentClass(): void | CODE |
| LOW | tests/unit/EnumeratorTest.php | 182 | public function testEnumeratesArrayThatReferencesItself(): void | CODE |
| LOW | tests/unit/EnumeratorTest.php | 195 | public function testEnumeratesArraysThatReferenceEachOther(): void | CODE |
| LOW | tests/unit/EnumeratorTest.php | 212 | public function testEnumeratesObjectThatAggregatesArrayThatReferencesItself(): void | CODE |
| LOW | tests/unit/EnumeratorTest.php | 229 | public function testDoesNotModifyArrayThatIsEnumerated(): void | CODE |
| LOW | tests/unit/EnumeratorTest.php | 238 | public function testDoesNotEnumerateObjectsAlreadyContainedInContextThatIsPassed(): void | CODE |
| LOW | tests/unit/EnumeratorTest.php | 253 | public function testEnumeratesObjectAggregatedUsingBackedHookedProperty(): void | CODE |
| LOW | tests/unit/EnumeratorTest.php | 315 | public function testDoesNotInitializeLazyProxy(): void | CODE |
| LOW | tests/unit/EnumeratorTest.php | 338 | public function testDoesNotInitializeLazyObjectThatIsAggregatedByAnotherObject(): void | CODE |
| LOW | tests/unit/EnumeratorTest.php | 362 | public function testEnumeratesObjectsAggregatedByInitializedLazyObject(): void | CODE |
| LOW | tests/unit/EnumeratorTest.php | 385 | public function testEnumeratesClassThatThrowsException(): void | CODE |