Coverage Report

Statementstmt 77.6% 497 / 640 Branchbran 63.0% 169 / 268 Conditioncond 40.6% 24 / 59 MC/DCmcdc 2.9% 1 / 34 Subroutinesub 75.7% 50 / 66 Podpod 88.8% 8 / 9 totaltotal 69.6% 749 / 1076 CC 161 scar 34.5 CC 161 · cov 71% · CRAP 31.5
Prefix: blib/

Top SCAR

lib/Monitoring/Generator/TestConfig.pm 36.3
CC
155
Cov
79%
new
109.9
create
58.9
_set_hosts_cfg
28.9
CRAP 37.8
lib/Monitoring/Generator/TestConfig/ShinkenInitScriptData.pm 12.5
CC
2
Cov
30%
get_init_script
6.0
BEGIN
1.0
BEGIN
1.0
CRAP 3.5
lib/Monitoring/Generator/TestConfig/Modules/Shinken.pm 8.5
CC
2
Cov
33%
_get_shinken_specific_cfg
6.0
new
2.0
_get_shinken_schedulerd_cfg
2.0
CRAP 2.3
script/create_monitoring_test_config.pl untested 6.9
CC
1
Cov
0%
add_dir
2.0
BEGIN
2.0
BEGIN
2.0
CRAP 2.0
lib/Monitoring/Generator/TestConfig/HostCheckData.pm 4.1
CC
2
Cov
94%
get_test_hostcheck
2.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.5
2 2 files < 75%
1 1 file 75-90%
4 4 files 90-100%
1 1 untested file
< 75% 75-90% 90-100% at 100% untested
File Statementstmt Branchbran Conditioncond MC/DCmcdc Subroutinesub Podpod totaltotal CC SCAR
lib/Monitoring/Generator 88.1 410 / 46567.6 165 / 24445.2 24 / 533.3 1 / 30100 32 / 32100 2 / 276.7 634 / 826155 36.3
CC
155
Cov
79%
CRAP 37.8
TestConfig.pm 88.1 410 / 46567.6 165 / 24445.2 24 / 533.3 1 / 30100 32 / 32100 2 / 276.7 634 / 826155 36.3
CC
155
Cov
79%
new
109.9
create
58.9
_set_hosts_cfg
28.9
CRAP 37.8
lib/Monitoring/Generator/TestConfig 84.0 74 / 8840.0 4 / 10n/a n/a 93.3 14 / 15100 5 / 582.2 97 / 1186 6.4
CC
6
Cov
80%
CRAP 1.9
ShinkenInitScriptData.pm 33.3 7 / 210.0 0 / 2n/a n/a 66.6 2 / 3100 1 / 137.0 10 / 272 12.5
CC
2
Cov
30%
get_init_script
6.0
BEGIN
1.0
BEGIN
1.0
CRAP 3.5
HostCheckData.pm 100 14 / 1450.0 1 / 2n/a n/a 100 3 / 3100 1 / 195.0 19 / 202 4.1
CC
2
Cov
94%
get_test_hostcheck
2.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.5
P1Data.pm 100 14 / 1450.0 1 / 2n/a n/a 100 3 / 3100 1 / 195.0 19 / 202 4.1
CC
2
Cov
94%
get_p1_script
2.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.5
ServiceCheckData.pm 100 14 / 1450.0 1 / 2n/a n/a 100 3 / 3100 1 / 195.0 19 / 202 4.1
CC
2
Cov
94%
get_test_servicecheck
2.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.5
InitScriptData.pm 100 25 / 2550.0 1 / 2n/a n/a 100 3 / 3100 1 / 196.7 30 / 312 4.1
CC
2
Cov
96%
get_init_script
2.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.5
lib/Monitoring/Generator/TestConfig/Modules 35.1 13 / 370.0 0 / 2n/a n/a 36.3 4 / 11100 1 / 135.2 18 / 512 8.5
CC
2
Cov
33%
CRAP 2.3
Shinken.pm 35.1 13 / 370.0 0 / 2n/a n/a 36.3 4 / 11100 1 / 135.2 18 / 512 8.5
CC
2
Cov
33%
_get_shinken_specific_cfg
6.0
new
2.0
_get_shinken_schedulerd_cfg
2.0
CRAP 2.3
script 0.0 0 / 500.0 0 / 120.0 0 / 60.0 0 / 40.0 0 / 80.0 0 / 10.0 0 / 811 6.9
CC
1
Cov
0%
CRAP 2.0
create_monitoring_test_config.pl untested 0.0 0 / 500.0 0 / 120.0 0 / 60.0 0 / 40.0 0 / 80.0 0 / 10.0 0 / 811 6.9
CC
1
Cov
0%
add_dir
2.0
BEGIN
2.0
BEGIN
2.0
CRAP 2.0