Condition Coverage

blib/lib/PDLA/IO/Pic.pm
Criterion Covered Total %
condition 14 51 27.4


and 3 conditions

line !l l&&!r l&&r condition
154 13 0 0 $PDLA::IO::Pic::debug and $PDLA::IO::Pic::biggrays
298 0 0 3 exists $PDLA::IO::Pic::converter{$type} and not $PDLA::IO::Pic::converter{$type}{'get'} =~ /NA/
497 3 0 5 defined $hints->{'IFORM'} and $hints->{'IFORM'} =~ /RAW/
498 3 5 0 defined $hints->{'IFORM'} and $hints->{'IFORM'} =~ /ASCII/
570 0 1 1 @args >= 2 and UNIVERSAL::isa($args[0], 'PDLA')
575 1 0 0 $out->ndims == 3 and $out->dim(0) == 3
0 0 0 defined $out->gethdr && $out->gethdr->{'SIMPLE'}
1 0 0 $out->ndims == 3 and $out->dim(0) == 3 and not defined $out->gethdr && $out->gethdr->{'SIMPLE'}
588 1 0 0 $out->ndims == 3 and $out->dim(0) == 3
0 0 0 defined $out->gethdr && $out->gethdr->{'SIMPLE'}
1 0 0 $out->ndims == 3 and $out->dim(0) == 3 and not defined $out->gethdr && $out->gethdr->{'SIMPLE'}
683 0 0 0 $im->ndims == 3 and $im->dim(2) == 3
0 0 0 $im->ndims == 3 and $im->dim(2) == 3 and not $args[1] =~ /\.fits$/i || ref $args[2] eq 'HASH' && $args[2]{'FORMAT'} =~ /fits/i

or 3 conditions

line l !l&&r !l&&!r condition
167 0 26 1872 -x "$_/$prog$exe" or $prog =~ /^NONE$/
683 0 0 0 $args[1] =~ /\.fits$/i || ref $args[2] eq 'HASH' && $args[2]{'FORMAT'} =~ /fits/i
773 0 0 0 @Dims != 4 or $Dims[0] != 3
0 0 0 @Dims != 4 or $Dims[0] != 3 or $pdl->get_datatype != $PDLA::IO::Pic::PDLA_B