Condition Coverage

blib/lib/XBase/Index.pm
Criterion Covered Total %
condition 42 80 52.5


and 3 conditions

line !l l&&!r l&&r condition
65 17 28 0 defined $$page{'lefts'} and $XBase::Index::DEBUG
160 6 6 141 not defined $$page{'last_key_is_just_overflow'} and defined $backleft
12 38 103 not defined $$page{'last_key_is_just_overflow'} and defined $backleft and defined $backval
297 0 5 0 defined $foundvalue and $foundkey eq $key
5 0 0 defined $foundvalue and $foundkey eq $key and $foundvalue == $value
312 0 5 0 defined $foundvalue and $foundkey eq $key
5 0 0 defined $foundvalue and $foundkey eq $key and $foundvalue == $value
441 132 10 5 $i == 0 and defined $left
454 12 0 0 defined $$parent{'last_key_is_just_overflow'} and $$parent{'lefts'}[$#{$$parent{'lefts'};}] == $num
489 0 1 0 $$self{'signature'} != 3 and $$self{'signature'} != 6
570 60 8 1 $i == 0 and defined $left
783 15 3 1 $i == 0 and defined $left
1144 0 0 0 $numdate == 2 and $key
1177 0 0 0 $numdate == 2 and $key
1217 0 0 0 not defined $indexfile and ref $class
1469 0 0 0 defined $q and defined $$indexfile{'pages_cache'}{$q}

or 2 conditions

line l !l condition
967 0 0 $$self{'adjusted_offset'} || 0

or 3 conditions

line l !l&&r !l&&!r condition
39 0 1 15 $ext eq 'sdbm' or $ext eq 'pag'
1 0 15 $ext eq 'sdbm' or $ext eq 'pag' or $ext eq 'dir'
246 0 59 36 $empty or not defined $left
454 3 0 12 $num == $$indexfile{'start_page'} or defined $$parent{'last_key_is_just_overflow'} and $$parent{'lefts'}[$#{$$parent{'lefts'};}] == $num
629 1 0 1 $type eq 'N' or $type eq 'D'
673 2 1 2 $level == 1 or @data > 1
692 2 2 14 $current_count == $count or $i == $#data
842 0 0 0 $expr_name ||= $$tag{'tag_name'}
1010 44 1 0 $opts{'tag'} ||= $tag
1019 0 0 9 not defined $foundkey or $opts{'tag'} ne $foundkey