Eases the creation of beautiful and testable command line interfaces
This report presents the forensic synthetic code analysis of symfony/console, a PHP project with 9,816 GitHub stars. SynthScan v2.0 examined 55,508 lines of code across 511 source files, recording 876 pattern matches distributed across 5 syntactic categories. The overall adjusted score of 16.4 places this repository in the Moderate AI signal band.
The scanner applied 160+ deterministic lexical heuristics, multi-line block detectors, abstract syntax tree depth profilers, and a cross-file Jaccard similarity matrix to construct a statistically normalised synthetic code estimate. All matches are individually weighted by severity coefficient and contextual multiplier before summation, and the resulting headline score is temporally discounted to account for the repository's development history relative to the commercial emergence of large language model coding tooling (November 2022 onward).
This chart maps the temporal evolution of the adjusted synthetic code score across successive scan runs. An upward trajectory indicates ongoing incorporation of AI-generated code or expanding LLM-assisted scaffolding; a stable or declining trajectory may reflect active human refactoring, code removal, or the adoption of stricter authorship policies. The dashed secondary line (right axis) independently tracks total raw pattern hit count, which can diverge from the normalised score when codebase size changes significantly between scans.
Classifies detected patterns by their diagnostic confidence and structural impact. CRITICAL patterns (coefficient 10) represent definitive synthetic signatures — hallucinated imports, explicit LLM attribution metadata — virtually never produced by human authors. HIGH (5) indicates strong structural tells such as cross-file repetition or cross-linguistic idioms. MEDIUM (2) covers recognisable conversational padding and AI-specific vocabulary. LOW (1) captures subtle indicators like tautological comments and generic boilerplate that require density to carry independent signal.
This horizontal bar chart decomposes the repository's raw synthetic code score by top-level directory, allowing you to pinpoint precisely which modules or components carry the highest AI authorship density. Directories with disproportionately high scores relative to their size warrant targeted manual review: concentrated AI signatures often trace back to mass-generated configuration layers, auto-ported test suites, LLM-scaffolded boilerplate classes, or entire subsystems authored under heavy copilot assistance. Use this view to prioritise your human code-review effort.
The scanner identified 876 distinct pattern matches across 5 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a statistically significant AI authorship indicator. 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 diagnostic confidence level (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — comment-context matches receive a ×1.5 weight because LLMs systematically over-annotate. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier as dense clusters constitute far stronger evidence of synthetic authorship than isolated hits.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | Application.php | 150 | public function setSignalsToDispatchEvent(int ...$signalsToDispatchEvent): void | CODE |
| LOW | Application.php | 1183 | protected function getDefaultInputDefinition(): InputDefinition | CODE |
| LOW | Application.php | 1223 | private function getAbbreviationSuggestions(array $abbrevs): string | CODE |
| LOW | Application.php | 1385 | private function registerContainerServices(): void | CODE |
| LOW | CI/GithubActionReporter.php | 48 | public static function isGithubActionEnvironment(): bool | CODE |
| LOW | ArgumentResolver/ArgumentResolver.php | 145 | public static function getDefaultArgumentValueResolvers(): iterable | CODE |
| LOW | Tests/TerminalTest.php | 152 | public function testSupportsKittyGraphics(?string $termProgram, ?string $term, ?string $ghosttyResources, ?string $k | CODE |
| LOW | Tests/TerminalTest.php | 220 | public function testSupportsImageProtocol() | CODE |
| LOW | Tests/TerminalTest.php | 239 | public function testSetKittyGraphicsSupport() | CODE |
| LOW⚡ | Tests/ApplicationTest.php | 332 | public function testAddCommandWithEmptyConstructor() | CODE |
| LOW⚡ | Tests/ApplicationTest.php | 340 | public function testAddCommandWithExtendedCommand() | CODE |
| LOW⚡ | Tests/ApplicationTest.php | 349 | public function testAddCommandWithInvokableCommand() | CODE |
| LOW⚡ | Tests/ApplicationTest.php | 359 | public function testAddCommandWithInvokableExtendedCommand() | CODE |
| LOW⚡ | Tests/ApplicationTest.php | 369 | public function testAddCommandThrowsExceptionOnInvalidCommand(callable $command, string $expectedException, string $ | CODE |
| LOW⚡ | Tests/ApplicationTest.php | 379 | public static function provideInvalidInvokableCommands(): iterable | CODE |
| LOW⚡ | Tests/ApplicationTest.php | 670 | public function testFindWithAmbiguousAbbreviationsFindsCommandIfAlternativesAreHidden() | CODE |
| LOW⚡ | Tests/ApplicationTest.php | 680 | public function testFindCommandEqualNamespace() | CODE |
| LOW⚡ | Tests/ApplicationTest.php | 690 | public function testFindCommandWithAmbiguousNamespacesButUniqueName() | CODE |
| LOW⚡ | Tests/ApplicationTest.php | 699 | public function testFindCommandWithMissingNamespace() | CODE |
| LOW⚡ | Tests/ApplicationTest.php | 708 | public function testFindAlternativeExceptionMessageSingle($name) | CODE |
| LOW⚡ | Tests/ApplicationTest.php | 2046 | public function testGetDisabledLazyCommand() | CODE |
| LOW⚡ | Tests/ApplicationTest.php | 2056 | public function testHasReturnsFalseForDisabledLazyCommand() | CODE |
| LOW⚡ | Tests/ApplicationTest.php | 2063 | public function testAllExcludesDisabledLazyCommand() | CODE |
| LOW⚡ | Tests/ApplicationTest.php | 2070 | public function testFindAlternativesDoesNotLoadSameNamespaceCommandsOnExactMatch() | CODE |
| LOW⚡ | Tests/ApplicationTest.php | 2414 | public function testSignalableRestoresStty() | CODE |
| LOW⚡ | Tests/ApplicationTest.php | 2422 | public function testTerminalInputHelperRestoresStty(string $option) | CODE |
| LOW⚡ | Tests/ApplicationTest.php | 2428 | public static function provideTerminalInputHelperOption() | CODE |
| LOW | Tests/ApplicationTest.php | 168 | public function testGetLongVersionWithContainer() | CODE |
| LOW | Tests/ApplicationTest.php | 180 | public function testContainerWiresEventDispatcher() | CODE |
| LOW | Tests/ApplicationTest.php | 192 | public function testContainerWiresCommandLoader() | CODE |
| LOW | Tests/ApplicationTest.php | 204 | public function testContainerWiresEagerCommands() | CODE |
| LOW | Tests/ApplicationTest.php | 215 | public function testPsrContainerWiresEagerCommands() | CODE |
| LOW | Tests/ApplicationTest.php | 230 | public function testPsrContainerSkipsLazyCommands() | CODE |
| LOW | Tests/ApplicationTest.php | 246 | public function testApplicationWithoutContainer() | CODE |
| LOW | Tests/ApplicationTest.php | 412 | public function testHasGetWithCommandLoader() | CODE |
| LOW | Tests/ApplicationTest.php | 474 | public function testFindNamespaceWithSubnamespaces() | CODE |
| LOW | Tests/ApplicationTest.php | 482 | public function testFindAmbiguousNamespace() | CODE |
| LOW | Tests/ApplicationTest.php | 497 | public function testFindAmbiguousNamespaceSortedAlphabetically() | CODE |
| LOW | Tests/ApplicationTest.php | 526 | public function testFindUniqueNameButNamespaceName() | CODE |
| LOW | Tests/ApplicationTest.php | 551 | public function testFindCaseSensitiveFirst() | CODE |
| LOW | Tests/ApplicationTest.php | 563 | public function testFindCaseInsensitiveAsFallback() | CODE |
| LOW | Tests/ApplicationTest.php | 573 | public function testFindCaseInsensitiveSuggestions() | CODE |
| LOW | Tests/ApplicationTest.php | 585 | public function testFindSingleWithAmbiguousAliases() | CODE |
| LOW | Tests/ApplicationTest.php | 597 | public function testFindWithCommandLoader() | CODE |
| LOW | Tests/ApplicationTest.php | 612 | public function testFindWithAmbiguousAbbreviations($abbreviation, $expectedExceptionMessage) | CODE |
| LOW | Tests/ApplicationTest.php | 626 | public static function provideAmbiguousAbbreviations() | CODE |
| LOW | Tests/ApplicationTest.php | 647 | public function testFindAmbiguousCommandsSortedAlphabetically() | CODE |
| LOW | Tests/ApplicationTest.php | 719 | public function testDontRunAlternativeNamespaceName() | CODE |
| LOW | Tests/ApplicationTest.php | 729 | public function testCanRunAlternativeCommandName() | CODE |
| LOW | Tests/ApplicationTest.php | 743 | public function testDontRunAlternativeCommandName() | CODE |
| LOW | Tests/ApplicationTest.php | 757 | public static function provideInvalidCommandNamesSingle() | CODE |
| LOW | Tests/ApplicationTest.php | 781 | public function testFindAlternativeExceptionMessageMultiple() | CODE |
| LOW | Tests/ApplicationTest.php | 824 | public function testFindAlternativeCommands() | CODE |
| LOW | Tests/ApplicationTest.php | 856 | public function testFindAlternativeCommandsWithAnAlias() | CODE |
| LOW | Tests/ApplicationTest.php | 872 | public function testFindAlternativeNamespace() | CODE |
| LOW | Tests/ApplicationTest.php | 907 | public function testFindAlternativesOutput() | CODE |
| LOW | Tests/ApplicationTest.php | 938 | public function testFindNamespaceDoesNotFailOnDeepSimilarNamespaces() | CODE |
| LOW | Tests/ApplicationTest.php | 948 | public function testFindWithDoubleColonInNameThrowsException() | CODE |
| LOW | Tests/ApplicationTest.php | 960 | public function testFindHiddenWithExactName() | CODE |
| LOW | Tests/ApplicationTest.php | 969 | public function testFindAmbiguousCommandsIfAllAlternativesAreHidden() | CODE |
| 601 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | Tests/Tester/CommandTesterTest.php | 468 | 'email' => 'admin@example.com', | CODE |
| LOW⚡ | …/Style/SymfonyStyle/output/output_4_with_iterators.txt | 1 | Lorem ipsum dolor sit amet | CODE |
| LOW⚡ | …/Style/SymfonyStyle/output/output_4_with_iterators.txt | 1 | Lorem ipsum dolor sit amet | CODE |
| LOW⚡ | …/Style/SymfonyStyle/output/output_4_with_iterators.txt | 6 | Lorem ipsum dolor sit amet | CODE |
| LOW⚡ | …/Style/SymfonyStyle/output/output_4_with_iterators.txt | 6 | Lorem ipsum dolor sit amet | CODE |
| LOW⚡ | …/Style/SymfonyStyle/output/output_4_with_iterators.txt | 11 | Lorem ipsum dolor sit amet | CODE |
| LOW⚡ | …/Style/SymfonyStyle/output/output_4_with_iterators.txt | 11 | Lorem ipsum dolor sit amet | CODE |
| LOW⚡ | …/Style/SymfonyStyle/output/output_4_with_iterators.txt | 16 | Lorem ipsum dolor sit amet | CODE |
| LOW⚡ | …/Style/SymfonyStyle/output/output_4_with_iterators.txt | 16 | Lorem ipsum dolor sit amet | CODE |
| LOW⚡ | …/Style/SymfonyStyle/output/output_4_with_iterators.txt | 21 | Lorem ipsum dolor sit amet | CODE |
| LOW⚡ | …/Style/SymfonyStyle/output/output_4_with_iterators.txt | 21 | Lorem ipsum dolor sit amet | CODE |
| LOW⚡ | …/Style/SymfonyStyle/output/output_4_with_iterators.txt | 27 | Lorem ipsum dolor sit amet | CODE |
| LOW⚡ | …/Style/SymfonyStyle/output/output_4_with_iterators.txt | 27 | Lorem ipsum dolor sit amet | CODE |
| LOW | Tests/Fixtures/Style/SymfonyStyle/output/output_12.txt | 2 | // Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna | COMMENT |
| LOW | Tests/Fixtures/Style/SymfonyStyle/output/output_12.txt | 2 | // Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna | COMMENT |
| LOW | Tests/Fixtures/Style/SymfonyStyle/output/output_13.txt | 2 | [39;49m // [39;49mÁrvíztűrőtükörfúrógép 🎼 Lorem ipsum dolor sit [33m💕 amet, consectetur adipisicing elit, sed do eius | CODE |
| LOW | Tests/Fixtures/Style/SymfonyStyle/output/output_10.txt | 2 | X [CUSTOM] Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et | CODE |
| LOW | Tests/Fixtures/Style/SymfonyStyle/output/output_10.txt | 2 | X [CUSTOM] Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et | CODE |
| LOW | Tests/Fixtures/Style/SymfonyStyle/output/output_14.txt | 2 | $ Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna | CODE |
| LOW | Tests/Fixtures/Style/SymfonyStyle/output/output_14.txt | 2 | $ Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna | CODE |
| LOW | Tests/Fixtures/Style/SymfonyStyle/output/output_15.txt | 2 | [TEST] Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore | CODE |
| LOW | Tests/Fixtures/Style/SymfonyStyle/output/output_15.txt | 2 | [TEST] Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore | CODE |
| LOW | Tests/Fixtures/Style/SymfonyStyle/output/output_16.txt | 3 | [30;42m [OK] Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et do | CODE |
| LOW | Tests/Fixtures/Style/SymfonyStyle/output/output_16.txt | 3 | [30;42m [OK] Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et do | CODE |
| LOW⚡ | Tests/Fixtures/Style/SymfonyStyle/output/output_24.txt | 4 | │ Lorem ipsum dolor sit amet │ | CODE |
| LOW⚡ | Tests/Fixtures/Style/SymfonyStyle/output/output_24.txt | 4 | │ Lorem ipsum dolor sit amet │ | CODE |
| LOW⚡ | Tests/Fixtures/Style/SymfonyStyle/output/output_24.txt | 10 | │ Lorem ipsum dolor sit amet │ | CODE |
| LOW⚡ | Tests/Fixtures/Style/SymfonyStyle/output/output_24.txt | 10 | │ Lorem ipsum dolor sit amet │ | CODE |
| LOW⚡ | Tests/Fixtures/Style/SymfonyStyle/output/output_24.txt | 16 | │ Lorem ipsum dolor sit amet │ | CODE |
| LOW⚡ | Tests/Fixtures/Style/SymfonyStyle/output/output_24.txt | 16 | │ Lorem ipsum dolor sit amet │ | CODE |
| LOW⚡ | Tests/Fixtures/Style/SymfonyStyle/output/output_24.txt | 22 | │ Lorem ipsum dolor sit amet │ | CODE |
| LOW⚡ | Tests/Fixtures/Style/SymfonyStyle/output/output_24.txt | 22 | │ Lorem ipsum dolor sit amet │ | CODE |
| LOW⚡ | Tests/Fixtures/Style/SymfonyStyle/output/output_24.txt | 28 | │ Lorem ipsum dolor sit amet │ | CODE |
| LOW⚡ | Tests/Fixtures/Style/SymfonyStyle/output/output_24.txt | 28 | │ Lorem ipsum dolor sit amet │ | CODE |
| LOW⚡ | Tests/Fixtures/Style/SymfonyStyle/output/output_24.txt | 34 | │ Lorem ipsum dolor sit amet │ | CODE |
| LOW⚡ | Tests/Fixtures/Style/SymfonyStyle/output/output_24.txt | 34 | │ Lorem ipsum dolor sit amet │ | CODE |
| LOW⚡ | Tests/Fixtures/Style/SymfonyStyle/output/output_21.txt | 2 | [OK] Lorem ipsum dolor sit amet | CODE |
| LOW⚡ | Tests/Fixtures/Style/SymfonyStyle/output/output_21.txt | 2 | [OK] Lorem ipsum dolor sit amet | CODE |
| LOW⚡ | Tests/Fixtures/Style/SymfonyStyle/output/output_21.txt | 4 | [OK] Lorem ipsum dolor sit amet with one emoji 🎉 | CODE |
| LOW⚡ | Tests/Fixtures/Style/SymfonyStyle/output/output_21.txt | 4 | [OK] Lorem ipsum dolor sit amet with one emoji 🎉 | CODE |
| LOW⚡ | Tests/Fixtures/Style/SymfonyStyle/output/output_21.txt | 6 | [OK] Lorem ipsum dolor sit amet with so many of them 👩🌾👩🌾👩🌾👩🌾👩🌾 | CODE |
| LOW⚡ | Tests/Fixtures/Style/SymfonyStyle/output/output_21.txt | 6 | [OK] Lorem ipsum dolor sit amet with so many of them 👩🌾👩🌾👩🌾👩🌾👩🌾 | CODE |
| LOW | Tests/Fixtures/Style/SymfonyStyle/output/output_22.txt | 2 | [39;49m ║ [39;49m[★] Árvíztűrőtükörfúrógép Lorem ipsum dolor sit [33mamet, consectetur adipisicing elit, sed do eiusm | CODE |
| LOW⚡ | Tests/Fixtures/Style/SymfonyStyle/output/output_6.txt | 1 | * Lorem ipsum dolor sit amet | COMMENT |
| LOW⚡ | Tests/Fixtures/Style/SymfonyStyle/output/output_6.txt | 1 | * Lorem ipsum dolor sit amet | COMMENT |
| LOW⚡ | Tests/Fixtures/Style/SymfonyStyle/output/output_6.txt | 4 | [OK] Lorem ipsum dolor sit amet | CODE |
| LOW⚡ | Tests/Fixtures/Style/SymfonyStyle/output/output_6.txt | 4 | [OK] Lorem ipsum dolor sit amet | CODE |
| LOW⚡ | Tests/Fixtures/Style/SymfonyStyle/output/output_5.txt | 1 | Lorem ipsum dolor sit amet | CODE |
| LOW⚡ | Tests/Fixtures/Style/SymfonyStyle/output/output_5.txt | 1 | Lorem ipsum dolor sit amet | CODE |
| LOW⚡ | Tests/Fixtures/Style/SymfonyStyle/output/output_5.txt | 2 | * Lorem ipsum dolor sit amet | COMMENT |
| LOW⚡ | Tests/Fixtures/Style/SymfonyStyle/output/output_5.txt | 2 | * Lorem ipsum dolor sit amet | COMMENT |
| LOW⚡ | Tests/Fixtures/Style/SymfonyStyle/output/output_5.txt | 5 | Lorem ipsum dolor sit amet | CODE |
| LOW⚡ | Tests/Fixtures/Style/SymfonyStyle/output/output_5.txt | 5 | Lorem ipsum dolor sit amet | CODE |
| LOW⚡ | Tests/Fixtures/Style/SymfonyStyle/output/output_5.txt | 6 | * Lorem ipsum dolor sit amet | COMMENT |
| LOW⚡ | Tests/Fixtures/Style/SymfonyStyle/output/output_5.txt | 6 | * Lorem ipsum dolor sit amet | COMMENT |
| LOW⚡ | Tests/Fixtures/Style/SymfonyStyle/output/output_5.txt | 9 | Lorem ipsum dolor sit amet | CODE |
| LOW⚡ | Tests/Fixtures/Style/SymfonyStyle/output/output_5.txt | 9 | Lorem ipsum dolor sit amet | CODE |
| LOW⚡ | Tests/Fixtures/Style/SymfonyStyle/output/output_5.txt | 10 | Lorem ipsum dolor sit amet | CODE |
| LOW⚡ | Tests/Fixtures/Style/SymfonyStyle/output/output_5.txt | 10 | Lorem ipsum dolor sit amet | CODE |
| LOW⚡ | Tests/Fixtures/Style/SymfonyStyle/output/output_5.txt | 13 | Lorem ipsum dolor sit amet | CODE |
| 148 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | Resources/completion.bash | 1 | # This file is part of the Symfony package. | COMMENT |
| MEDIUM | Resources/completion.zsh | 3 | # This file is part of the Symfony package. | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | Resources/completion.zsh | 1 | #compdef {{ COMMAND_NAME }} | COMMENT |
| LOW | Tests/Input/ArgvInputTest.php | 461 | COMMENT | |
| LOW | Tests/Fixtures/Style/SymfonyStyle/output/output_12.txt | 1 | COMMENT | |
| LOW | Tests/Command/InvokableCommandTest.php | 361 | $command = new Command('foo'); | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | Tester/ApplicationTester.php | 20 | * When testing an application, don't forget to disable the auto exit flag: | COMMENT |