Branch Coverage

blib/lib/MARC/Batch.pm
Criterion Covered Total %
branch 20 26 76.9


line true false branch
60 5 12 $type =~ /^MARC::File/ ? :
63 0 17 if $@
104 1 302 if ($filter and ref $filter ne 'CODE')
108 285 17 if ($$self{'file'})
118 0 285 if (@warnings)
120 0 0 if $$self{'strict'}
123 271 14 if ($rec)
133 5 266 if (@warnings)
135 1 4 if $$self{'strict'}
146 7 24 unless $$self{'filename'} = shift @{$$self{'filestack'};}
150 0 24 unless $$self{'file'} = $marcclass->in($$self{'filename'})
207 5 4 if (@new) { }
209 0 5 if $$self{'warn'}