Condition Coverage

blib/lib/File/Tail/Lite.pm
Criterion Covered Total %
condition 7 21 33.3


and 3 conditions

line !l l&&!r l&&r condition
12 0 0 1 defined $$self{'filename'} and -e $$self{'filename'}

or 3 conditions

line l !l&&r !l&&!r condition
31 0 0 1 $$self{'seekpos'} eq 'begin' or $$self{'seekpos'} eq 'new'
0 1 0 $$self{'seekpos'} eq 'begin' or $$self{'seekpos'} eq 'new' or $$self{'seekpos'} eq 'start'
0 0 0 $$self{'seekpos'} eq 'end' or $$self{'seekpos'} eq 'eof'
58 1 0 0 not $$self{'maxbuf'} or int $$self{'maxbuf'} < 1
1 0 0 not $$self{'maxbuf'} or int $$self{'maxbuf'} < 1 or int $$self{'maxbuf'} > 1048576
78 18 0 4474 $buf =~ /[\r\n]/ or length $line >= $$self{'maxbuf'}