Across the analyzed codebase
Psalm type coverage
celemas/router
Generated from psalm-stats.txt and psalm-issues.json.
Strong
0 errors in stats · 2 auto-fixable
Across 3 files below 100%
3.64s · 134.986MB
File type coverage
| File | Inferred | Coverage | Mixed |
|---|---|---|---|
src/View.php | 98.326% | 4 | |
src/RoutePattern.php | 99.375% | 2 | |
src/Router.php | 99.593% | 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/Utils.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.16.1@f1f5de594dc76faf8784e02d3dc4716c91c6f6ac.
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.64 seconds and used 134.986MB of memory
Psalm was able to infer types for 99.4032% 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.593% src/Router.php (1 mixed)
100.000% src/RoutingHandler.php (0 mixed)
100.000% src/Utils.php (0 mixed)
98.326% src/View.php (4 mixed)
100.000% src/ViewHandler.php (0 mixed)