Coverage Report

Statementstmt 99.3% 282 / 284 Branchbran 97.1% 68 / 70 Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 61 / 61 Podpod 100% 10 / 10 totaltotal 99.0% 421 / 425 CC 43 scar 11.2 CC 43 · cov 99% · CRAP 3.1
Prefix: blib/lib/

Top SCAR

Interchange6/Role/Costs.pm 13.5
CC
14
Cov
100%
cost
7.0
_build_total
5.0
apply_cost
4.0
CRAP 3.8
Interchange6/Cart.pm 13.3
CC
24
Cov
98%
update
8.0
add
7.0
remove
4.0
CRAP 3.8
Interchange6/Cart/Product.pm 3.6
CC
6
Cov
100%
_build_discount_percent
2.0
is_variant
2.0
is_canonical
2.0
CRAP 1.4
Interchange6/Cart/Cost.pm 2.2
CC
2
Cov
100%
__ANON__
2.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.2
1 1 file 90-100%
4 4 files 100%
1 1 untested file
< 75% 75-90% 90-100% at 100% untested
File Statementstmt Branchbran Conditioncond MC/DCmcdc Subroutinesub Podpod totaltotal CC SCAR
(root) 100 2 / 2n/a n/a n/a n/a n/a 100 2 / 2- -
Interchange6.pm 100 2 / 2n/a n/a n/a n/a n/a 100 2 / 20 0
CC
0
Cov
0%
CRAP 0
Interchange6 98.4 127 / 12994.4 34 / 36n/a n/a 100 23 / 23100 6 / 697.9 190 / 19424 13.3
CC
24
Cov
98%
CRAP 3.8
Cart.pm 98.4 127 / 12994.4 34 / 36n/a n/a 100 23 / 23100 6 / 697.9 190 / 19424 13.3
CC
24
Cov
98%
update
8.0
add
7.0
remove
4.0
CRAP 3.8
Types.pm untested n/a n/a n/a n/a n/a n/a n/a - -
Interchange6/Cart 100 91 / 91100 12 / 12n/a n/a 100 25 / 25100 2 / 2100 130 / 1307 3.3
CC
7
Cov
100%
CRAP 1.4
Product.pm 100 64 / 64100 10 / 10n/a n/a 100 18 / 18100 2 / 2100 94 / 946 3.6
CC
6
Cov
100%
_build_discount_percent
2.0
is_variant
2.0
is_canonical
2.0
CRAP 1.4
Cost.pm 100 27 / 27100 2 / 2n/a n/a 100 7 / 7n/a 100 36 / 362 2.2
CC
2
Cov
100%
__ANON__
2.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.2
Interchange6/Role 100 62 / 62100 22 / 22n/a n/a 100 13 / 13100 2 / 2100 99 / 9914 13.5
CC
14
Cov
100%
CRAP 3.8
Costs.pm 100 62 / 62100 22 / 22n/a n/a 100 13 / 13100 2 / 2100 99 / 9914 13.5
CC
14
Cov
100%
cost
7.0
_build_total
5.0
apply_cost
4.0
CRAP 3.8