Slim is a PHP micro framework that helps you quickly write simple yet powerful web applications and APIs.
This report summarizes scanner evidence for slimphp/Slim, a PHP project with 12,278 GitHub stars. SynthScan examined 17,539 lines of code across 139 source files, recording 250 pattern matches distributed across 1 syntactic category. The legacy adjusted pattern signal is 14.0 (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? 250 finding(s).
Are imports declared and package/API names verified? 0 finding(s).
Are wrappers, guards, and repeated structures necessary? 250 finding(s).
Which changes need focused human review? 250 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 250 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/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 |
| 190 more matches not shown… | ||||