Branch Coverage

blib/lib/PDL/Stats/Basic.pm
Criterion Covered Total %
branch 33 56 58.9


line true false branch
896 0 0 unless $CDF
897 0 0 if $x->badflag
969 3 0 if ($src =~ /STDIN/ or ref $src eq 'GLOB') { }
970 0 0 unless open $fh_in, $src
982 0 3 if $opt{'V'}
987 3 0 if ($opt{'C_ID'})
990 3 0 if $opt{'R_ID'}
999 132 0 if $opt{'R_ID'}
1002 14 655 unless defined $_ and /\d\b/
1007 0 132 if $opt{'NROW'} and $c_row == $opt{'NROW'}
1016 1 2 unless nelem($data->slice(-1, 'X')->where($data->slice(-1, 'X') != $opt{'MISSN'}))
1020 3 0 if $opt{'R_VAR'} == 0
1023 0 3 if ($opt{'V'})
1030 3 0 @$idv ? :
3 0 wantarray ? :
1124 2 1 if (@factors == 1)
1127 0 2 if (ref $factor eq 'ARRAY') { }
1137 1 1 wantarray ? :
1141 0 2 ref $_ eq 'PDL' ? :
1168 1 0 if (wantarray)
1179 1 0 wantarray ? :
1197 0 3 if $factor->ndims > 1
1200 0 3 unless $factor->dim(0) == $p->dim(0)
1258 65 0 if defined $ind{$_}
1269 4676 6 if (defined $_ and $_ ne '' and $_ ne 'BAD')
1271 579 4097 unless exists $level{$_}
1275 4676 8 defined $_ && $_ ne '' && $_ ne 'BAD' ? :
1279 93 40 wantarray ? :