Branch Coverage

blib/lib/Statistics/Regression.pm
Criterion Covered Total %
branch 28 108 25.9


line true false branch
206 0 16 unless ($_[0] =~ /[0-9nan]/)
224 0 1 if ref $classname
228 0 1 unless defined $regname
229 0 1 if ref $regname
230 0 1 unless defined $xnameptr
231 0 1 unless ref $xnameptr eq 'ARRAY'
235 0 1 unless (defined $K)
236 0 1 if ($K <= 1)
292 0 4 unless ref $this
293 0 4 unless defined $yelement
294 0 4 if ref $yelement
295 0 4 unless defined $xin
296 0 4 unless ref $xin
297 0 4 if ref $weight
301 0 4 unless defined $yelement
302 0 4 if isNaN($yelement)
308 4 0 if (ref $xin eq 'ARRAY') { }
312 0 0 unless defined $$xin{$nm}
320 0 12 unless defined $xrow[$i - 1]
322 0 12 if isNaN($xrow[$i - 1])
331 4 0 if ($weight >= 0) { }
336 2 9 if ($weight == 0)
337 9 0 if (abs $xcopy[$i] > 1e-08)
347 0 9 unless ($nextr <= $$this{'rbarsize'})
392 0 0 $$this{'n'} <= $$this{'k'} ? :
434 0 0 defined $$this{'xnames'}[$i] ? :
459 0 1 if (defined $$this{'theta'})
460 0 0 wantarray ? :
463 0 1 if ($$this{'n'} < $$this{'k'})
467 0 3 unless ($nextr <= $$this{'rbarsize'})
478 1 0 wantarray ? :
544 0 0 if ($debug)
545 0 0 if $_[0] < 1 or $_[0] > $K
546 0 0 if $_[1] < 1 or $_[1] > $K
552 0 0 wantarray ? :
560 0 0 unless defined $K
561 0 0 if ($debug)
578 0 0 $_[0] > $_[1] ? :
0 0 $_[0] == $_[1] ? :
585 0 0 $_[0] > $_[1] ? :
0 0 $_[0] == $_[1] ? :
599 0 0 if ($debug)
612 0 0 if (abs $$this{'d'}[$j] < 1e-08) { }
614 0 0 if (abs $$this{'d'}[$j] == 0)
615 0 0 if ($$this{'neverabort'}) { }
626 0 0 if ($debug)
637 0 0 $$this{'n'} <= $K ? :
650 0 0 if ($debug)
669 0 0 if ($debug)
686 0 0 unless $#linear + 1 == $K
715 0 0 defined $_[0]{$_[2]} ? :
719 0 0 if (ref $ref eq 'ARRAY') { }
0 0 elsif (ref $ref eq 'HASH') { }
722 0 0 if ($#$arrayref > 30) { }