Condition Coverage

blib/lib/PDL/Fit/Levmar.pm
Criterion Covered Total %
condition 50 75 66.6


and 3 conditions

line !l l&&!r l&&r condition
1310 78 98 0 not defined $p and ref $_[0] eq 'PDL' || ref $_[0] eq 'ARRAY'
1314 68 108 0 not defined $x and ref $_[0] eq 'PDL' || ref $_[0] eq 'ARRAY'
1318 29 147 0 not defined $t and ref $_[0] eq 'PDL' || ref $_[0] eq 'ARRAY'
1322 21 127 21 not defined $infunc and ref($_[0]) =~ /Func|CODE/
1326 39 127 0 not defined $infunc || ref $_[0] and $_[0] =~ /(\.c|$PDL::Fit::Levmar::LPPEXT)$/o || $_[0] =~ /\n/
1379 4 0 85 not defined $h->{'P'} and defined $p
1380 12 0 77 not defined $h->{'X'} and defined $p
1381 16 0 73 not defined $h->{'T'} and defined $p
1478 2 0 6 defined $h->{'JFUNC'} and ref($h->{'JFUNC'}) =~ /CODE/
1481 2 4 2 $deriv eq 'analytic' and $jfunc == 0
1620 0 506 28 exists $h->{$argname} and defined $h->{$argname}
1632 0 356 0 exists $h->{$arg} and defined $h->{$arg}
1634 178 0 0 $nf != 0 and $n != $nf
1654 0 506 28 exists $h->{$ucarg} and defined $h->{$ucarg}
1666 0 89 0 exists $h->{'WGHTS'} and defined $h->{'WGHTS'}
1738 0 0 2 defined $f->{'JFUNC'} and ref($f->{'FUNC'}) =~ /CODE/

or 3 conditions

line l !l&&r !l&&!r condition
1310 85 0 13 ref $_[0] eq 'PDL' || ref $_[0] eq 'ARRAY'
1314 77 0 31 ref $_[0] eq 'PDL' || ref $_[0] eq 'ARRAY'
1318 40 0 107 ref $_[0] eq 'PDL' || ref $_[0] eq 'ARRAY'
1326 39 0 127 defined $infunc || ref $_[0]
8 0 119 $_[0] =~ /(\.c|$PDL::Fit::Levmar::LPPEXT)$/o || $_[0] =~ /\n/
1330 1 79 86 @_ == 0 or $args == 0
1349 77 12 0 defined $inh->{'FUNC'} or defined $inh->{'CSRC'}
1439 8 54 27 ref($h->{'FUNC'}) =~ /CODE/ or not ref $h->{'FUNC'}
1496 1 0 69 not defined $jacn or $jacn == 0