Psalm type coverage

celemas/router

Generated from psalm-stats.txt and psalm-issues.json.

Strong
Type inference99.403%

Across the analyzed codebase

Psalm issues0

0 errors in stats · 2 auto-fixable

Mixed refs7

Across 3 files below 100%

Files scanned13

3.64s · 134.986MB

File type coverage

FileInferredCoverageMixed
src/View.php98.326%
4
src/RoutePattern.php99.375%
2
src/Router.php99.593%
1
src/AttributesResolver.php100%
0
src/Dispatcher.php100%
0
src/Exception/MethodNotAllowedException.php100%
0
src/Group.php100%
0
src/Route.php100%
0
src/RouteMatch.php100%
0
src/RouteToken.php100%
0
src/RoutingHandler.php100%
0
src/Utils.php100%
0
src/ViewHandler.php100%
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)