Coverage Report

Statementstmt 98.5% 334 / 339 Branchbran 85.3% 128 / 150 Conditioncond 59.3% 70 / 118 MC/DCmcdc 33.8% 23 / 68 Subroutinesub 97.0% 66 / 68 Podpod 93.7% 15 / 16 totaltotal 83.7% 636 / 759 CC 131 scar 22.5 CC 131 · cov 88% · CRAP 9.5
Prefix: blib/lib/Catalyst/Plugin/OAuth2/

Top SCAR

AuthorizationServer/Server.pm 25.0
CC
102
Cov
89%
register_client
21.1
validate_authorize
20.7
_validate_client_metadata
19.5
CRAP 12.2
AuthorizationServer.pm 13.5
CC
29
Cov
83%
_oauth_json_body
7.9
__ANON__
6.7
_oauth_engine
5.9
CRAP 3.9
AuthorizationServer/Error.pm 2.9
CC
2
Cov
100%
to_response
2.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.3
2 2 files 75-90%
2 2 files 100%
< 75% 75-90% 90-100% at 100%
File Statementstmt Branchbran Conditioncond MC/DCmcdc Subroutinesub Podpod totaltotal CC SCAR
(root) 95.6 111 / 11662.5 20 / 3248.0 12 / 2520.0 3 / 1592.5 25 / 27100 6 / 680.0 177 / 22129 13.5
CC
29
Cov
83%
CRAP 3.9
AuthorizationServer.pm 95.6 111 / 11662.5 20 / 3248.0 12 / 2520.0 3 / 1592.5 25 / 27100 6 / 680.0 177 / 22129 13.5
CC
29
Cov
83%
_oauth_json_body
7.9
__ANON__
6.7
_oauth_engine
5.9
CRAP 3.9
AuthorizationServer 100 215 / 21591.5 108 / 11862.3 58 / 9337.7 20 / 53100 39 / 3990.0 9 / 1085.0 449 / 528103 24.7
CC
103
Cov
89%
CRAP 11.8
Server.pm 100 196 / 19691.3 106 / 11662.3 58 / 9337.7 20 / 53100 34 / 3487.5 7 / 884.2 421 / 500102 25.0
CC
102
Cov
89%
register_client
21.1
validate_authorize
20.7
_validate_client_metadata
19.5
CRAP 12.2
Error.pm 100 19 / 19100 2 / 2n/a n/a 100 5 / 5100 2 / 2100 28 / 282 2.9
CC
2
Cov
100%
to_response
2.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.3
AuthorizationServer/Role 100 8 / 8n/a n/a n/a 100 2 / 2n/a 100 10 / 101 0.0
CC
1
Cov
100%
CRAP 1.0
Store.pm 100 8 / 8n/a n/a n/a 100 2 / 2n/a 100 10 / 101 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
CRAP 1.0