Coverage Report

Statementstmt 36.0% 199 / 552 Branchbran 22.6% 33 / 146 Conditioncond 14.6% 13 / 89 MC/DCmcdc 16.6% 4 / 24 Subroutinesub 43.8% 39 / 89 Podpod 0.0% 0 / 14 totaltotal 31.5% 288 / 914 CC 77 scar 26.1 CC 77 · cov 31% · CRAP 13.6

Top SCAR

blib/lib/Dancer/Plugin/Swagger/Path.pm untested 32.8
CC
12
Cov
0%
add_to_doc
72.0
validate_response
20.0
parameter
6.0
CRAP 26.6
blib/lib/Dancer/Plugin/Swagger/Response.pm 26.4
CC
6
Cov
35%
fill_example
30.0
__ANON__
6.0
gen_from_example
2.0
CRAP 14.0
lib/Dancer/Plugin/Swagger.pm 25.2
CC
41
Cov
64%
__ANON__
56.0
__ANON__
20.0
__ANON__
16.0
CRAP 12.4
lib/Dancer/Plugin/Swagger/Path.pm 24.3
CC
20
Cov
60%
parameter
30.0
validate_response
30.0
add_to_doc
12.5
CRAP 11.3
blib/lib/Dancer/Plugin/Swagger.pm untested 9.3
CC
2
Cov
0%
swagger_response
6.0
import
2.0
BEGIN
2.0
CRAP 2.5
3 3 files < 75%
2 2 untested files
< 75% 75-90% 90-100% at 100% untested
File Statementstmt Branchbran Conditioncond MC/DCmcdc Subroutinesub Podpod totaltotal CC SCAR
blib/lib/Dancer/Plugin 0.0 0 / 1720.0 0 / 400.0 0 / 35n/a 0.0 0 / 140.0 0 / 20.0 0 / 2632 9.3
CC
2
Cov
0%
CRAP 2.5
Swagger.pm untested 0.0 0 / 1720.0 0 / 400.0 0 / 35n/a 0.0 0 / 140.0 0 / 20.0 0 / 2632 9.3
CC
2
Cov
0%
swagger_response
6.0
import
2.0
BEGIN
2.0
CRAP 2.5
blib/lib/Dancer/Plugin/Swagger 11.9 15 / 1260.0 0 / 300.0 0 / 160.0 0 / 113.6 3 / 220.0 0 / 78.9 18 / 20217 31.2
CC
17
Cov
9%
CRAP 22.6
Path.pm untested 0.0 0 / 930.0 0 / 220.0 0 / 14n/a 0.0 0 / 150.0 0 / 50.0 0 / 14912 32.8
CC
12
Cov
0%
add_to_doc
72.0
validate_response
20.0
parameter
6.0
CRAP 26.6
Response.pm 45.4 15 / 330.0 0 / 80.0 0 / 20.0 0 / 142.8 3 / 70.0 0 / 233.9 18 / 536 26.4
CC
6
Cov
35%
fill_example
30.0
__ANON__
6.0
gen_from_example
2.0
CRAP 14.0
lib/Dancer/Plugin 73.0 119 / 16346.0 23 / 5042.8 12 / 2823.5 4 / 1762.5 20 / 32n/a 61.3 178 / 29041 25.2
CC
41
Cov
64%
CRAP 12.4
Swagger.pm 73.0 119 / 16346.0 23 / 5042.8 12 / 2823.5 4 / 1762.5 20 / 32n/a 61.3 178 / 29041 25.2
CC
41
Cov
64%
__ANON__
56.0
__ANON__
20.0
__ANON__
16.0
CRAP 12.4
lib/Dancer/Plugin/Swagger 71.4 65 / 9138.4 10 / 2610.0 1 / 100.0 0 / 676.1 16 / 210.0 0 / 557.8 92 / 15920 24.3
CC
20
Cov
60%
CRAP 11.3
Path.pm 71.4 65 / 9138.4 10 / 2610.0 1 / 100.0 0 / 676.1 16 / 210.0 0 / 557.8 92 / 15920 24.3
CC
20
Cov
60%
parameter
30.0
validate_response
30.0
add_to_doc
12.5
CRAP 11.3