Coverage Report

Statementstmt 48.8% 166 / 340 Branchbran 55.8% 19 / 34 Conditioncond 35.0% 7 / 20 MC/DCmcdc 40.0% 2 / 5 Subroutinesub 51.8% 28 / 54 Podpod 46.6% 7 / 15 totaltotal 48.9% 229 / 468 scar 50.8 CC 31 · cov 49% · CRAP 160.5

Top SCAR

blib/lib/AI/NaiveBayes/Learner.pm untested 30.0
CC
4
Cov
0%
classifier
12.0
add_example
6.0
add_hash
2.0
CRAP 20.0
lib/AI/NaiveBayes/Learner.pm 24.9
CC
12
Cov
98%
add_example
5.0
classifier
5.0
add_hash
4.0
CRAP 12.0
blib/lib/AI/NaiveBayes/Classification.pm untested 24.8
CC
3
Cov
0%
_build_best_category
6.0
find_predictors
6.0
BEGIN
2.0
CRAP 12.0
lib/AI/NaiveBayes.pm 22.0
CC
9
Cov
97%
classify
6.0
rescale
3.0
train
2.0
CRAP 9.0
blib/lib/AI/NaiveBayes.pm untested 17.9
CC
2
Cov
0%
classify
6.0
train
2.0
rescale
2.0
CRAP 6.0
3 files 90-100%
3 untested files
0 < 75% 0 75-90% 3 90-100% 0 at 100% 3 untested
File Statementstmt Branchbran Conditioncond MC/DCmcdc Subroutinesub Podpod totaltotal SCAR
blib/lib/AI 0.0 0 / 600.0 0 / 20.0 0 / 5n/a 0.0 0 / 110.0 0 / 30.0 0 / 81 17.9
CC
2
Cov
0%
CRAP 6.0
NaiveBayes.pm untested 0.0 0 / 600.0 0 / 20.0 0 / 5n/a 0.0 0 / 110.0 0 / 30.0 0 / 81 17.9
CC
2
Cov
0%
classify
6.0
train
2.0
rescale
2.0
CRAP 6.0
blib/lib/AI/NaiveBayes 0.0 0 / 1140.0 0 / 100.0 0 / 6n/a 0.0 0 / 150.0 0 / 50.0 0 / 150 37.4
CC
6
Cov
0%
CRAP 42.0
Learner.pm untested 0.0 0 / 760.0 0 / 60.0 0 / 6n/a 0.0 0 / 90.0 0 / 30.0 0 / 100 30.0
CC
4
Cov
0%
classifier
12.0
add_example
6.0
add_hash
2.0
CRAP 20.0
Classification.pm untested 0.0 0 / 380.0 0 / 4n/a n/a 0.0 0 / 60.0 0 / 20.0 0 / 50 24.8
CC
3
Cov
0%
_build_best_category
6.0
find_predictors
6.0
BEGIN
2.0
CRAP 12.0
lib/AI 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
lib/AI/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