Coverage Report

Statementstmt 82.5% 204 / 247 Branchbran 58.5% 41 / 70 Conditioncond 62.5% 5 / 8 MC/DCmcdc 25.0% 1 / 4 Subroutinesub 93.1% 27 / 29 Podpod 100% 8 / 8 totaltotal 78.1% 286 / 366 scar 43.9 CC 50 · cov 77% · CRAP 80.7
Prefix: blib/lib/Eliza/

Top SCAR

Chatbot.pm 35.0
CC
11
Cov
43%
command_interface
90.0
_build_brain
3.0
BEGIN
1.0
CRAP 33.1
Chatbot/Brain.pm 33.5
CC
25
Cov
82%
transform
20.9
postprocess
5.3
_test_quit
3.0
CRAP 28.6
Chatbot/ScriptParser.pm 27.1
CC
15
Cov
97%
parse_script_data
12.0
_open_script_file
3.0
_unique_words
2.0
CRAP 15.0
Chatbot/Option.pm 7.1
CC
2
Cov
79%
myrand
2.0
welcome_message
2.0
BEGIN
1.0
CRAP 2.0
1 file < 75%
2 files 75-90%
1 file 90-100%
1 < 75% 2 75-90% 1 90-100% 0 at 100%
File Statementstmt Branchbran Conditioncond MC/DCmcdc Subroutinesub Podpod totaltotal SCAR
(root) 53.5 30 / 5611.1 2 / 18n/a n/a 88.8 8 / 9100 2 / 249.4 42 / 85 35.0
CC
11
Cov
43%
CRAP 33.1
Chatbot.pm 53.5 30 / 5611.1 2 / 18n/a n/a 88.8 8 / 9100 2 / 249.4 42 / 85 35.0
CC
11
Cov
43%
command_interface
90.0
_build_brain
3.0
BEGIN
1.0
CRAP 33.1
Chatbot 91.1 174 / 19175.0 39 / 5262.5 5 / 825.0 1 / 495.0 19 / 20100 6 / 686.8 244 / 281 37.8
CC
40
Cov
87%
CRAP 43.6
Brain.pm 87.3 90 / 10367.8 19 / 2862.5 5 / 825.0 1 / 4100 8 / 8100 3 / 381.8 126 / 154 33.5
CC
25
Cov
82%
transform
20.9
postprocess
5.3
_test_quit
3.0
CRAP 28.6
ScriptParser.pm 100 66 / 6686.3 19 / 22n/a n/a 100 6 / 6100 1 / 196.8 92 / 95 27.1
CC
15
Cov
97%
parse_script_data
12.0
_open_script_file
3.0
_unique_words
2.0
CRAP 15.0
Option.pm 81.8 18 / 2250.0 1 / 2n/a n/a 83.3 5 / 6100 2 / 281.2 26 / 32 7.1
CC
2
Cov
79%
myrand
2.0
welcome_message
2.0
BEGIN
1.0
CRAP 2.0