| blib/lib/Stancer/Role/Payment/Refund.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 9 | 10 | 90.0 |
| line | true | false | branch |
|---|---|---|---|
| 69 | 1 | 7 | unless defined $this->id |
| 71 | 6 | 1 | if (defined $amount) |
| 72 | 2 | 4 | if ($amount > $this->refundable_amount) |
| 82 | 1 | 1 | if ($refunded != 0) |
| 110 | 0 | 4 | if ($refund->status ne "to_refund") |