Condition Coverage

blib/lib/PDL/IO/FlexRaw.pm
Criterion Covered Total %
condition 22 66 33.3


and 3 conditions

line !l l&&!r l&&r condition
419 0 0 0 $mode == $ndims and not $have_badvalue
0 0 0 $mode == $ndims and $have_badvalue
0 0 0 $mode == $ndims and $have_badvalue and $numtokens > 0
442 15 0 0 $mode == $ndims and $numtokens == 0
452 5 0 15 $mode == $ndims and $numtokens == 0
622 14 0 0 $newfile and $f77mode
655 14 0 0 $f77mode and $chunk->at == $chunkread
698 1 1 0 not -e $name and -e $name . '.gz' || -e $name . '.Z'
740 0 0 2 $have_file_map and not defined $PDL::force_use_mmap_code
788 2 0 0 $newfile and $f77mode
804 2 0 0 $f77mode and $chunk->at == $chunkread
858 0 11 0 $isname and $writeflexhdr

or 3 conditions

line l !l&&r !l&&!r condition
410 14 15 45 /^#/ or /^\s*$/
422 0 0 14 $token eq 'f77' or $token eq 'swap'
472 0 0 15 $ndims < 0 or $mode != $ndims
623 0 0 0 $zipt or $swapbyte
698 0 0 2 $name =~ s/\.gz$// or $name =~ s/\.Z$//
0 0 1 -e $name . '.gz' || -e $name . '.Z'
0 0 2 $name =~ s/\.gz$// or $name =~ s/\.Z$// or not -e $name and -e $name . '.gz' || -e $name . '.Z'
747 1 0 1 $opts{'Creat'} || $opts{'Trunc'}
757 0 0 0 $opts{'Creat'} || $opts{'Trunc'}
868 0 0 12 $#_ != 1 or not ref $_[1]