Condition Coverage

blib/lib/DiaColloDB/PackedFile.pm
Criterion Covered Total %
condition 0 72 0.0


and 3 conditions

line !l l&&!r l&&r condition
84 0 0 0 -f "$pf->{'file'}.hdr" and not $pf->loadHeader
102 0 0 0 $pf->opened && fh_reopen($pf->{'fh'}, $file)
110 0 0 0 ($pf->opened && fcwrite($pf->{'flags'}) ? $pf->flush : 1) && (defined $pf->{'fh'} ? CORE::close $pf->{'fh'} : 1)
150 0 0 0 $pf->opened and fcwrite($pf->{'flags'})
174 0 0 0 not defined $pf->{'reclen'} and defined $pf->{'filter_store'}
486 0 0 0 ref $obj and defined $obj->{'file'}

or 2 conditions

line l !l condition
158 0 0 $pf->reopen or return undef
377 0 0 $opts{'type'} // 'auto'
389 0 0 $opts{'swap'} // 'auto'
409 0 0 $opts{'swap'} // 'auto'
421 0 0 $opts{'ReadOnly'} // 1
447 0 0 $opts{'lo'} // 0
522 0 0 $opts{'keys'} // 1
551 0 0 $opts{'gaps'} // 0
586 0 0 $flags //= 'r'

or 3 conditions

line l !l&&r !l&&!r condition
42 0 0 0 ref $that || $that
82 0 0 0 $flags // $pf->{'flags'}
83 0 0 0 $file // $pf->{'file'}
101 0 0 0 $pf->{'file'} || "$pf"
171 0 0 0 $packfmt //= $pf->{'packas'}
427 0 0 0 not -e $hfile or unlink $hfile
448 0 0 0 $opts{'hi'} // $pf->size
449 0 0 0 $opts{'packas'} // $pf->{'packas'}
502 0 0 0 ref $_[0]{$_} || $_ =~ /^(?:flags|perms|file|loaded|dirty)$/
552 0 0 0 $gaps || ($opts{'keys'} // 1)
559 0 0 0 /^$/ or /^%%/
569 0 0 0 /^$/ or /^%%/