Condition Coverage

blib/lib/File/SortedSeek.pm
Criterion Covered Total %
condition 20 32 62.5


and 3 conditions

line !l l&&!r l&&r condition
168 0 52 57 defined $_ && &$comp($_, $key) < 0
182 1907 13713 31 not $cuddle and $cmp >= 0
186 13713 1902 5 $cuddle and $cmp > 0

or 2 conditions

line l !l condition
97 6 1 shift() || 0
98 7 0 shift() || 0
122 4 0 $blksize ||= 8192
157 41 0 $blksize ||= 8192

or 3 conditions

line l !l&&r !l&&!r condition
60 9 0 0 shift() || time
99 0 7 0 shift() || $default_rec_sep
118 0 4 0 shift() || $default_rec_sep
124 4 0 0 $size % $blksize || $blksize
133 2 2 14 $lines > $num_lines or $pos == 0