Coverage Report

Statementstmt 77.2% 452 / 585 Branchbran 51.2% 123 / 240 Conditioncond 54.9% 28 / 51 MC/DCmcdc 25.8% 8 / 31 Subroutinesub 77.8% 81 / 104 Podpod 65.7% 25 / 38 totaltotal 68.3% 717 / 1049 CC 154 scar 28.8 CC 154 · cov 69% · CRAP 17.8
Prefix: blib/lib/WebService/GoogleAPI/

Top SCAR

Client/UserAgent.pm 37.2
CC
34
Cov
59%
build_http_transaction
69.0
validated_api_query
46.0
header_with_bearer_auth_token
3.2
CRAP 41.1
Client.pm 32.4
CC
53
Cov
65%
api_query
110.0
has_scope_to_access_api_endpoint
42.0
_interpolate_path_parameters_append_query_params_and_return_errors
18.1
CRAP 25.7
Client/AuthStorage.pm 19.0
CC
6
Cov
53%
refresh_user_token
12.0
refresh_service_account_token
12.0
__ANON__
2.0
CRAP 6.7
Client/Discovery.pm 17.4
CC
57
Cov
83%
get_with_cache
12.2
get_method_details
9.2
_extract_resource_methods_from_api_spec
9.1
CRAP 5.7
Client/AuthStorage/ServiceAccount.pm 15.4
CC
5
Cov
41%
refresh_access_token
12.0
__ANON__
6.0
__ANON__
6.0
CRAP 4.7
5 5 files < 75%
1 1 file 75-90%
1 1 file 100%
< 75% 75-90% 90-100% at 100%
File Statementstmt Branchbran Conditioncond MC/DCmcdc Subroutinesub Podpod totaltotal CC SCAR
(root) 72.9 116 / 15951.1 43 / 8450.0 7 / 1422.2 2 / 979.1 19 / 2433.3 2 / 663.8 189 / 29653 32.4
CC
53
Cov
65%
CRAP 25.7
Client.pm 72.9 116 / 15951.1 43 / 8450.0 7 / 1422.2 2 / 979.1 19 / 2433.3 2 / 663.8 189 / 29653 32.4
CC
53
Cov
65%
api_query
110.0
has_scope_to_access_api_endpoint
42.0
_interpolate_path_parameters_append_query_params_and_return_errors
18.1
CRAP 25.7
Client 83.5 284 / 34054.2 77 / 14256.7 21 / 3727.2 6 / 2286.2 50 / 5873.9 17 / 2373.1 455 / 62295 28.1
CC
95
Cov
74%
CRAP 16.6
UserAgent.pm 75.5 65 / 8636.5 19 / 5241.1 7 / 170.0 0 / 1092.8 13 / 1475.0 3 / 458.4 107 / 18334 37.2
CC
34
Cov
59%
build_http_transaction
69.0
validated_api_query
46.0
header_with_bearer_auth_token
3.2
CRAP 41.1
AuthStorage.pm 64.1 25 / 3910.0 1 / 10n/a n/a 71.4 5 / 7100 2 / 256.9 33 / 586 19.0
CC
6
Cov
53%
refresh_user_token
12.0
refresh_service_account_token
12.0
__ANON__
2.0
CRAP 6.7
Discovery.pm 89.6 181 / 20271.2 57 / 8070.0 14 / 2050.0 6 / 1284.8 28 / 3370.5 12 / 1781.8 298 / 36457 17.4
CC
57
Cov
83%
get_with_cache
12.2
get_method_details
9.2
_extract_resource_methods_from_api_spec
9.1
CRAP 5.7
AccessToken.pm 100 13 / 13n/a n/a n/a 100 4 / 4n/a 100 17 / 171 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
Client/AuthStorage 60.4 52 / 8621.4 3 / 14n/a n/a 54.5 12 / 2266.6 6 / 955.7 73 / 1318 12.4
CC
8
Cov
55%
CRAP 3.5
ServiceAccount.pm 48.7 20 / 410.0 0 / 8n/a n/a 36.3 4 / 11100 2 / 241.9 26 / 625 15.4
CC
5
Cov
41%
refresh_access_token
12.0
__ANON__
6.0
__ANON__
6.0
CRAP 4.7
GapiJSON.pm 71.1 32 / 4550.0 3 / 6n/a n/a 72.7 8 / 1157.1 4 / 768.1 47 / 694 7.6
CC
4
Cov
69%
refresh_access_token
6.0
BUILD
2.0
get_token_emails_from_storage
2.0
CRAP 2.1