Condition Coverage

blib/lib/PDLA/Core.pm
Criterion Covered Total %
condition 0 117 0.0


and 3 conditions

line !l l&&!r l&&r condition
729 0 0 0 &Scalar::Util::blessed($op2) and $op2->isa('PDLA')
1008 0 0 0 $has_nan and not $types[$type]->usenan
1014 0 0 0 $has_inf and not $types[$type]->usenan
1233 0 0 0 $PDLA::debug and $PDLA::undefval
1253 0 0 0 is_scalar_SvPOK($value) and $value =~ /inf/i || $value =~ /nan/i || !&Scalar::Util::looks_like_number($value)
2126 0 0 0 !ref($_) && $_ eq 'X'
0 0 0 $#$_ > 1 && @$_[2] == 0
2505 0 0 0 ref $_[0] && ref $_[0] ne 'PDLA::Type'
2546 0 0 0 ref $_[0] && ref $_[0] ne 'PDLA::Type'
2620 0 0 0 @_ == 2 and $_[1] == -1
2840 0 0 0 $self->badflag and $self->isbad
3110 0 0 0 $chkmode == 1 and $this->nelem > 1
3112 0 0 0 $chkmode == 2 and $this->nelem > 1
3179 0 0 0 $d[$j] != 1 and $resdims[$j] != $d[$j]
3210 0 0 0 $i < @_ and not eval { do { $_[$i]->isa('PDLA') } }
3269 0 0 0 @not_a_piddle == 0 and @mismatched_dims == 0
3445 0 0 0 $badflag and $t eq 'BAD'
3450 0 0 0 $dformat and length $t > 7
3530 0 0 0 $badflag and $x->[$i] eq 'BAD'
3970 0 0 0 $writable && $shared

or 3 conditions

line l !l&&r !l&&!r condition
461 0 0 0 ref $class || $class
729 0 0 0 &Scalar::Util::looks_like_number($op2) or &Scalar::Util::blessed($op2) and $op2->isa('PDLA')
901 0 0 0 $this->fflows || $this->bflows
959 0 0 0 $value eq '' or $value eq '[]'
967 0 0 0 $value =~ /e\p{IsAlpha}/ or $value =~ /\p{IsAlpha}e/
979 0 0 0 $value =~ /bad\B/ or $value =~ /\Bbad/
984 0 0 0 $value =~ /\Bnan/ or $value =~ /nan\B/
998 0 0 0 $value =~ /inf\B/ or $value =~ /\Binf/
1002 0 0 0 $value =~ /pi\B/ or $value =~ /\Bpi/
1062 0 0 0 $value =~ /EE[+\-]/ or $value =~ /[+\-]EE/
1168 0 0 0 s/^inf//i or s/1\.\#INF//i
0 0 0 s/^nan//i or s/^1\.\#IND//i
1253 0 0 0 $value =~ /inf/i || $value =~ /nan/i || !&Scalar::Util::looks_like_number($value)
2193 0 0 0 ref \$_[1] eq 'SCALAR' or ref $_[1] eq 'ARRAY'
3178 0 0 0 not defined $resdims[$j] or $resdims[$j] == 1
3198 0 0 0 $@ =~ /PDLA::Ops::assgn|mismatched/ or $@ =~ /"badflag"/
0 0 0 $@ =~ /PDLA::Ops::assgn|mismatched/ or $@ =~ /"badflag"/ or $@ =~ /"initialize"/
3475 0 0 0 not defined $format or $format eq ''
3924 0 0 0 defined $pdl->gethdr or not defined $Astro::FITS::Header::VERSION