Coverage Report

Statementstmt 68.4% 347 / 507 Branchbran 47.7% 105 / 220 Conditioncond 24.4% 11 / 45 MC/DCmcdc 3.4% 1 / 29 Subroutinesub 95.1% 59 / 62 Podpod 96.5% 28 / 29 totaltotal 61.7% 551 / 892 CC 142 scar 43.9 CC 142 · cov 60% · CRAP 81.0
Prefix: blib/lib/Net/DHCP/Config/

Top SCAR

Utilities/INI_check.pm 56.9
CC
40
Cov
11%
overlap_check
380.0
cidr_in_file
380.0
new
20.0
CRAP 296.5
Utilities/Generator/ISC_DHCPD.pm 31.5
CC
28
Cov
68%
new
32.8
generate
24.5
BEGIN
1.0
CRAP 23.3
Utilities/Subnet.pm 26.8
CC
27
Cov
81%
new
26.9
option_set
6.2
option_get
3.1
CRAP 14.6
Utilities/INI_loader.pm 21.0
CC
18
Cov
78%
load_file
13.1
load_dir
8.3
new
2.1
CRAP 8.2
Utilities/Options.pm 18.9
CC
27
Cov
75%
validate_option
12.5
get_code
5.0
get_long
5.0
CRAP 6.7
2 2 files < 75%
4 4 files 75-90%
< 75% 75-90% 90-100% at 100%
File Statementstmt Branchbran Conditioncond MC/DCmcdc Subroutinesub Podpod totaltotal CC SCAR
(root) 90.9 40 / 4466.6 8 / 12n/a n/a 100 8 / 8100 4 / 488.2 60 / 687 10.9
CC
7
Cov
86%
CRAP 3.0
Utilities.pm 90.9 40 / 4466.6 8 / 12n/a n/a 100 8 / 8100 4 / 488.2 60 / 687 10.9
CC
7
Cov
86%
subnet_add
5.1
subnet_get
3.4
BEGIN
1.0
CRAP 3.0
Utilities 63.7 244 / 38345.1 74 / 16423.0 9 / 394.0 1 / 2593.4 43 / 4695.6 22 / 2357.7 393 / 680109 46.2
CC
109
Cov
56%
CRAP 101.2
INI_check.pm 17.8 22 / 1230.0 0 / 480.0 0 / 240.0 0 / 1670.0 7 / 10100 3 / 314.2 32 / 22440 56.9
CC
40
Cov
11%
overlap_check
380.0
cidr_in_file
380.0
new
20.0
CRAP 296.5
Subnet.pm 88.7 87 / 9867.5 27 / 4058.3 7 / 120.0 0 / 7100 15 / 15100 9 / 980.1 145 / 18127 26.8
CC
27
Cov
81%
new
26.9
option_set
6.2
option_get
3.1
CRAP 14.6
INI_loader.pm 85.3 64 / 7557.1 16 / 28n/a n/a 100 9 / 9100 3 / 380.0 92 / 11518 21.0
CC
18
Cov
78%
load_file
13.1
load_dir
8.3
new
2.1
CRAP 8.2
Options.pm 81.6 71 / 8764.5 31 / 4866.6 2 / 350.0 1 / 2100 12 / 1287.5 7 / 877.5 124 / 16027 18.9
CC
27
Cov
75%
validate_option
12.5
get_code
5.0
get_long
5.0
CRAP 6.7
Utilities/Generator 78.7 63 / 8052.2 23 / 4433.3 2 / 60.0 0 / 4100 8 / 8100 2 / 268.0 98 / 14428 31.5
CC
28
Cov
68%
CRAP 23.3
ISC_DHCPD.pm 78.7 63 / 8052.2 23 / 4433.3 2 / 60.0 0 / 4100 8 / 8100 2 / 268.0 98 / 14428 31.5
CC
28
Cov
68%
new
32.8
generate
24.5
BEGIN
1.0
CRAP 23.3