Across the analyzed codebase
Psalm type coverage
celema/router
Generated from psalm-stats.txt and psalm-issues.json.
Strong
0 errors in stats · 2 auto-fixable
Across 3 files below 100%
3.94s · 156.769MB
File type coverage
| File | Inferred | Coverage | Mixed |
|---|---|---|---|
src/View.php | 98.312% | 4 | |
src/RoutePattern.php | 99.375% | 2 | |
src/Router.php | 99.595% | 1 | |
src/AttributesResolver.php | 100% | 0 | |
src/Dispatcher.php | 100% | 0 | |
src/Exception/MethodNotAllowedException.php | 100% | 0 | |
src/Group.php | 100% | 0 | |
src/Route.php | 100% | 0 | |
src/RouteMatch.php | 100% | 0 | |
src/RouteToken.php | 100% | 0 | |
src/RoutingHandler.php | 100% | 0 | |
src/ViewHandler.php | 100% | 0 |
Psalm issues
No Psalm issues were reported.
Raw Psalm stats
Running on PHP 8.5.6, Psalm 6.19.0@0f67d9a41b903d0c205645f3b428dff1c92310e0.
JIT acceleration: OFF
You can enable JIT acceleration (experimental) with --force-jit.
Target PHP version: 8.5 (inferred from composer.json).
Scanning files...
Analyzing files...
░░░░░░░░░░░░░░░░░░░░░░░░░░░░
------------------------------
No errors found!
------------------------------
Psalm can automatically fix 2 of these issues.
Run Psalm again with
--alter --issues=MissingParamType --dry-run
to see what it can fix.
------------------------------
Checks took 3.94 seconds and used 156.769MB of memory
Psalm was able to infer types for 99.3955% of the codebase
-----------------
100.000% src/AttributesResolver.php (0 mixed)
100.000% src/Dispatcher.php (0 mixed)
100.000% src/Exception/MethodNotAllowedException.php (0 mixed)
100.000% src/Group.php (0 mixed)
100.000% src/Route.php (0 mixed)
100.000% src/RouteMatch.php (0 mixed)
99.375% src/RoutePattern.php (2 mixed)
100.000% src/RouteToken.php (0 mixed)
99.595% src/Router.php (1 mixed)
100.000% src/RoutingHandler.php (0 mixed)
98.312% src/View.php (4 mixed)
100.000% src/ViewHandler.php (0 mixed)