Coverage Report

Statementstmt 40.0% 222 / 555 Branchbran 17.2% 20 / 116 Conditioncond 14.8% 16 / 108 MC/DCmcdc 1.5% 1 / 65 Subroutinesub 45.1% 56 / 124 Podpod 0.0% 0 / 46 totaltotal 31.0% 315 / 1014 CC 80 scar 24.5 CC 80 · cov 33% · CRAP 11.6

Top SCAR

blib/lib/PEF/Front/WebSocket.pm untested 32.8
CC
25
Cov
0%
real_setup_websocket
90.0
handler
56.0
prepare_websocket
30.0
CRAP 26.5
blib/lib/PEF/Front/WebSocket/Base.pm untested 28.1
CC
12
Cov
0%
close
42.0
send
20.0
publish
6.0
CRAP 16.6
lib/PEF/Front/WebSocket/QueueServer.pm 15.5
CC
36
Cov
72%
publish
16.9
__ANON__
12.0
add_client
8.5
CRAP 4.7
lib/PEF/Front/WebSocket/QueueClient.pm 8.0
CC
10
Cov
81%
on_disconnect
6.0
new
3.1
unregister_client
3.0
CRAP 2.2
blib/lib/PEF/Front/WebSocket/Interface.pm untested 6.9
CC
1
Cov
0%
on_message
2.0
on_drain
2.0
on_open
2.0
CRAP 2.0
1 1 file < 75%
1 1 file 75-90%
3 3 untested files
< 75% 75-90% 90-100% at 100% untested
File Statementstmt Branchbran Conditioncond MC/DCmcdc Subroutinesub Podpod totaltotal CC SCAR
blib/lib/PEF/Front 0.0 0 / 2180.0 0 / 480.0 0 / 510.0 0 / 320.0 0 / 320.0 0 / 100.0 0 / 39125 32.8
CC
25
Cov
0%
CRAP 26.5
WebSocket.pm untested 0.0 0 / 2180.0 0 / 480.0 0 / 510.0 0 / 320.0 0 / 320.0 0 / 100.0 0 / 39125 32.8
CC
25
Cov
0%
real_setup_websocket
90.0
handler
56.0
prepare_websocket
30.0
CRAP 26.5
blib/lib/PEF/Front/WebSocket 0.0 0 / 700.0 0 / 220.0 0 / 220.0 0 / 120.0 0 / 210.0 0 / 140.0 0 / 16112 25.3
CC
12
Cov
0%
CRAP 12.5
Base.pm untested 0.0 0 / 640.0 0 / 220.0 0 / 220.0 0 / 120.0 0 / 120.0 0 / 70.0 0 / 13912 28.1
CC
12
Cov
0%
close
42.0
send
20.0
publish
6.0
CRAP 16.6
Interface.pm untested 0.0 0 / 6n/a n/a n/a 0.0 0 / 90.0 0 / 70.0 0 / 221 6.9
CC
1
Cov
0%
on_message
2.0
on_drain
2.0
on_open
2.0
CRAP 2.0
lib/PEF/Front/WebSocket 83.1 222 / 26743.4 20 / 4645.7 16 / 354.7 1 / 2178.8 56 / 710.0 0 / 2268.1 315 / 46245 14.2
CC
45
Cov
74%
CRAP 4.1
QueueServer.pm 82.2 157 / 19142.1 16 / 3845.1 14 / 315.2 1 / 1976.9 40 / 520.0 0 / 1565.9 228 / 34636 15.5
CC
36
Cov
72%
publish
16.9
__ANON__
12.0
add_client
8.5
CRAP 4.7
QueueClient.pm 85.5 65 / 7650.0 4 / 850.0 2 / 40.0 0 / 284.2 16 / 190.0 0 / 775.0 87 / 11610 8.0
CC
10
Cov
81%
on_disconnect
6.0
new
3.1
unregister_client
3.0
CRAP 2.2