Coverage Report

Statementstmt 77.4% 446 / 576 Branchbran 52.0% 125 / 240 Conditioncond 54.1% 26 / 48 MC/DCmcdc 27.5% 8 / 29 Subroutinesub 77.4% 79 / 102 Podpod 64.8% 24 / 37 totaltotal 68.6% 708 / 1032 scar 67.4 CC 153 · cov 69% · CRAP 843.8
Prefix: blib/lib/WebService/GoogleAPI/

Top SCAR

Client.pm 51.7
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 175.1
Client/UserAgent.pm 47.1
CC
33
Cov
59%
build_http_transaction
69.0
validated_api_query
39.8
header_with_bearer_auth_token
3.2
CRAP 110.8
Client/Discovery.pm 42.5
CC
57
Cov
84%
get_with_cache
12.2
_extract_resource_methods_from_api_spec
9.1
get_method_details
9.1
CRAP 70.0
Client/AuthStorage/ServiceAccount.pm 23.2
CC
5
Cov
41%
refresh_access_token
12.0
__ANON__
6.0
__ANON__
6.0
CRAP 10.2
Client/AuthStorage.pm 22.7
CC
6
Cov
53%
refresh_user_token
12.0
refresh_service_account_token
12.0
__ANON__
2.0
CRAP 9.7
5 files < 75%
1 file 75-90%
1 file 100%
5 < 75% 1 75-90% 0 90-100% 1 at 100%
File Statementstmt Branchbran Conditioncond MC/DCmcdc Subroutinesub Podpod totaltotal SCAR
(root) 72.9 116 / 15952.3 45 / 8645.4 5 / 1128.5 2 / 779.1 19 / 2433.3 2 / 664.5 189 / 293 51.7
CC
53
Cov
65%
CRAP 175.1
Client.pm 72.9 116 / 15952.3 45 / 8645.4 5 / 1128.5 2 / 779.1 19 / 2433.3 2 / 664.5 189 / 293 51.7
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 175.1
Client 84.1 281 / 33455.0 77 / 14056.7 21 / 3727.2 6 / 2285.9 49 / 5773.9 17 / 2373.5 451 / 613 55.1
CC
94
Cov
74%
CRAP 246.3
UserAgent.pm 76.2 61 / 8036.0 18 / 5041.1 7 / 170.0 0 / 1092.3 12 / 1375.0 3 / 458.0 101 / 174 47.1
CC
33
Cov
59%
build_http_transaction
69.0
validated_api_query
39.8
header_with_bearer_auth_token
3.2
CRAP 110.8
Discovery.pm 90.1 182 / 20272.5 58 / 8070.0 14 / 2050.0 6 / 1284.8 28 / 3370.5 12 / 1782.4 300 / 364 42.5
CC
57
Cov
84%
get_with_cache
12.2
_extract_resource_methods_from_api_spec
9.1
get_method_details
9.1
CRAP 70.0
AuthStorage.pm 64.1 25 / 3910.0 1 / 10n/a n/a 71.4 5 / 7100 2 / 256.9 33 / 58 22.7
CC
6
Cov
53%
refresh_user_token
12.0
refresh_service_account_token
12.0
__ANON__
2.0
CRAP 9.7
AccessToken.pm 100 13 / 13n/a n/a n/a 100 4 / 4n/a 100 17 / 17 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
Client/AuthStorage 59.0 49 / 8321.4 3 / 14n/a n/a 52.3 11 / 2162.5 5 / 853.9 68 / 126 26.7
CC
8
Cov
54%
CRAP 14.4
ServiceAccount.pm 48.7 20 / 410.0 0 / 8n/a n/a 36.3 4 / 11100 2 / 241.9 26 / 62 23.2
CC
5
Cov
41%
refresh_access_token
12.0
__ANON__
6.0
__ANON__
6.0
CRAP 10.2
GapiJSON.pm 69.0 29 / 4250.0 3 / 6n/a n/a 70.0 7 / 1050.0 3 / 665.6 42 / 64 15.2
CC
4
Cov
67%
refresh_access_token
6.0
BUILD
2.0
get_token_emails_from_storage
2.0
CRAP 4.6