Branch Coverage

blib/lib/Finance/Loan/Repayment.pm
Criterion Covered Total %
branch 11 12 91.6


line true false branch
43 1 5 if ($args{'rate'} and exists $args{'duration'} and not $args{'total_payment'})
70 2 4 if ($self->principal_payment) { }
2 2 elsif ($self->total_payment) { }
1 1 elsif ($self->interest_off) { }
74 2 0 if ($self->total_payment > $interest)
92 1 4 $payment > $loan ? :