Condition Coverage

lib/PDL/Stats/GLM.pd
Criterion Covered Total %
condition 36 69 52.1


and 3 conditions

line !l l&&!r l&&r condition
530 4 5 132 $broadcasted and $coeff->getndims == 1
9 131 1 $broadcasted and $coeff->getndims == 1 and $y->getndims > 1
965 17 3 0 ref $ivs_raw[0] eq "ARRAY" and @{$ivs_raw[0];} != $y->nelem
967 5 38 0 ref $_ eq "PDL" and $_->squeeze->ndims > 1
980 0 3 17 $opt{'IVNM'} and @{$opt{'IVNM'};}
1010 80 166 842 $_ != $k && defined $full[$_]
1036 6 0 0 $CDF and $df1 > 0
1057 77 0 0 $CDF and $df1 > 0
1128 6 47 0 ref $_ eq "PDL" and $_->squeeze->ndims > 1
1139 0 2 23 $opt{'IVNM'} and @{$opt{'IVNM'};}
1164 2 5 0 $opt{'V'} and $y->nelem < $pdl_ivs_raw[0]->nelem
1234 20 11 2 not @wn and $_ > $ie_subj
1539 0 3 0 ref $_ eq 'PDL' && $_->ndims > 1
2239 0 0 0 $opt{'IVNM'} and @{$opt{'IVNM'};}

or 3 conditions

line l !l&&r !l&&!r condition
834 0 0 49 $num == 0 or $num > @$arr
840 49 36 134 $i < 0 or $pick[$i]++ < @$arr - $num + $i
1231 29 24 11 defined $ie_subj or @wn
1478 3 0 8 $y->check_badflag or $ivs->check_badflag
2012 0 0 0 $opt{'WIN'} || PDL::Graphics::Simple::pgswin('size', [$opt{'SIZE'} * $nx, $opt{'SIZE'} * $ny, 'px'])
2080 0 0 0 $opt{'WIN'} || PDL::Graphics::Simple::pgswin('size', [@opt{'SIZE', 'SIZE'}, 'px'])
2133 0 0 0 $opt{'WIN'} || PDL::Graphics::Simple::pgswin('size', [@opt{'SIZE', 'SIZE'}, 'px'])
2196 0 0 0 $opt{'WIN'} || PDL::Graphics::Simple::pgswin('size', [@opt{'SIZE', 'SIZE'}, 'px'])
2240 0 0 0 $opt{'WIN'} || PDL::Graphics::Simple::pgswin()