| blib/lib/Vend/Payment/Nova.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| condition | 2 | 29 | 6.9 |
| line | !l | l&&!r | l&&r | condition |
|---|---|---|---|---|
| 277 | 0 | 0 | 0 | $result{'ssl_result'} == 0 and $result{'ssl_result_message'} eq 'APPROVED' || $result{'ssl_result_message'} eq 'APPROVAL' |
| line | l | !l | condition |
|---|---|---|---|
| 214 | 0 | 0 | $$opt{'precision'} || charge_param('precision') || 2 |
| 216 | 0 | 0 | $$opt{'total_cost'} || undef |
| 218 | 0 | 0 | $$opt{'transaction'} ||= 'sale' |
| 259 | 0 | 0 | $$opt{'submit_url'} || 'https://www.myvirtualmerchant.com/VirtualMerchant/process.do' |
| line | l | !l&&r | !l&&!r | condition |
|---|---|---|---|---|
| 145 | 1 | 0 | 0 | $Vend::Payment::Have_Net_SSLeay or $Vend::Payment::Have_LWP |
| 149 | 0 | 1 | 0 | $Vend::Quiet or not $Global::VendRoot |
| 194 | 0 | 0 | 0 | $$opt{'merchant_id'} || charge_param('merchant_id') |
| 195 | 0 | 0 | 0 | $$opt{'user_id'} || charge_param('user_id') |
| 196 | 0 | 0 | 0 | $$opt{'pin'} || charge_param('pin') |
| 277 | 0 | 0 | 0 | $result{'ssl_result_message'} eq 'APPROVED' || $result{'ssl_result_message'} eq 'APPROVAL' |