Branch Coverage

lib/Text/FixedWidth/Helper.pm
Criterion Covered Total %
branch 36 44 81.8


line true false branch
157 1 5 unless -f $input
159 2 3 unless ($output)
169 0 5 unless defined $DATA
173 4 40 if ($l =~ /^\s*$/) { }
30 10 elsif (not $metadata_seen) { }
174 1 3 if $sum > 1000
183 1 29 unless looks_like_number($config[1])
189 1 9 if ($sample_records_seen >= 3)
199 0 3 unless $DATA->close
204 0 3 unless defined $OUT
215 0 3 unless $OUT->close
243 1 5 unless -f $input
245 2 3 unless ($output)
255 0 5 unless defined $DATA
259 4 40 if ($l =~ /^\s*$/) { }
30 10 elsif (not $metadata_seen) { }
260 1 3 if $sum > 1000
269 1 29 unless looks_like_number($config[1])
275 1 9 if ($sample_records_seen >= 3)
288 0 3 unless $DATA->close
291 0 3 unless defined $OUT
300 0 3 unless $OUT->close