Branch Coverage

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


line true false branch
200 0 0 if (scalar @_ < 3)
215 0 0 if (scalar @_ < 2)
231 0 0 if ($file) { }
232 0 0 unless (open $fh, '+>>', $file)
238 0 0 if ($leng > $fhsize)
240 0 0 unless print $fh "\000" x $fhsize
249 0 0 $file ? :
0 0 unless my $addr = &mmap($me, $leng, constant('PROT_READ', 0) | constant('PROT_WRITE', 0), $flags, $file ? $fh : *STDOUT)
279 0 4 if ($AUTOLOAD =~ /::(_?[a-z])/)
287 0 4 if $constname eq 'DESTROY'
288 0 4 @_ ? :
289 4 0 if ($! == 0) { }