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
< 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 / 465 | 67.6 165 / 244 | 45.2 24 / 53 | 3.3 1 / 30 | 100 32 / 32 | 100 2 / 2 | 76.7 634 / 826 | 155 |
36.3
CRAP
37.8
|
| TestConfig.pm | 88.1 410 / 465 | 67.6 165 / 244 | 45.2 24 / 53 | 3.3 1 / 30 | 100 32 / 32 | 100 2 / 2 | 76.7 634 / 826 | 155 |
36.3
CRAP
37.8
|
| lib/Monitoring/Generator/TestConfig | 84.0 74 / 88 | 40.0 4 / 10 | n/a | n/a | 93.3 14 / 15 | 100 5 / 5 | 82.2 97 / 118 | 6 |
6.4
CRAP
1.9
|
| ShinkenInitScriptData.pm | 33.3 7 / 21 | 0.0 0 / 2 | n/a | n/a | 66.6 2 / 3 | 100 1 / 1 | 37.0 10 / 27 | 2 |
12.5
CRAP
3.5
|
| HostCheckData.pm | 100 14 / 14 | 50.0 1 / 2 | n/a | n/a | 100 3 / 3 | 100 1 / 1 | 95.0 19 / 20 | 2 |
4.1
CRAP
1.5
|
| P1Data.pm | 100 14 / 14 | 50.0 1 / 2 | n/a | n/a | 100 3 / 3 | 100 1 / 1 | 95.0 19 / 20 | 2 |
4.1
CRAP
1.5
|
| ServiceCheckData.pm | 100 14 / 14 | 50.0 1 / 2 | n/a | n/a | 100 3 / 3 | 100 1 / 1 | 95.0 19 / 20 | 2 |
4.1
CRAP
1.5
|
| InitScriptData.pm | 100 25 / 25 | 50.0 1 / 2 | n/a | n/a | 100 3 / 3 | 100 1 / 1 | 96.7 30 / 31 | 2 |
4.1
CRAP
1.5
|
| lib/Monitoring/Generator/TestConfig/Modules | 35.1 13 / 37 | 0.0 0 / 2 | n/a | n/a | 36.3 4 / 11 | 100 1 / 1 | 35.2 18 / 51 | 2 |
8.5
CRAP
2.3
|
| Shinken.pm | 35.1 13 / 37 | 0.0 0 / 2 | n/a | n/a | 36.3 4 / 11 | 100 1 / 1 | 35.2 18 / 51 | 2 |
8.5
CRAP
2.3
|
| script | 0.0 0 / 50 | 0.0 0 / 12 | 0.0 0 / 6 | 0.0 0 / 4 | 0.0 0 / 8 | 0.0 0 / 1 | 0.0 0 / 81 | 1 |
6.9
CRAP
2.0
|
| create_monitoring_test_config.pl untested | 0.0 0 / 50 | 0.0 0 / 12 | 0.0 0 / 6 | 0.0 0 / 4 | 0.0 0 / 8 | 0.0 0 / 1 | 0.0 0 / 81 | 1 |
6.9
CRAP
2.0
|