Condition Coverage

blib/lib/MMapDB.pm
Criterion Covered Total %
condition 11 65 16.9


and 3 conditions

line !l l&&!r l&&r condition
118 0 0 16 sysseek $fh, $need, 0 and truncate $fh, $need
214 2 0 2 defined $I->_data and substr(${$I->_data;}, 4, 1) ne $I->intfmt
290 0 0 0 $data and defined $pos
309 0 0 0 $pos + 2 * $isz <= $nth and $nth <= $end
357 0 0 0 $pos + $isz <= $nth and $nth <= $end
423 0 0 3 sysseek $fh, $I->stringmap_prealloc, 0 and truncate $fh, $I->stringmap_prealloc
584 1258 0 1000 @k > 1 and ref $m eq 'HASH'
660 0 0 1 sysseek $fh, $need, 0 and truncate $fh, $need
829 0 0 10 sysseek $fh, $need, 0 and truncate $fh, $need
1070 0 0 0 $ll == 0 and $sh = $$el{$key}
1124 0 0 0 $shel = $$I[4] and keys %$shel
0 0 0 $shel = $$I[4] and keys %$shel and $shel = $$shel{$key}
1136 0 0 0 @el == 1 and $el[0] >= $$I[0]->mainidx
1185 0 0 0 $shel = $_[0][4] and keys %$shel
0 0 0 $shel = $_[0][4] and keys %$shel and $shel = $$shel{$_[1]}
1226 0 0 0 $shel = $$I[4] and keys %$shel
0 0 0 $shel = $$I[4] and keys %$shel and $shel = $$shel{$idx}

or 2 conditions

line l !l condition
1068 0 0 $$I[4] ||= {}
1075 0 0 $$el{$key} ||= []

or 3 conditions

line l !l&&r !l&&!r condition
1002 0 2 0 ref $class || $class
1042 0 6 0 ref $class || $class

xor 4 conditions

line l&&r l&&!r !l&&r !l&&!r condition
985 0 258 0 0 $valid xor $show_invalid