Coverage Report

Statementstmt 15.6% 188 / 1199 Branchbran 3.9% 17 / 428 Conditioncond 6.1% 8 / 131 MC/DCmcdc 0.0% 0 / 64 Subroutinesub 32.6% 34 / 104 Podpod 14.2% 5 / 35 totaltotal 12.8% 252 / 1961 scar 102.9 CC 207 · cov 12% · CRAP 29292.0
Prefix: blib/

Top SCAR

lib/UMLS/Association/StatFinder.pm 86.3
CC
82
Cov
6%
_calculateStatistic
1122.0
_getDescendantData
156.0
_getFrequency
110.0
CRAP 5594.6
lib/UMLS/Association/CuiFinder.pm 72.6
CC
56
Cov
24%
_checkTablesExist
90.0
_checkTableExists
56.0
_setOptions
42.0
CRAP 1428.6
script/CUICollector.pl untested 65.5
CC
26
Cov
0%
update_database
56.0
update_row
30.0
read_utterance
20.0
CRAP 702.0
lib/UMLS/Association/CUICollector.pm untested 53.5
CC
14
Cov
0%
read_utterance
20.0
read_gz_utterance
20.0
process_files
12.0
CRAP 210.0
lib/UMLS/Association/ErrorHandler.pm 43.9
CC
14
Cov
30%
_error
156.0
_checkDbError
6.0
_validCui
6.0
CRAP 80.9
4 files < 75%
3 untested files
4 < 75% 0 75-90% 0 90-100% 0 at 100% 3 untested
File Statementstmt Branchbran Conditioncond MC/DCmcdc Subroutinesub Podpod totaltotal SCAR
lib/UMLS 62.5 65 / 10437.5 6 / 1633.3 5 / 150.0 0 / 1070.5 12 / 1783.3 5 / 655.3 93 / 168 34.1
CC
14
Cov
56%
CRAP 30.4
Association.pm 62.5 65 / 10437.5 6 / 1633.3 5 / 150.0 0 / 1070.5 12 / 1783.3 5 / 655.3 93 / 168 34.1
CC
14
Cov
56%
_checkOptions
15.1
_initialize
12.9
new
2.1
CRAP 30.4
lib/UMLS/Association 17.6 123 / 6964.2 11 / 2583.1 3 / 940.0 0 / 5437.2 22 / 590.0 0 / 1313.5 159 / 1174 97.8
CC
163
Cov
13%
CRAP 17615.1
StatFinder.pm 10.5 28 / 2650.0 0 / 1180.0 0 / 540.0 0 / 3235.2 6 / 170.0 0 / 16.9 34 / 487 86.3
CC
82
Cov
6%
_calculateStatistic
1122.0
_getDescendantData
156.0
_getFrequency
110.0
CRAP 5594.6
CuiFinder.pm 31.5 64 / 20312.5 11 / 889.0 3 / 330.0 0 / 2255.5 10 / 180.0 0 / 124.1 88 / 365 72.6
CC
56
Cov
24%
_checkTablesExist
90.0
_checkTableExists
56.0
_setOptions
42.0
CRAP 1428.6
CUICollector.pm untested 0.0 0 / 1510.0 0 / 260.0 0 / 7n/a 0.0 0 / 150.0 0 / 100.0 0 / 209 53.5
CC
14
Cov
0%
read_utterance
20.0
read_gz_utterance
20.0
process_files
12.0
CRAP 210.0
ErrorHandler.pm 40.2 31 / 770.0 0 / 26n/a n/a 66.6 6 / 90.0 0 / 132.7 37 / 113 43.9
CC
14
Cov
30%
_error
156.0
_checkDbError
6.0
_validCui
6.0
CRAP 80.9
script 0.0 0 / 3990.0 0 / 1540.0 0 / 22n/a 0.0 0 / 280.0 0 / 160.0 0 / 619 69.6
CC
32
Cov
0%
CRAP 1056.0
CUICollector.pl untested 0.0 0 / 2430.0 0 / 920.0 0 / 15n/a 0.0 0 / 200.0 0 / 110.0 0 / 381 65.5
CC
26
Cov
0%
update_database
56.0
update_row
30.0
read_utterance
20.0
CRAP 702.0
umls-association.pl untested 0.0 0 / 1560.0 0 / 620.0 0 / 7n/a 0.0 0 / 80.0 0 / 50.0 0 / 238 40.3
CC
7
Cov
0%
calculateStat
56.0
minimalUsageNotes
2.0
showHelp
2.0
CRAP 56.0