Branch Coverage

blib/lib/ACH/Builder.pm
Criterion Covered Total %
branch 0 48 0.0


line true false branch
314 0 0 unless ref $records eq 'ARRAY' and @$records
327 0 0 if $record->{'amount'} < 0
329 0 0 if ($record->{'transaction_code'} =~ /^(27|37)$/) { }
0 0 elsif ($record->{'transaction_code'} =~ /^(22|32)$/) { }
330 0 0 if $self->{'__SERVICE_CLASS_CODE__'} eq '220'
334 0 0 if $self->{'__SERVICE_CLASS_CODE__'} eq '225'
380 0 0 @{$record->{'addenda'};} ? :
494 0 0 if length $data->{'entry_hash'} > 10
513 0 0 unless ($self->{'__ALLOW_UNBALANCED_FILE__'})
515 0 0 unless $self->{'__FILE_TOTAL_DEBIT__'} eq $self->{'__FILE_TOTAL_CREDIT__'}
541 0 0 if length $data->{'entry_hash'} > 10
645 0 0 unless defined $format->{$field}
648 0 0 unless defined $data->{$field}
668 0 0 unless defined $line_term
698 0 0 unless $p eq '1' or $p eq '2'
712 0 0 unless $p eq '1'
726 0 0 unless $p == 10
740 0 0 unless $p == 94
928 0 0 unless $p =~ /^\d{6}$/
944 0 0 unless $p =~ /^\d{6}$/
960 0 0 unless $p =~ /^\d{4}$/
992 0 0 unless $p =~ /^(200|220|225)$/
1000 0 0 unless $rules->{$field}
1002 0 0 if length $p > $length