Coverage Report

Statementstmt 21.8% 275 / 1261 Branchbran 1.1% 6 / 544 Conditioncond 1.3% 2 / 154 MC/DCmcdc 0.0% 0 / 84 Subroutinesub 31.9% 76 / 238 Podpod 54.9% 61 / 111 totaltotal 17.5% 420 / 2392 CC 331 scar 39.0 CC 331 · cov 14% · CRAP 49.3
Prefix: blib/lib/WebService/

Top SCAR

ILS/RecordedBooks.pm 45.5
CC
94
Cov
7%
_item_xlate
420.0
search
132.0
place_hold
110.0
CRAP 94.5
ILS/OverDrive.pm 43.5
CC
46
Cov
16%
search
272.0
_item_metadata_xlate
72.0
_error_from_json
42.0
CRAP 77.3
ILS.pm 36.2
CC
56
Cov
22%
process_json_response
110.0
_parse_sort_string
90.0
process_json_error_response
90.0
CRAP 37.2
ILS/OverDrive/Patron.pm 34.0
CC
92
Cov
10%
native_checkout
110.0
checkouts
90.0
checkout_download_url
56.0
CRAP 30.0
ILS/JSON.pm 30.1
CC
22
Cov
18%
with_put_request
42.0
with_delete_request
30.0
with_json_request
21.1
CRAP 20.4
10 10 files < 75%
1 1 untested file
< 75% 75-90% 90-100% at 100% untested
File Statementstmt Branchbran Conditioncond MC/DCmcdc Subroutinesub Podpod totaltotal CC SCAR
(root) 32.0 57 / 1787.1 6 / 846.6 2 / 300.0 0 / 1840.5 15 / 3746.1 6 / 1323.8 86 / 36056 36.2
CC
56
Cov
22%
CRAP 37.2
ILS.pm 32.0 57 / 1787.1 6 / 846.6 2 / 300.0 0 / 1840.5 15 / 3746.1 6 / 1323.8 86 / 36056 36.2
CC
56
Cov
22%
process_json_response
110.0
_parse_sort_string
90.0
process_json_error_response
90.0
CRAP 37.2
ILS 14.6 95 / 6480.0 0 / 2760.0 0 / 1010.0 0 / 5224.5 26 / 10647.2 26 / 5511.8 147 / 1238170 42.9
CC
170
Cov
9%
CRAP 72.7
RecordedBooks.pm 11.2 34 / 3030.0 0 / 1460.0 0 / 230.0 0 / 1218.7 9 / 4863.3 19 / 3011.0 62 / 56294 45.5
CC
94
Cov
7%
_item_xlate
420.0
search
132.0
place_hold
110.0
CRAP 94.5
OverDrive.pm 26.0 39 / 1500.0 0 / 740.0 0 / 160.0 0 / 837.0 10 / 2770.0 7 / 1019.6 56 / 28546 43.5
CC
46
Cov
16%
search
272.0
_item_metadata_xlate
72.0
_error_from_json
42.0
CRAP 77.3
JSON.pm 26.5 22 / 830.0 0 / 360.0 0 / 60.0 0 / 350.0 7 / 140.0 0 / 519.7 29 / 14722 30.1
CC
22
Cov
18%
with_put_request
42.0
with_delete_request
30.0
with_json_request
21.1
CRAP 20.4
XML.pm untested 0.0 0 / 1120.0 0 / 200.0 0 / 560.0 0 / 290.0 0 / 170.0 0 / 100.0 0 / 24411 26.5
CC
11
Cov
0%
process_xml_response
42.0
process_xml_error_response
20.0
with_get_request
6.0
CRAP 14.1
ILS/OverDrive 19.7 63 / 3190.0 0 / 1600.0 0 / 230.0 0 / 1429.5 18 / 6176.6 23 / 3017.1 104 / 60795 33.4
CC
95
Cov
13%
CRAP 28.2
Patron.pm 16.9 49 / 2900.0 0 / 1540.0 0 / 230.0 0 / 1426.4 14 / 5384.6 22 / 2615.1 85 / 56092 34.0
CC
92
Cov
10%
native_checkout
110.0
checkouts
90.0
checkout_download_url
56.0
CRAP 30.0
Library.pm 48.2 14 / 290.0 0 / 6n/a n/a 50.0 4 / 825.0 1 / 440.4 19 / 474 16.3
CC
4
Cov
40%
collection_token
12.0
native_library_account
6.0
make_access_token_request
2.0
CRAP 5.1
ILS/RecordedBooks 51.7 60 / 1160.0 0 / 24n/a n/a 50.0 17 / 3446.1 6 / 1344.3 83 / 18713 15.3
CC
13
Cov
43%
CRAP 4.6
Partner.pm 53.5 15 / 280.0 0 / 10n/a n/a 57.1 4 / 750.0 1 / 242.5 20 / 476 19.9
CC
6
Cov
39%
__ANON__
12.0
checkout
12.0
circulation_action_base_url
6.0
CRAP 7.3
PartnerPatron.pm 53.8 14 / 260.0 0 / 4n/a n/a 50.0 4 / 850.0 2 / 447.6 20 / 423 15.3
CC
3
Cov
47%
BUILD
12.0
circulation_action_base_url
2.0
patron_id
2.0
CRAP 4.6
PartnerBase.pm 51.5 17 / 330.0 0 / 8n/a n/a 50.0 5 / 1075.0 3 / 445.4 25 / 555 13.7
CC
5
Cov
41%
title_url
6.0
_request_with_token
6.0
patron_id
6.0
CRAP 3.9
Patron.pm 48.2 14 / 290.0 0 / 2n/a n/a 44.4 4 / 90.0 0 / 341.8 18 / 432 8.8
CC
2
Cov
45%
title_url
6.0
_access_auth_string
2.0
_extract_token_from_response
2.0
CRAP 2.4