Coverage Report

Statementstmt 5.0% 36 / 715 Branchbran 0.0% 0 / 198 Conditioncond 0.0% 0 / 91 MC/DCmcdc 0.0% 0 / 56 Subroutinesub 10.8% 11 / 101 Podpod 2.1% 1 / 46 totaltotal 3.9% 48 / 1207 CC 102 scar 36.2 CC 102 · cov 4% · CRAP 37.4
Prefix: blib/lib/HTTP/

Top SCAR

AppServer/Plugin/JsonCrud.pm untested 41.8
CC
16
Cov
0%
init
156.0
_connect_db
12.0
_get_dbh
6.0
CRAP 65.1
AppServer/Plugin/Database.pm untested 40.0
CC
55
Cov
0%
_get_migrations
156.0
init
90.0
_db_find
90.0
CRAP 54.8
AppServer/Base.pm 30.9
CC
12
Cov
21%
_dispatch_path
56.0
AUTOLOAD
20.0
set
6.0
CRAP 22.0
AppServer/Plugin/HTTPAuth.pm untested 29.7
CC
9
Cov
0%
init
30.0
_auth
30.0
BEGIN
2.0
CRAP 19.5
AppServer/Plugin/FileRetriever.pm untested 20.4
CC
5
Cov
0%
_handle_file
20.0
init
6.0
BEGIN
2.0
CRAP 7.7
2 2 files < 75%
7 7 untested files
< 75% 75-90% 90-100% at 100% untested
File Statementstmt Branchbran Conditioncond MC/DCmcdc Subroutinesub Podpod totaltotal CC SCAR
(root) 39.0 16 / 410.0 0 / 8n/a n/a 50.0 5 / 100.0 0 / 532.8 21 / 645 16.0
CC
5
Cov
33%
CRAP 4.9
AppServer.pm 39.0 16 / 410.0 0 / 8n/a n/a 50.0 5 / 100.0 0 / 532.8 21 / 645 16.0
CC
5
Cov
33%
plugin
12.0
init
6.0
start
6.0
CRAP 4.9
AppServer 22.4 20 / 890.0 0 / 180.0 0 / 30.0 0 / 237.5 6 / 1620.0 1 / 520.3 27 / 13312 29.5
CC
12
Cov
18%
CRAP 19.0
Base.pm 26.3 20 / 760.0 0 / 180.0 0 / 30.0 0 / 250.0 6 / 1225.0 1 / 423.4 27 / 11512 30.9
CC
12
Cov
21%
_dispatch_path
56.0
AUTOLOAD
20.0
set
6.0
CRAP 22.0
Plugin.pm untested 0.0 0 / 13n/a n/a n/a 0.0 0 / 40.0 0 / 10.0 0 / 181 6.9
CC
1
Cov
0%
init
2.0
BEGIN
2.0
BEGIN
2.0
CRAP 2.0
AppServer/Plugin 0.0 0 / 5850.0 0 / 1720.0 0 / 880.0 0 / 540.0 0 / 750.0 0 / 360.0 0 / 101087 37.7
CC
87
Cov
0%
CRAP 43.3
JsonCrud.pm untested 0.0 0 / 1130.0 0 / 300.0 0 / 70.0 0 / 40.0 0 / 150.0 0 / 70.0 0 / 17616 41.8
CC
16
Cov
0%
init
156.0
_connect_db
12.0
_get_dbh
6.0
CRAP 65.1
Database.pm untested 0.0 0 / 2700.0 0 / 1080.0 0 / 630.0 0 / 390.0 0 / 280.0 0 / 210.0 0 / 52955 40.0
CC
55
Cov
0%
_get_migrations
156.0
init
90.0
_db_find
90.0
CRAP 54.8
HTTPAuth.pm untested 0.0 0 / 530.0 0 / 160.0 0 / 120.0 0 / 70.0 0 / 80.0 0 / 20.0 0 / 989 29.7
CC
9
Cov
0%
init
30.0
_auth
30.0
BEGIN
2.0
CRAP 19.5
FileRetriever.pm untested 0.0 0 / 530.0 0 / 80.0 0 / 30.0 0 / 20.0 0 / 100.0 0 / 20.0 0 / 785 20.4
CC
5
Cov
0%
_handle_file
20.0
init
6.0
BEGIN
2.0
CRAP 7.7
PlainHTML.pm untested 0.0 0 / 480.0 0 / 6n/a n/a 0.0 0 / 70.0 0 / 20.0 0 / 634 17.6
CC
4
Cov
0%
init
12.0
_dump_as_html
6.0
BEGIN
2.0
CRAP 5.8
CustomError.pm untested 0.0 0 / 480.0 0 / 40.0 0 / 30.0 0 / 20.0 0 / 70.0 0 / 20.0 0 / 663 16.7
CC
3
Cov
0%
_errorpage
12.0
init
2.0
BEGIN
2.0
CRAP 5.3