Subroutine Coverage
blib/lib/Business/OnlinePayment/SurePay.pm |
|
Criterion |
Covered |
Total |
% |
subroutine |
44 |
57 |
77.1
|
pod |
3 |
5 |
60.0
|
line |
count |
pod |
subroutine |
3
|
3 |
n/a |
BEGIN |
4
|
3 |
n/a |
BEGIN |
5
|
3 |
n/a |
BEGIN |
6
|
3 |
n/a |
BEGIN |
7
|
3 |
n/a |
BEGIN |
20
|
2 |
No |
set_defaults |
34
|
2 |
No |
map_fields |
60
|
2 |
Yes |
remap_fields |
70
|
12 |
Yes |
get_fields |
79
|
0 |
Yes |
submit |
155
|
3 |
n/a |
BEGIN |
184
|
4 |
n/a |
new |
194
|
40 |
n/a |
_Add_Field |
215
|
4 |
n/a |
getType |
219
|
4 |
n/a |
make_XML |
233
|
3 |
n/a |
BEGIN |
251
|
2 |
n/a |
new |
259
|
10 |
n/a |
_Add_Field |
303
|
2 |
n/a |
addLineItem |
311
|
2 |
n/a |
make_XML |
337
|
3 |
n/a |
BEGIN |
340
|
0 |
n/a |
new |
363
|
0 |
n/a |
getAuthCode |
364
|
0 |
n/a |
getAuthStatus |
365
|
0 |
n/a |
getAVS |
366
|
0 |
n/a |
getcvv2result |
367
|
0 |
n/a |
getCSP |
368
|
0 |
n/a |
getMerchant |
369
|
0 |
n/a |
getFailure |
370
|
0 |
n/a |
getOrderNumber |
371
|
0 |
n/a |
getTransactionID |
372
|
0 |
n/a |
getFailureMsg |
378
|
3 |
n/a |
BEGIN |
391
|
2 |
n/a |
new |
399
|
8 |
n/a |
addField |
435
|
2 |
n/a |
make_XML |
449
|
2 |
n/a |
_CreditCardNumberCheck |
465
|
3 |
n/a |
BEGIN |
477
|
2 |
n/a |
new |
485
|
10 |
n/a |
_Add_Field |
512
|
2 |
n/a |
make_XML |
527
|
3 |
n/a |
BEGIN |
528
|
3 |
n/a |
BEGIN |
531
|
0 |
n/a |
doctype |
536
|
56 |
n/a |
clean |
547
|
2 |
n/a |
https_post |
565
|
3 |
n/a |
BEGIN |
573
|
2 |
n/a |
new |
581
|
4 |
n/a |
_Add_Field |
592
|
2 |
n/a |
addAuth |
601
|
2 |
n/a |
make_XML |
618
|
3 |
n/a |
BEGIN |
621
|
2 |
n/a |
new |
631
|
2 |
n/a |
submit |
678
|
3 |
n/a |
BEGIN |
682
|
2 |
n/a |
new |
688
|
2 |
n/a |
make_XML |