Branch Coverage

blib/lib/Sys/Mmap.pm
Criterion Covered Total %
branch 4 24 16.6


line true false branch
195 0 0 if (scalar @_ < 3)
210 0 0 if (scalar @_ < 2)
226 0 0 if ($file) { }
227 0 0 unless (open $fh, '+>>', $file)
233 0 0 if ($leng > $fhsize)
235 0 0 unless print $fh "\000" x $fhsize
244 0 0 $file ? :
0 0 unless my $addr = &mmap($me, $leng, constant('PROT_READ', 0) | constant('PROT_WRITE', 0), $flags, $file ? $fh : *STDOUT)
274 0 3 if ($AUTOLOAD =~ /::(_?[a-z])/)
282 0 3 if $constname eq 'DESTROY'
283 0 3 @_ ? :
284 3 0 if ($! == 0) { }