Coverage Report

Statementstmt 27.8% 37 / 133 Branchbran 22.0% 11 / 50 Conditioncond 29.1% 7 / 24 MC/DCmcdc 6.6% 1 / 15 Subroutinesub 46.1% 6 / 13 Podpod 100% 3 / 3 totaltotal 27.3% 65 / 238 CC 11 scar 12.1 CC 11 · cov 27% · CRAP 3.4
Prefix: blib/

Top SCAR

lib/Finance/Loan/Repayment.pm 13.8
CC
11
Cov
89%
principal_per_month
6.2
BUILDARGS
4.0
interest_per_month
2.0
CRAP 4.0
script/loan.pl untested 6.9
CC
1
Cov
0%
BEGIN
2.0
BEGIN
2.0
BEGIN
2.0
CRAP 2.0
1 1 file 75-90%
1 1 untested file
< 75% 75-90% 90-100% at 100% untested
File Statementstmt Branchbran Conditioncond MC/DCmcdc Subroutinesub Podpod totaltotal CC SCAR
lib/Finance/Loan 97.3 37 / 3891.6 11 / 1258.3 7 / 1214.2 1 / 7100 6 / 6100 3 / 383.3 65 / 7811 13.8
CC
11
Cov
89%
CRAP 4.0
Repayment.pm 97.3 37 / 3891.6 11 / 1258.3 7 / 1214.2 1 / 7100 6 / 6100 3 / 383.3 65 / 7811 13.8
CC
11
Cov
89%
principal_per_month
6.2
BUILDARGS
4.0
interest_per_month
2.0
CRAP 4.0
script 0.0 0 / 950.0 0 / 380.0 0 / 120.0 0 / 80.0 0 / 7n/a 0.0 0 / 1601 6.9
CC
1
Cov
0%
CRAP 2.0
loan.pl untested 0.0 0 / 950.0 0 / 380.0 0 / 120.0 0 / 80.0 0 / 7n/a 0.0 0 / 1601 6.9
CC
1
Cov
0%
BEGIN
2.0
BEGIN
2.0
BEGIN
2.0
CRAP 2.0