Branch Coverage

blib/lib/PDL/IO/FastRaw.pm
Criterion Covered Total %
branch 18 34 52.9


line true false branch
323 1 0 unless $@
346 0 6 unless my $h = 'FileHandle'->new("$hname")
350 0 6 unless (defined $str)
352 0 6 if ($#dims != $ndims - 1)
365 0 3 unless my $h = 'FileHandle'->new(">$hname")
374 0 2 unless my $d = 'FileHandle'->new(">$name")
383 0 4 unless my $d = 'FileHandle'->new("$name")
408 1 2 if ($opts->{'Dims'}) { }
410 0 1 unless (defined $datatype)
424 3 0 if ($have_file_map and not defined $PDL::force_use_mmap_code) { }
432 0 3 $opts->{'ReadOnly'} ? :
1 2 $opts->{'Creat'} ? :
1 2 $opts->{'Creat'} || $opts->{'Trunc'} ? :
443 0 0 $opts->{'ReadOnly'} ? :
0 0 $opts->{'Creat'} ? :
0 0 $opts->{'Creat'} || $opts->{'Trunc'} ? :
447 1 2 if ($opts->{'Creat'})