Branch Coverage

blib/lib/Statistics/Running.pm
Criterion Covered Total %
branch 35 52 67.3


line true false branch
82 6 3 unless (defined $bins)
94 0 0 unless (defined $bi)
105 3 0 if ($self->{'histo'}{'needs-recalculate'} == 1)
113 2 1 if ($self->{'histo'}{'num-bins'} > 0)
152 0 7 unless (defined $params)
155 0 7 if (defined($m1 = $params->{'bins'})) { }
7 0 elsif (defined($m1 = $params->{'bin-width'}) and defined($m2 = $params->{'num-bins'}) and defined($m3 = $params->{'left-boundary'})) { }
157 0 0 if ($aref eq 'ARRAY') { }
0 0 elsif ($aref eq 'HASH') { }
196 753 3 if ($aref eq '') { }
3 0 elsif ($aref eq 'ARRAY') { }
200 10 743 if ($n1 == 0) { }
202 17 726 if ($x < $self->{'MIN'})
203 165 578 if ($x > $self->{'MAX'})
269 0 4 if ($m == 1)
276 1 2 if ($m == 0)
284 2 2 if ($m == 0)
333 1 3 if ($self->_equals_histograms_structure($other))
373 0 2 if ($self->_equals_histograms_structure($other) == 0)
379 0 10 if ($selfC->[$i] != $otherC->[$i])
391 0 1 if ($self->_equals_histograms_structure($other) == 0)
444 502 251 if (($n = $self->{'histo'}{'num-bins'}) <= 0)
447 146 944 if ($x > $B->[$i] and $x <= $$B[$i + 1])
539 3 4 if ($NB1 != $other->{'histo'}{'num-bins'})
542 0 4 if ($NB1 == -1)
547 0 34 if ($b1->[$i] != $b2->[$i])