Coverage Report

Statementstmt 95.7% 758 / 792 Branchbran 87.2% 288 / 330 Conditioncond 72.7% 139 / 191 MC/DCmcdc 50.0% 55 / 110 Subroutinesub 94.4% 136 / 144 Podpod 67.3% 33 / 49 totaltotal 87.1% 1409 / 1616 CC 249 scar 21.9 CC 249 · cov 90% · CRAP 9.0
Prefix: blib/lib/Monitoring/

Top SCAR

Plugin/Config.pm 31.5
CC
22
Cov
71%
read
43.1
read_string
8.3
write
2.0
CRAP 23.3
Plugin/Functions.pm 26.0
CC
70
Cov
88%
plugin_exit
27.0
check_messages
18.2
plugin_die
10.0
CRAP 13.5
Plugin/Range.pm 20.1
CC
29
Cov
96%
check_range
12.2
parse_range_string
12.0
_stringify
6.0
CRAP 7.5
Plugin/Getopt.pm 20.0
CC
75
Cov
91%
_cmdline
15.1
_options
14.0
_spec_to_help
11.0
CRAP 7.4
Plugin/Threshold.pm 15.5
CC
15
Cov
97%
get_status
8.0
_inflate
6.0
set_thresholds
3.0
CRAP 4.7
1 1 file < 75%
4 4 files 75-90%
3 3 files 90-100%
< 75% 75-90% 90-100% at 100%
File Statementstmt Branchbran Conditioncond MC/DCmcdc Subroutinesub Podpod totaltotal CC SCAR
(root) 93.1 95 / 10287.5 28 / 3276.4 13 / 1760.0 6 / 1084.0 21 / 2587.5 14 / 1687.6 177 / 20224 13.9
CC
24
Cov
90%
CRAP 4.0
Plugin.pm 93.1 95 / 10287.5 28 / 3276.4 13 / 1760.0 6 / 1084.0 21 / 2587.5 14 / 1687.6 177 / 20224 13.9
CC
24
Cov
90%
check_threshold
8.1
add_message
7.0
check_messages
6.1
CRAP 4.0
Plugin 96.0 663 / 69087.2 260 / 29872.4 126 / 17449.0 49 / 10096.6 115 / 11957.5 19 / 3387.1 1232 / 1414226 22.7
CC
226
Cov
90%
CRAP 9.7
Config.pm 84.6 55 / 6550.0 14 / 2837.5 3 / 80.0 0 / 590.0 9 / 1075.0 3 / 470.0 84 / 12022 31.5
CC
22
Cov
71%
read
43.1
read_string
8.3
write
2.0
CRAP 23.3
Functions.pm 93.2 139 / 14990.0 81 / 9075.3 52 / 6951.2 20 / 3990.9 20 / 2275.0 6 / 884.3 318 / 37770 26.0
CC
70
Cov
88%
plugin_exit
27.0
check_messages
18.2
plugin_die
10.0
CRAP 13.5
Range.pm 98.8 82 / 8397.5 39 / 4083.3 20 / 2471.4 10 / 14100 18 / 1825.0 1 / 492.9 170 / 18329 20.1
CC
29
Cov
96%
check_range
12.2
parse_range_string
12.0
_stringify
6.0
CRAP 7.5
Getopt.pm 98.2 230 / 23488.3 83 / 9466.0 35 / 5338.7 12 / 31100 31 / 3133.3 1 / 387.8 392 / 44675 20.0
CC
75
Cov
91%
_cmdline
15.1
_options
14.0
_spec_to_help
11.0
CRAP 7.4
Threshold.pm 100 47 / 4790.9 20 / 22n/a n/a 100 11 / 1150.0 2 / 495.2 80 / 8415 15.5
CC
15
Cov
97%
get_status
8.0
_inflate
6.0
set_thresholds
3.0
CRAP 4.7
Performance.pm 98.9 93 / 9495.8 23 / 2480.0 16 / 2063.6 7 / 11100 18 / 18100 6 / 694.2 163 / 17320 12.4
CC
20
Cov
96%
_parse
7.0
parse_perfstring
5.0
new
4.0
CRAP 3.4
ExitResult.pm 94.4 17 / 18n/a n/a n/a 88.8 8 / 90.0 0 / 480.6 25 / 311 1.1
CC
1
Cov
94%
code
2.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.1