Slim is a PHP micro framework that helps you quickly write simple yet powerful web applications and APIs.
This report presents the forensic synthetic code analysis of slimphp/Slim, a PHP project with 12,270 GitHub stars. SynthScan v2.0 examined 17,367 lines of code across 139 source files, recording 245 pattern matches distributed across 1 syntactic category. The overall adjusted score of 13.8 places this repository in the Low 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).
Longitudinal tracking requires multiple scan runs. Once this repository is re-scanned after new commits land, this chart will visualise how the synthetic code signal evolves over time — enabling you to detect whether AI authorship is growing, stabilising, or being actively corrected by human engineers.
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 245 distinct pattern matches across 1 syntactic category. 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⚡ | tests/AppTest.php | 86 | public function testGetCallableResolverReturnsInjectedInstance(): void | CODE |
| LOW⚡ | tests/AppTest.php | 95 | public function testCreatesCallableResolverWhenNull(): void | CODE |
| LOW⚡ | tests/AppTest.php | 105 | public function testGetRouteCollectorReturnsInjectedInstance(): void | CODE |
| LOW | tests/AppTest.php | 63 | public function testDoesNotUseContainerAsServiceLocator(): void | CODE |
| LOW | tests/AppTest.php | 118 | public function testCreatesRouteCollectorWhenNullWithInjectedContainer(): void | CODE |
| LOW | tests/AppTest.php | 137 | public function testGetMiddlewareDispatcherGetsSeededAndReturnsInjectedInstance(): void | CODE |
| LOW | tests/AppTest.php | 158 | public static function lowerCaseRequestMethodsProvider(): array | CODE |
| LOW | tests/AppTest.php | 175 | public function testGetPostPutPatchDeleteOptionsMethods(string $method): void | CODE |
| LOW | tests/AppTest.php | 248 | public static function upperCaseRequestMethodsProvider(): array | CODE |
| LOW | tests/AppTest.php | 343 | public function testRouteWithInternationalCharacters(): void | CODE |
| LOW | tests/AppTest.php | 530 | public function testGroupClosureIsBoundToThisClass(): void | CODE |
| LOW | tests/AppTest.php | 547 | public function testRouteGroupCombinations(array $sequence, string $expectedPath): void | CODE |
| LOW | tests/AppTest.php | 658 | public function testAddMiddlewareUsingDeferredResolution(): void | CODE |
| LOW | tests/AppTest.php | 756 | public function testAddBodyParsingMiddleware(): void | CODE |
| LOW | tests/AppTest.php | 866 | public function testAddMiddlewareOnRouteGroup(): void | CODE |
| LOW | tests/AppTest.php | 948 | public function testAddMiddlewareOnTwoRouteGroup(): void | CODE |
| LOW | tests/AppTest.php | 1068 | public function testAddMiddlewareAsStringNotImplementingInterfaceThrowsException(): void | CODE |
| LOW | tests/AppTest.php | 1085 | public function testInvokeReturnMethodNotAllowed(): void | CODE |
| LOW | tests/AppTest.php | 1109 | public function testInvokeWithMatchingRoute(): void | CODE |
| LOW | tests/AppTest.php | 1143 | public function testInvokeWithMatchingRouteWithSetArgument(): void | CODE |
| LOW | tests/AppTest.php | 1184 | public function testInvokeWithMatchingRouteWithSetArguments(): void | CODE |
| LOW | tests/AppTest.php | 1225 | public function testInvokeWithMatchingRouteWithNamedParameterRequestResponseStrategy(): void | CODE |
| LOW | tests/AppTest.php | 1266 | public function testInvokeWithMatchingRouteWithNamedParameterRequestResponseArgStrategy(): void | CODE |
| LOW | tests/AppTest.php | 1308 | public function testInvokeWithMatchingRouteWithNamedParameterRequestResponseNamedArgsStrategy(): void | CODE |
| LOW | tests/AppTest.php | 1357 | public function testInvokeWithMatchingRouteWithNamedParameterOverwritesSetArgument(): void | CODE |
| LOW | tests/AppTest.php | 1398 | public function testInvokeWithoutMatchingRoute(): void | CODE |
| LOW | tests/AppTest.php | 1420 | public function testInvokeWithCallableRegisteredInContainer(): void | CODE |
| LOW | tests/AppTest.php | 1464 | public function testInvokeWithNonExistentMethodOnCallableRegisteredInContainer(): void | CODE |
| LOW | tests/AppTest.php | 1500 | public function testInvokeWithCallableInContainerViaCallMagicMethod(): void | CODE |
| LOW | tests/AppTest.php | 1592 | public function testCurrentRequestAttributesAreNotLostWhenAddingRouteArguments(): void | CODE |
| LOW | tests/AppTest.php | 1633 | public function testCurrentRequestAttributesAreNotLostWhenAddingRouteArgumentsRequestResponseArg(): void | CODE |
| LOW | tests/AppTest.php | 1728 | public function testRunWithoutPassingInServerRequest(): void | CODE |
| LOW | tests/AppTest.php | 1769 | public function testHandleReturnsEmptyResponseBodyWithHeadRequestMethod(): void | CODE |
| LOW | tests/AppTest.php | 1826 | public function testCanBeReExecutedRecursivelyDuringDispatch(): void | CODE |
| LOW | tests/AppTest.php | 1992 | public function testInvokeSequentialProcessToAPathWithOptionalArgsAndWithoutOptionalArgs(): void | CODE |
| LOW | tests/AppTest.php | 2047 | public function testInvokeSequentialProcessToAPathWithOptionalArgsAndWithoutOptionalArgsAndKeepSetedArgs(): void | CODE |
| LOW | tests/AppTest.php | 2102 | public function testInvokeSequentialProcessAfterAddingAnotherRouteArgument(): void | CODE |
| LOW⚡ | tests/CallableResolverTest.php | 247 | public function testResolutionToAPsrRequestHandlerClass(): void | CODE |
| LOW⚡ | tests/CallableResolverTest.php | 256 | public function testRouteResolutionToAPsrRequestHandlerClass(): void | CODE |
| LOW⚡ | tests/CallableResolverTest.php | 265 | public function testMiddlewareResolutionToAPsrRequestHandlerClass(): void | CODE |
| LOW⚡ | tests/CallableResolverTest.php | 274 | public function testObjPsrRequestHandlerClass(): void | CODE |
| LOW⚡ | tests/CallableResolverTest.php | 284 | public function testRouteObjPsrRequestHandlerClass(): void | CODE |
| LOW⚡ | tests/CallableResolverTest.php | 294 | public function testMiddlewareObjPsrRequestHandlerClass(): void | CODE |
| LOW⚡ | tests/CallableResolverTest.php | 304 | public function testObjPsrRequestHandlerClassInContainer(): void | CODE |
| LOW⚡ | tests/CallableResolverTest.php | 377 | public function testRouteObjMiddlewareClass(): void | CODE |
| LOW⚡ | tests/CallableResolverTest.php | 387 | public function testMiddlewareObjMiddlewareClass(): void | CODE |
| LOW⚡ | tests/CallableResolverTest.php | 397 | public function testNotObjectInContainerThrowException(): void | CODE |
| LOW | tests/CallableResolverTest.php | 150 | public function testSlimCallableContainer(): void | CODE |
| LOW | tests/CallableResolverTest.php | 167 | public function testSlimCallableAsArrayContainer(): void | CODE |
| LOW | tests/CallableResolverTest.php | 207 | public function testResolutionToAnInvokableClassInContainer(): void | CODE |
| LOW | tests/CallableResolverTest.php | 230 | public function testResolutionToAnInvokableClass(): void | CODE |
| LOW | tests/CallableResolverTest.php | 318 | public function testRouteObjPsrRequestHandlerClassInContainer(): void | CODE |
| LOW | tests/CallableResolverTest.php | 333 | public function testMiddlewareObjPsrRequestHandlerClassInContainer(): void | CODE |
| LOW | tests/CallableResolverTest.php | 347 | public function testResolutionToAPsrRequestHandlerClassWithCustomMethod(): void | CODE |
| LOW | tests/CallableResolverTest.php | 411 | public function testMethodNotFoundThrowException(): void | CODE |
| LOW | tests/CallableResolverTest.php | 425 | public function testRouteMethodNotFoundThrowException(): void | CODE |
| LOW | tests/CallableResolverTest.php | 439 | public function testMiddlewareMethodNotFoundThrowException(): void | CODE |
| LOW | tests/CallableResolverTest.php | 453 | public function testFunctionNotFoundThrowException(): void | CODE |
| LOW | tests/CallableResolverTest.php | 464 | public function testRouteFunctionNotFoundThrowException(): void | CODE |
| LOW | tests/CallableResolverTest.php | 475 | public function testMiddlewareFunctionNotFoundThrowException(): void | CODE |
| 185 more matches not shown… | ||||