Branch Coverage

blib/lib/DiaColloDB/PackedFile/MMap.pm
Criterion Covered Total %
branch 0 70 0.0


line true false branch
63 0 0 unless $pf->SUPER::open($file, $flags, %opts)
64 0 0 unless $pf->isa('DiaColloDB::PackedFile::MMap')
75 0 0 if (fcwrite($pf->{'flags'} // 'r'))
76 0 0 unless CORE::seek $pf->{'fh'}, 0, 2
77 0 0 unless CORE::truncate $pf->{'fh'}, $pf->{'fh'}->tell
79 0 0 unless CORE::seek $pf->{'fh'}, 0, 0
113 0 0 unless $pf->SUPER::setsize(@_)
121 0 0 unless $pf->SUPER::truncate(@_)
130 0 0 unless $pf->SUPER::flush(@_)
144 0 0 unless $_[0]{'bufr'}
206 0 0 if length $_ != $_[0]{'reclen'}
208 0 0 if $_[0]{'filter_fetch'}
217 0 0 if length ${$_[1];} != $_[0]{'reclen'}
226 0 0 if length $_ != $_[0]{'reclen'}
227 0 0 if $_[0]{'filter_fetch'}
236 0 0 if length ${$_[2];} != $_[0]{'reclen'}
276 0 0 if exists $opts{'packas'}
284 0 0 if $filter_fetch
297 0 0 if exists $opts{'packas'}
299 0 0 unless $pf->setsize(scalar @$data)
304 0 0 if $filter_store
331 0 0 if ($reclen == 1) { }
0 0 elsif ($reclen == 2) { }
0 0 elsif ($reclen == 4) { }
0 0 elsif ($reclen == 8) { }
334 0 0 if unpack('n', pack($packas, 65244)) == 65244
336 0 0 if unpack('N', pack($packas, 4275874183)) == 4275874183
338 0 0 if unpack('Q>', pack($packas, 18364739779494617359)) == 18364739779494617359
369 0 0 if ($keymid < $key) { }
376 0 0 if ($ilo == $ihi)
379 0 0 if $keymid == $key
424 0 0 unless $pf->opened
433 0 0 $key2s ? :
0 0 $keys ? :
0 0 UNIVERSAL::isa($val, 'ARRAY') ? :