Coverage Report

Statementstmt 65.0% 242 / 372 Branchbran 44.1% 38 / 86 Conditioncond 33.3% 2 / 6 MC/DCmcdc 25.0% 1 / 4 Subroutinesub 77.6% 52 / 67 Podpod 75.0% 15 / 20 totaltotal 63.0% 350 / 555 CC 46 scar 19.7 CC 46 · cov 61% · CRAP 7.1
Prefix: blib/lib/POE/Component/Server/

Top SCAR

HTTPServer/StaticHandler.pm 29.8
CC
14
Cov
51%
handle_directory
56.0
handle
4.4
_init
3.2
CRAP 19.7
HTTPServer.pm 18.1
CC
23
Cov
53%
create_server
20.0
dispatch
9.1
_init
9.0
CRAP 6.1
HTTPServer/TemplateHandler.pm untested 11.0
CC
2
Cov
0%
handle_plainfile
6.0
BEGIN
2.0
BEGIN
2.0
CRAP 3.0
HTTPServer/ParameterParseHandler.pm 10.5
CC
5
Cov
93%
handle
5.1
BEGIN
1.0
BEGIN
1.0
CRAP 2.8
HTTPServer/BasicAuthenHandler.pm 7.4
CC
4
Cov
95%
handle
4.0
BEGIN
1.0
BEGIN
1.0
CRAP 2.1
2 2 files < 75%
4 4 files 90-100%
1 1 untested file
< 75% 75-90% 90-100% at 100% untested
File Statementstmt Branchbran Conditioncond MC/DCmcdc Subroutinesub Podpod totaltotal CC SCAR
(root) 55.7 82 / 14745.4 20 / 44n/a n/a 72.7 16 / 2288.8 8 / 956.7 126 / 22223 18.1
CC
23
Cov
53%
CRAP 6.1
HTTPServer.pm 55.7 82 / 14745.4 20 / 44n/a n/a 72.7 16 / 2288.8 8 / 956.7 126 / 22223 18.1
CC
23
Cov
53%
create_server
20.0
dispatch
9.1
_init
9.0
CRAP 6.1
HTTPServer 71.1 160 / 22542.8 18 / 4233.3 2 / 625.0 1 / 480.0 36 / 4563.6 7 / 1167.2 224 / 33324 20.6
CC
24
Cov
66%
CRAP 7.8
StaticHandler.pm 58.4 45 / 7730.7 8 / 26n/a n/a 88.8 8 / 9100 3 / 355.6 64 / 11514 29.8
CC
14
Cov
51%
handle_directory
56.0
handle
4.4
_init
3.2
CRAP 19.7
TemplateHandler.pm untested 0.0 0 / 300.0 0 / 20.0 0 / 30.0 0 / 20.0 0 / 70.0 0 / 10.0 0 / 452 11.0
CC
2
Cov
0%
handle_plainfile
6.0
BEGIN
2.0
BEGIN
2.0
CRAP 3.0
ParameterParseHandler.pm 97.1 34 / 3566.6 4 / 6n/a n/a 100 7 / 7100 1 / 193.8 46 / 495 10.5
CC
5
Cov
93%
handle
5.1
BEGIN
1.0
BEGIN
1.0
CRAP 2.8
BasicAuthenHandler.pm 100 36 / 3675.0 3 / 466.6 2 / 350.0 1 / 2100 8 / 850.0 1 / 292.7 51 / 554 7.4
CC
4
Cov
95%
handle
4.0
BEGIN
1.0
BEGIN
1.0
CRAP 2.1
NotFoundHandler.pm 96.0 24 / 2575.0 3 / 4n/a n/a 100 6 / 650.0 1 / 291.8 34 / 373 4.1
CC
3
Cov
93%
handle
2.0
new
2.0
BEGIN
1.0
CRAP 1.5
Handler.pm 95.4 21 / 22n/a n/a n/a 87.5 7 / 850.0 1 / 290.6 29 / 321 1.2
CC
1
Cov
95%
handle
2.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.1