Coverage Report

Statementstmt 82.9% 380 / 458 Branchbran 66.4% 105 / 158 Conditioncond 57.3% 39 / 68 MC/DCmcdc 38.4% 15 / 39 Subroutinesub 83.3% 90 / 108 Podpod 9.6% 6 / 62 totaltotal 71.1% 635 / 893 CC 106 scar 18.7 CC 106 · cov 77% · CRAP 6.5
Prefix: blib/lib/REST/

Top SCAR

Consumer.pm 21.9
CC
85
Cov
70%
configure
35.8
load_config_from_file
30.0
get_response
13.1
CRAP 9.0
Consumer/Dispatch.pm 11.4
CC
12
Cov
88%
handle_response
5.1
__ANON__
5.0
initialize
3.3
CRAP 3.1
Consumer/RequestException.pm 7.0
CC
3
Cov
94%
as_string
3.0
BEGIN
1.0
BEGIN
1.0
CRAP 2.0
Consumer/HandlerInvocation.pm 6.6
CC
7
Cov
92%
attempt_content_deserialization
5.0
new
2.0
fail
2.0
CRAP 1.9
Consumer/Exception.pm 4.7
CC
3
Cov
96%
new
3.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.6
1 1 file < 75%
6 6 files 75-90%
< 75% 75-90% 90-100% at 100%
File Statementstmt Branchbran Conditioncond MC/DCmcdc Subroutinesub Podpod totaltotal CC SCAR
(root) 76.6 216 / 28261.7 79 / 12853.7 29 / 5436.6 11 / 3082.3 42 / 5117.6 6 / 3466.1 383 / 57985 21.9
CC
85
Cov
70%
CRAP 9.0
Consumer.pm 76.6 216 / 28261.7 79 / 12853.7 29 / 5436.6 11 / 3082.3 42 / 5117.6 6 / 3466.1 383 / 57985 21.9
CC
85
Cov
70%
configure
35.8
load_config_from_file
30.0
get_response
13.1
CRAP 9.0
Consumer 93.1 164 / 17686.6 26 / 3071.4 10 / 1444.4 4 / 984.2 48 / 570.0 0 / 2880.2 252 / 31422 7.9
CC
22
Cov
91%
CRAP 2.2
Dispatch.pm 92.5 50 / 5481.2 13 / 1666.6 4 / 650.0 2 / 484.6 11 / 130.0 0 / 879.2 80 / 10112 11.4
CC
12
Cov
88%
handle_response
5.1
__ANON__
5.0
initialize
3.3
CRAP 3.1
RequestException.pm 100 13 / 13100 2 / 250.0 1 / 20.0 0 / 1100 4 / 40.0 0 / 186.9 20 / 233 7.0
CC
3
Cov
94%
as_string
3.0
BEGIN
1.0
BEGIN
1.0
CRAP 2.0
HandlerInvocation.pm 92.0 58 / 63100 8 / 883.3 5 / 650.0 2 / 479.1 19 / 240.0 0 / 1278.6 92 / 1177 6.6
CC
7
Cov
92%
attempt_content_deserialization
5.0
new
2.0
fail
2.0
CRAP 1.9
Exception.pm 100 24 / 2475.0 3 / 4n/a n/a 100 8 / 80.0 0 / 487.5 35 / 403 4.7
CC
3
Cov
96%
new
3.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.6
PermissiveResolver.pm 90.0 9 / 10n/a n/a n/a 75.0 3 / 40.0 0 / 275.0 12 / 161 2.2
CC
1
Cov
90%
resolve
2.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.2
ResponseException.pm 83.3 10 / 12n/a n/a n/a 75.0 3 / 40.0 0 / 176.4 13 / 171 2.2
CC
1
Cov
83%
as_string
2.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.2