Condition Coverage

blib/lib/MARC/File/MicroLIF.pm
Criterion Covered Total %
condition 14 17 82.3


and 3 conditions

line !l l&&!r l&&r condition
102 221 0 26 not $$self{'exhaustedfh'} and length $$self{'inputbuf'} < 111999
136 0 8 239 $self->_fill_buffer and length $$self{'inputbuf'} > 0
251 1 1783 285 $tagno =~ /^\d+$/ and $tagno < 10

or 2 conditions

line l !l condition
132 14 233 shift() || 0

or 3 conditions

line l !l&&r !l&&!r condition
154 2 222 0 substr($$self{'inputbuf'}, $pos + 1, 1) eq "\r" or substr($$self{'inputbuf'}, $pos + 1, 1) eq "\n"
156 2 223 224 substr($$self{'inputbuf'}, $pos + 1, 1) eq "\r" or substr($$self{'inputbuf'}, $pos + 1, 1) eq "\n"