Coverage Report

Statementstmt 54.2% 71 / 131 Branchbran 45.8% 11 / 24 Conditioncond 50.0% 3 / 6 MC/DCmcdc 33.3% 1 / 3 Subroutinesub 63.1% 12 / 19 Podpod 100% 7 / 7 totaltotal 55.2% 105 / 190 CC 21 scar 22.4 CC 21 · cov 53% · CRAP 9.4
Prefix: blib/

Top SCAR

lib/MARC/Record/Stats/Report.pm 34.6
CC
6
Cov
19%
report
42.0
BEGIN
1.0
BEGIN
1.0
CRAP 31.8
lib/MARC/Record/Stats.pm 13.6
CC
16
Cov
95%
add_record_to_stats
7.0
get_record_stats
4.0
new
4.0
CRAP 3.9
script/marcstats.pl untested 6.9
CC
1
Cov
0%
BEGIN
2.0
BEGIN
2.0
BEGIN
2.0
CRAP 2.0
1 1 file < 75%
1 1 file 90-100%
1 1 untested file
< 75% 75-90% 90-100% at 100% untested
File Statementstmt Branchbran Conditioncond MC/DCmcdc Subroutinesub Podpod totaltotal CC SCAR
lib/MARC/Record 96.9 64 / 6691.6 11 / 1275.0 3 / 450.0 1 / 290.9 10 / 11100 6 / 694.0 95 / 10116 13.6
CC
16
Cov
95%
CRAP 3.9
Stats.pm 96.9 64 / 6691.6 11 / 1275.0 3 / 450.0 1 / 290.9 10 / 11100 6 / 694.0 95 / 10116 13.6
CC
16
Cov
95%
add_record_to_stats
7.0
get_record_stats
4.0
new
4.0
CRAP 3.9
lib/MARC/Record/Stats 23.3 7 / 300.0 0 / 6n/a n/a 66.6 2 / 3100 1 / 125.0 10 / 406 34.6
CC
6
Cov
19%
CRAP 31.8
Report.pm 23.3 7 / 300.0 0 / 6n/a n/a 66.6 2 / 3100 1 / 125.0 10 / 406 34.6
CC
6
Cov
19%
report
42.0
BEGIN
1.0
BEGIN
1.0
CRAP 31.8
script 0.0 0 / 350.0 0 / 60.0 0 / 20.0 0 / 10.0 0 / 5n/a 0.0 0 / 491 6.9
CC
1
Cov
0%
CRAP 2.0
marcstats.pl untested 0.0 0 / 350.0 0 / 60.0 0 / 20.0 0 / 10.0 0 / 5n/a 0.0 0 / 491 6.9
CC
1
Cov
0%
BEGIN
2.0
BEGIN
2.0
BEGIN
2.0
CRAP 2.0