AI Slop Code RIsk Monitor

symfony/finder

Finds files and directories via an intuitive fluent interface

8.2 Moderate pattern signal View on GitHub

Maintenance and Governance Review

This report summarizes scanner evidence for symfony/finder, a PHP project with 8,432 GitHub stars. SynthScan examined 8,677 lines of code across 66 source files, recording 70 pattern matches distributed across 2 syntactic categories. The legacy adjusted pattern signal is 8.2 (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.

8.2
Adjusted Signal
8.2
Raw Pattern Score
100%
Time Factor
2026-09-29
Last Push
8.4K
Stars
PHP
Language
8.7K
Lines of Code
66
Files
70
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 22.8/100 · LOW

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

Hallucinated Dependency & Supply Chain Risk 13.9/100 · LOW

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

Agent Over-Engineering Ratio 22.8/100 · LOW

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

PR Review Velocity Impact 33.2/100 · MEDIUM

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

Run additional scans to build a history of the legacy pattern signal. Score changes are not a measure of AI adoption or code quality.

No multi-scan history yet — run the scanner again to build trend data.

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 70

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 70 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 Identifiers51 hits · 45 pts
SeverityFileLineSnippetContext
LOWSplFileInfo.php54 public function getFilenameWithoutExtension(): stringCODE
LOWFinder.php481 public function sortByCaseInsensitiveName(bool $useNaturalSort = false): staticCODE
LOWGitignore.php32 public static function toRegexMatchingNegatedPatterns(string $gitignoreFileContent): stringCODE
LOWTests/GlobTest.php20 public function testGlobToRegexDelimiters()CODE
LOWTests/GlobTest.php28 public function testGlobToRegexDoubleStarStrictDots()CODE
LOWTests/GlobTest.php45 public function testGlobToRegexDoubleStarNonStrictDots()CODE
LOWTests/GlobTest.php62 public function testGlobToRegexDoubleStarWithoutLeadingSlash()CODE
LOWTests/GlobTest.php79 public function testGlobToRegexDoubleStarWithoutLeadingSlashNotStrictLeadingDot()CODE
LOWTests/GlobTest.php96 public function testGlobToRegexDoubleStarMatchesRootFiles()CODE
LOWTests/GlobTest.php116 public function testGlobToRegexMergesConsecutiveStarsWhenWildcardsCrossSlashes()CODE
LOWTests/GitignoreTest.php57 public function testToRegexWithMorePatternsThanTheRegexNestingLimit()CODE
LOWTests/GitignoreTest.php465 public function testToRegexMatchingNegatedPatterns(array $gitignoreLines, array $matchingCases, array $nonMatchingCaCODE
LOWTests/GitignoreTest.php497 public static function provideNegatedPatternsCases(): iterableCODE
LOWTests/FinderOpenBasedirTest.php20 public function testIgnoreVCSIgnoredWithOpenBasedir()CODE
LOW⚡Tests/FinderTest.php1697 public function testAppendEmptyIterableAllowsIteration()CODE
LOW⚡Tests/FinderTest.php1704 public function testAppendDoesNotRequireIn()CODE
LOW⚡Tests/FinderTest.php1714 public function testMultipleAppendCallsWithSorting()CODE
LOWTests/FinderTest.php128 public function testBackPathNotNormalized()CODE
LOWTests/FinderTest.php294 public function testNotNameWithArrayParam()CODE
LOWTests/FinderTest.php438 public function testExcludeRootRelativePath()CODE
LOWTests/FinderTest.php571 public function testIgnoreVCSIgnoredUpToFirstGitRepositoryRoot()CODE
LOWTests/FinderTest.php591 public function testIgnoreVCSCanBeDisabledAfterFirstIteration()CODE
LOWTests/FinderTest.php735 public function testIgnoreDotFilesCanBeDisabledAfterFirstIteration()CODE
LOWTests/FinderTest.php994 public function testSortByNameCaseInsensitive()CODE
LOWTests/FinderTest.php1078 public function testSortAcrossDirectories()CODE
LOWTests/FinderTest.php1183 public function testFilterPruneNestedDirectory()CODE
LOWTests/FinderTest.php1209 public function testFilterPruneWithExcludedPath()CODE
LOWTests/FinderTest.php1315 public function testInWithNonExistentDirectory()CODE
LOWTests/FinderTest.php1322 public function testInWithNonExistentDirectoryLegacyException()CODE
LOWTests/FinderTest.php1337 public function testInWithNonDirectoryGlob()CODE
LOWTests/FinderTest.php1443 public function testGetFilenameWithoutExtension()CODE
LOWTests/FinderTest.php1503 public function testAppendStandardizesItemsToBeSymfonySplFileInfo()CODE
LOWTests/FinderTest.php1520 public function testRelativePathWithoutAppend()CODE
LOWTests/FinderTest.php1552 public function testRelativePathWithAppendedFinderForParentDirectory()CODE
LOWTests/FinderTest.php1593 public function testRelativePathWithAppendedFinderForChildDirectory()CODE
LOWTests/FinderTest.php1628 public function testRelativePathWithAppendedPaths()CODE
LOWTests/FinderTest.php1663 public function testRelativePathWithAppendedOnEmptyFinder()CODE
LOWTests/FinderTest.php1792 public function testNotContainsOnDirectory()CODE
LOWTests/FinderTest.php1833 public function testMultipleLocationsWithSubDirectories()CODE
LOWTests/FinderTest.php1863 public function testRegexSpecialCharsLocationWithPathRestrictionContainingStartFlag()CODE
LOWTests/FinderTest.php1982 public function testAccessDeniedException()CODE
LOWTests/FinderTest.php2018 public function testIgnoredAccessDeniedException()CODE
LOWTests/FinderTest.php2074 public function testNormalizeDirKeepsTrailingSlashForStreamWrappers()CODE
LOWTests/Iterator/IteratorTestCase.php49 protected function assertOrderedIteratorForGroups(array $expected, \Traversable $iterator)CODE
LOWTests/Iterator/IteratorTestCase.php84 protected function assertOrderedIteratorInForeach(array $expected, \Traversable $iterator)CODE
LOWTests/Iterator/RecursiveDirectoryIteratorTest.php68 public function testTrailingDirectorySeparatorIsStripped()CODE
LOWTests/Iterator/LazyIteratorTest.php35 public function testInnerDestructedAtTheEnd()CODE
LOWTests/Iterator/VcsIgnoredFilterIteratorTest.php484 public function testAcceptAtRootDirectory()CODE
LOWTests/Iterator/VcsIgnoredFilterIteratorTest.php493 public function testAcceptWithSymlinkedBaseDirectory()CODE
LOWTests/Iterator/FileTypeFilterIteratorTest.php67 public function testDanglingSymlinkIsNeitherAFileNorADirectory()CODE
LOWIterator/VcsIgnoredFilterIterator.php136 private function parentDirectoriesDownwards(string $fileRealPath): arrayCODE
Fake / Example Data19 hits · 26 pts
SeverityFileLineSnippetContext
LOWFinder.php209 * $finder->contains('Lorem ipsum')COMMENT
LOWFinder.php211 * $finder->contains('/Lorem ipsum/i')COMMENT
LOWFinder.php233 * $finder->notContains('Lorem ipsum')COMMENT
LOWFinder.php235 * $finder->notContains('/Lorem ipsum/i')COMMENT
LOW⚡Tests/FinderTest.php1879 ['lorem ipsum dolor sit amet', 'foobar', ['lorem.txt']],CODE
LOW⚡Tests/FinderTest.php1879 ['lorem ipsum dolor sit amet', 'foobar', ['lorem.txt']],CODE
LOW⚡Tests/FinderTest.php1881 ['dolor sit amet', '@^L@m', ['dolor.txt', 'ipsum.txt']],CODE
LOW⚡Tests/FinderTest.php1882 ['/^lorem ipsum dolor sit amet$/m', 'foobar', ['lorem.txt']],CODE
LOW⚡Tests/FinderTest.php1882 ['/^lorem ipsum dolor sit amet$/m', 'foobar', ['lorem.txt']],CODE
LOW⚡Tests/FinderTest.php1885 ['ipsum dolor sit amet', '/^IPSUM/m', ['lorem.txt']],CODE
LOWTests/Iterator/FilecontentFilterIteratorTest.php53 'contents' => 'Lorem ipsum...',CODE
LOWTests/Fixtures/dolor.txt1dolor sit ametCODE
LOWTests/Fixtures/dolor.txt2DOLOR SIT AMETCODE
LOWTests/Fixtures/ipsum.txt1ipsum dolor sit ametCODE
LOWTests/Fixtures/ipsum.txt2IPSUM DOLOR SIT AMETCODE
LOW⚡Tests/Fixtures/lorem.txt1lorem ipsum dolor sit ametCODE
LOW⚡Tests/Fixtures/lorem.txt1lorem ipsum dolor sit ametCODE
LOW⚡Tests/Fixtures/lorem.txt2LOREM IPSUM DOLOR SIT AMETCODE
LOW⚡Tests/Fixtures/lorem.txt2LOREM IPSUM DOLOR SIT AMETCODE