Coverage Report

Statementstmt 94.5% 827 / 875 Branchbran 83.7% 350 / 418 Conditioncond 76.9% 50 / 65 MC/DCmcdc 61.9% 26 / 42 Subroutinesub 85.1% 120 / 141 Podpod 15.7% 12 / 76 totaltotal 85.6% 1385 / 1617 CC 242 scar 20.1 CC 242 · cov 90% · CRAP 7.5
Prefix: blib/lib/Number/Range/

Top SCAR

Regex/TrivialRange.pm 24.4
CC
16
Cov
96%
regex
16.1
BEGIN
1.0
BEGIN
1.0
CRAP 11.5
Regex/SimpleRange.pm 22.3
CC
84
Cov
92%
new
21.6
_calculate_tranges
11.0
regex
9.3
CRAP 9.3
Regex/Util.pm 21.2
CC
31
Cov
94%
_calculate_digit_range
17.0
option_mangler
5.0
base_ord
4.2
CRAP 8.3
Regex/Iterator.pm 21.1
CC
39
Cov
85%
size
30.0
_dbg
12.0
next
9.0
CRAP 8.3
Regex/CompoundRange.pm 20.4
CC
47
Cov
91%
sectionify
16.0
union
9.3
regex
8.4
CRAP 7.7
1 1 file < 75%
4 4 files 75-90%
3 3 files 90-100%
2 2 untested files
< 75% 75-90% 90-100% at 100% untested
File Statementstmt Branchbran Conditioncond MC/DCmcdc Subroutinesub Podpod totaltotal CC SCAR
(root) 100 74 / 7492.3 24 / 26100 3 / 3100 2 / 2100 11 / 1175.0 3 / 497.5 117 / 12016 15.5
CC
16
Cov
98%
CRAP 4.7
Regex.pm 100 74 / 7492.3 24 / 26100 3 / 3100 2 / 2100 11 / 1175.0 3 / 497.5 117 / 12016 15.5
CC
16
Cov
98%
rangespec
7.0
range
7.0
init
4.0
CRAP 4.7
Regex 93.6 707 / 75582.9 312 / 37675.8 47 / 6260.0 24 / 4081.9 95 / 11613.0 9 / 6984.2 1194 / 1418219 20.8
CC
219
Cov
89%
CRAP 8.0
TrivialRange.pm 100 64 / 6486.6 26 / 30n/a n/a 100 8 / 80.0 0 / 294.2 98 / 10416 24.4
CC
16
Cov
96%
regex
16.1
BEGIN
1.0
BEGIN
1.0
CRAP 11.5
SimpleRange.pm 98.1 213 / 21783.8 114 / 13679.3 23 / 2963.1 12 / 19100 25 / 250.0 0 / 1587.7 387 / 44184 22.3
CC
84
Cov
92%
new
21.6
_calculate_tranges
11.0
regex
9.3
CRAP 9.3
Util.pm 100 91 / 9189.1 41 / 4666.6 8 / 1250.0 4 / 8100 14 / 140.0 0 / 987.7 158 / 18031 21.2
CC
31
Cov
94%
_calculate_digit_range
17.0
option_mangler
5.0
base_ord
4.2
CRAP 8.3
Iterator.pm 85.9 110 / 12883.3 60 / 72n/a n/a 80.0 12 / 15100 9 / 985.2 191 / 22439 21.1
CC
39
Cov
85%
size
30.0
_dbg
12.0
next
9.0
CRAP 8.3
CompoundRange.pm 95.7 178 / 18678.7 63 / 8093.3 14 / 1588.8 8 / 990.4 19 / 210.0 0 / 1486.7 282 / 32547 20.4
CC
47
Cov
91%
sectionify
16.0
union
9.3
regex
8.4
CRAP 7.7
Range.pm 76.1 51 / 6766.6 8 / 1233.3 2 / 60.0 0 / 451.5 17 / 330.0 0 / 2054.9 78 / 1427 8.5
CC
7
Cov
72%
_equals
7.0
overload_string
3.2
__ANON__
2.0
CRAP 2.3
EmptyRange.pm untested 0.0 0 / 1n/a n/a n/a n/a n/a 0.0 0 / 1- -
InfiniteRange.pm untested 0.0 0 / 1n/a n/a n/a n/a n/a 0.0 0 / 1- -
Regex/Util 100 46 / 4687.5 14 / 16n/a n/a 100 14 / 140.0 0 / 393.6 74 / 799 6.5
CC
9
Cov
97%
CRAP 1.9
inf.pm 100 46 / 4687.5 14 / 16n/a n/a 100 14 / 140.0 0 / 393.6 74 / 799 6.5
CC
9
Cov
97%
_pad
3.0
inf_type
3.0
_add
2.0
CRAP 1.9