Branch Coverage

blib/lib/DiaColloDB/EnumFile/MMap.pm
Criterion Covered Total %
branch 0 48 0.0


line true false branch
80 0 0 unless $enum->SUPER::open($base, $flags)
81 0 0 unless $enum->isa('DiaColloDB::EnumFile::MMap')
110 0 0 if ($enum->opened and fcwrite($enum->{'flags'}))
111 0 0 unless $enum->flush
161 0 0 if $enum->loaded or not $enum->opened
163 0 0 if $enum->dirty and $enum->{'i2s'}
198 0 0 if $i >= $enum->{'size'}
201 0 0 if defined($buf = $enum->{'i2s'}[$i])
206 0 0 if $enum->{'utf8'}
218 0 0 $enum->{'dirty'} ? :
221 0 0 if defined($buf = $enum->{'s2i'}{$key})
223 0 0 if $enum->{'utf8'} and utf8::is_utf8($key)
234 0 0 if ($buf lt $key) { }
242 0 0 if ($ilo == $ihi)
245 0 0 unless defined $soff
251 0 0 if $buf eq $key
263 0 0 unless (ref $re)
264 0 0 if $utf8 and not utf8::is_utf8($re)
269 0 0 if ($enum->loaded or not $enum->opened)
271 0 0 if $utf8
284 0 0 if $utf8
285 0 0 if $s =~ /$re/
288 0 0 if $utf8
0 0 if $enum->dirty