Branch Coverage

blib/lib/Business/US_Amort.pm
Criterion Covered Total %
branch 20 50 40.0


line true false branch
100 0 1 unless $o->run
104 0 1 wantarray ? :
325 3 1 if @_
359 0 0 unless ref $this
363 0 0 if (ref $$new{'table'})
385 0 0 unless ref $this
410 123 0 $$this{'cent_rounding'} ? :
425 0 1 if $$this{'am_snapshot'}
430 0 1 unless ($$this{'principal'} > 0)
437 0 1 unless ($$this{'interest_rate'} >= 0)
443 0 1 unless ($$this{'term'})
455 1 0 if ($j) { }
477 1 0 unless defined $$this{'_month_count_limit'}
487 0 61 if ($$this{'callback_before_monthly_calc'})
491 0 61 if ($$this{'_abort'})
501 60 1 if ($$this{'_remainder'} > $$this{'_c'}) { }
510 61 0 unless ($$this{'block_table'})
520 0 61 if ($$this{'callback_after_monthly_calc'})
524 0 61 if ($$this{'_abort'})
526 0 61 if ($$this{'_month_count'} > $$this{'_month_count_limit'})
531 0 61 if defined $$this{'_date'}
558 0 0 unless ref $$this{'table'}
635 0 0 @ARGV ? :
645 0 0 unless $in_date =~ /^(\d\d\d\d)-(\d\d)/s
648 0 0 if (++$month > 12)