Coverage Report

Statementstmt 100% 166 / 166 Branchbran 86.3% 19 / 22 Conditioncond 77.7% 7 / 9 MC/DCmcdc 40.0% 2 / 5 Subroutinesub 100% 28 / 28 Podpod 100% 7 / 7 totaltotal 96.6% 229 / 237 scar 32.2 CC 25 · cov 97% · CRAP 25.0
Prefix: blib/lib/AI/

Top SCAR

NaiveBayes/Learner.pm 24.9
CC
12
Cov
98%
add_example
5.0
classifier
5.0
add_hash
4.0
CRAP 12.0
NaiveBayes.pm 22.0
CC
9
Cov
97%
classify
6.0
rescale
3.0
train
2.0
CRAP 9.0
NaiveBayes/Classification.pm 17.9
CC
6
Cov
98%
find_predictors
4.0
_build_best_category
3.0
BEGIN
1.0
CRAP 6.0
3 files 90-100%
0 < 75% 0 75-90% 3 90-100% 0 at 100%
File Statementstmt Branchbran Conditioncond MC/DCmcdc Subroutinesub Podpod totaltotal SCAR
(root) 100 57 / 5787.5 7 / 866.6 2 / 30.0 0 / 2100 11 / 11100 3 / 395.2 80 / 84 22.0
CC
9
Cov
97%
CRAP 9.0
NaiveBayes.pm 100 57 / 5787.5 7 / 866.6 2 / 30.0 0 / 2100 11 / 11100 3 / 395.2 80 / 84 22.0
CC
9
Cov
97%
classify
6.0
rescale
3.0
train
2.0
CRAP 9.0
NaiveBayes 100 109 / 10985.7 12 / 1483.3 5 / 666.6 2 / 3100 17 / 17100 4 / 497.3 149 / 153 28.3
CC
17
Cov
98%
CRAP 17.0
Learner.pm 100 74 / 7487.5 7 / 883.3 5 / 666.6 2 / 3100 11 / 11100 3 / 397.1 102 / 105 24.9
CC
12
Cov
98%
add_example
5.0
classifier
5.0
add_hash
4.0
CRAP 12.0
Classification.pm 100 35 / 3583.3 5 / 6n/a n/a 100 6 / 6100 1 / 197.9 47 / 48 17.9
CC
6
Cov
98%
find_predictors
4.0
_build_best_category
3.0
BEGIN
1.0
CRAP 6.0