| blib/lib/Finance/Loan/Repayment.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| condition | 7 | 12 | 58.3 |
| line | !l | l&&!r | l&&r | condition |
|---|---|---|---|---|
| 43 | 0 | 5 | 1 | $args{'rate'} and exists $args{'duration'} |
| 5 | 0 | 1 | $args{'rate'} and exists $args{'duration'} and not $args{'total_payment'} |
| line | l | !l&&r | !l&&!r | condition |
|---|---|---|---|---|
| 61 | 6 | 4 | 0 | shift() // $self->loan |
| 66 | 0 | 6 | 0 | shift() // $self->loan |