Branch Coverage

blib/lib/Finance/Amortization.pm
Criterion Covered Total %
branch 8 14 57.1


line true false branch
78 0 1 unless (defined $conf{'periods'})
81 1 0 if (defined $conf{'compounding'})
144 0 1 if ($$am{'payment'})
153 0 1 if ($r == 0)
172 1 1 if $period == 0
174 0 1 if $period < 1 or $period > $am->periods
199 0 1 if $period < 1 or $period > $am->periods