Coverage Report

Statementstmt 38.5% 512 / 1330 Branchbran 16.0% 103 / 640 Conditioncond 11.8% 21 / 178 MC/DCmcdc 7.5% 8 / 106 Subroutinesub 50.2% 93 / 185 Podpod 100% 67 / 67 totaltotal 32.0% 804 / 2506 CC 395 scar 45.2 CC 395 · cov 30% · CRAP 91.6
Prefix: blib/lib/Net/STOMP/

Top SCAR

Client/IO.pm 53.4
CC
48
Cov
13%
_try_to_write
462.0
_try_to_read
210.0
receive_data
42.0
CRAP 209.0
Client/Frame.pm 47.6
CC
138
Cov
47%
encode
552.0
_debug_body
90.0
demessagify
90.0
CRAP 116.3
Client/Auth.pm 46.3
CC
21
Cov
29%
_setup
181.1
_chkauth
20.0
_connect_hook
20.0
CRAP 102.9
Client/Connection.pm 45.9
CC
47
Cov
36%
_try
272.0
_attempt
90.0
new
90.0
CRAP 98.1
Client.pm 41.2
CC
97
Cov
9%
new
240.0
receive_frame
156.0
wait_for_frames
132.0
CRAP 61.8
9 9 files < 75%
< 75% 75-90% 90-100% at 100%
File Statementstmt Branchbran Conditioncond MC/DCmcdc Subroutinesub Podpod totaltotal CC SCAR
(root) 13.7 49 / 3560.0 0 / 1720.0 0 / 230.0 0 / 1422.2 14 / 63100 35 / 3514.7 98 / 66397 41.2
CC
97
Cov
9%
CRAP 61.8
Client.pm 13.7 49 / 3560.0 0 / 1720.0 0 / 230.0 0 / 1422.2 14 / 63100 35 / 3514.7 98 / 66397 41.2
CC
97
Cov
9%
new
240.0
receive_frame
156.0
wait_for_frames
132.0
CRAP 61.8
Client 47.5 463 / 97422.0 103 / 46813.5 21 / 1558.7 8 / 9264.7 79 / 122100 32 / 3238.3 706 / 1843299 46.3
CC
299
Cov
37%
CRAP 102.9
IO.pm 23.1 32 / 1380.0 0 / 720.0 0 / 330.0 0 / 2162.5 10 / 16100 4 / 416.2 46 / 28448 53.4
CC
48
Cov
13%
_try_to_write
462.0
_try_to_read
210.0
receive_data
42.0
CRAP 209.0
Frame.pm 55.5 215 / 38740.3 84 / 20825.6 20 / 7817.7 8 / 4567.8 19 / 28100 12 / 1247.2 358 / 758138 47.6
CC
138
Cov
47%
encode
552.0
_debug_body
90.0
demessagify
90.0
CRAP 116.3
Auth.pm 46.4 26 / 562.9 1 / 3416.6 1 / 60.0 0 / 475.0 6 / 8n/a 31.4 34 / 10821 46.3
CC
21
Cov
29%
_setup
181.1
_chkauth
20.0
_connect_hook
20.0
CRAP 102.9
Connection.pm 46.9 68 / 14520.5 16 / 780.0 0 / 130.0 0 / 882.3 14 / 17100 1 / 137.7 99 / 26247 45.9
CC
47
Cov
36%
_try
272.0
_attempt
90.0
new
90.0
CRAP 98.1
Version.pm 43.5 34 / 783.1 1 / 32n/a n/a 61.5 8 / 13100 2 / 236.0 45 / 12518 32.6
CC
18
Cov
32%
_check
72.0
_connected_hook
20.0
accept_version
12.0
CRAP 26.0
HeartBeat.pm 41.8 36 / 863.1 1 / 320.0 0 / 220.0 0 / 1252.9 9 / 17100 5 / 529.3 51 / 17425 30.7
CC
25
Cov
26%
_connect_hook
56.0
client_heart_beat
30.0
server_heart_beat
30.0
CRAP 21.5
Receipt.pm 51.1 22 / 430.0 0 / 120.0 0 / 30.0 0 / 250.0 5 / 10100 2 / 240.2 29 / 728 21.6
CC
8
Cov
38%
_receipt_hook
20.0
_client_hook
12.0
receipts
6.0
CRAP 8.6
Peer.pm 73.1 30 / 41n/a n/a n/a 61.5 8 / 13100 6 / 673.3 44 / 601 3.3
CC
1
Cov
73%
proto
2.0
host
2.0
port
2.0
CRAP 1.4