blib/lib/Business/CPI/Gateway/PayPal.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 17 | 26 | 65.3 |
line | l | !l | condition |
---|---|---|---|
97 | 1 | 0 | $vars{'mc_fee'} || 0 |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
97 | 0 | 1 | 0 | $vars{'settle_amount'} || $vars{'mc_gross'} |
124 | 2 | 1 | 9 | /^Completed$/ or /^Processed$/ |
127 | 1 | 1 | 7 | /^Denied$/ or /^Expired$/ |
2 | 1 | 6 | /^Denied$/ or /^Expired$/ or /^Failed$/ | |
131 | 1 | 1 | 4 | /^Voided$/ or /^Refunded$/ |
2 | 1 | 3 | /^Voided$/ or /^Refunded$/ or /^Reversed$/ | |
144 | 0 | 0 | 0 | $$info{'final_date'} || 'DateTime'->now('time_zone', 'UTC') |
145 | 0 | 0 | 0 | $$info{'initial_date'} || $final_date->clone->subtract('days', 30) |