Condition Coverage

blib/lib/XBase.pm
Criterion Covered Total %
condition 23 60 38.3


and 3 conditions

line !l l&&!r l&&r condition
97 21 0 0 $decimal and not $$self{'openoptions'}{'nolongchars'}
148 2 2 6 defined $memo and $length == 10
2 0 2 defined $memo and $length == 4
159 0 0 4 defined $memo and defined $_[0]
0 0 4 defined $memo and defined $_[0] and $_[0] ne ''
249 18 0 0 $lastoffset > $$self{'record_len'} and not defined $$self{'openoptions'}{'nolongchars'}
256 18 0 0 $lastoffset != $$self{'record_len'} and not defined $$self{'openoptions'}{'ignorebadheader'}
296 0 3 7 $memoname =~ s/\.dbf$/.$_/i || $memoname =~ s/(\.dbf)?$/.$_/i and $memo = 'XBase::Memo'->new($memoname, %options)
462 0 0 0 $start ne '' and not defined $start_num
465 0 0 0 $end ne '' and not defined $end_num
468 0 0 0 defined $start and defined $end
538 0 0 1953 defined $_ && defined $$rproc[$_]
689 2 0 0 defined $options{'memofile'} and $options{'memofile'} =~ /\.fpt$/i
771 0 1 1 defined $newname and not $newname =~ /\.dbf$/
942 0 0 110 @result and not $del

or 3 conditions

line l !l&&r !l&&!r condition
145 1 0 9 defined $memo or $$self{'openoptions'}{'ignorememo'}
155 0 0 8 not $value =~ /\d/ or $value < 0
296 10 0 0 $memoname =~ s/\.dbf$/.$_/i || $memoname =~ s/(\.dbf)?$/.$_/i
392 0 0 2 $version == 48 or $version == 245
784 0 0 1 $version == 48 or $version == 245