Condition Coverage

blib/lib/File/SortedSeek/PERLANCAR.pm
Criterion Covered Total %
condition 10 34 29.4


and 3 conditions

line !l l&&!r l&&r condition
203 0 0 0 defined $_ && &$comp($_, $key) < 0
217 57 816 91 not $cuddle and $cmp >= 0
226 816 48 9 $cuddle and $cmp > 0

or 2 conditions

line l !l condition
123 0 0 shift() || 0
124 0 0 shift() || 0
148 0 0 $blksize ||= 8192
189 87 16 $blksize ||= 8192
190 16 87 $minoffset ||= 0

or 3 conditions

line l !l&&r !l&&!r condition
86 0 0 0 shift() || time
125 0 0 0 shift() || $default_rec_sep
144 0 0 0 shift() || $default_rec_sep
150 0 0 0 $size % $blksize || $blksize
159 0 0 0 $lines > $num_lines or $pos == 0