Branch Coverage

blib/lib/Math/Business/ParabolicSAR.pm
Criterion Covered Total %
branch 34 44 77.2


line true false branch
26 2 0 if (@_)
28 0 2 if $@
38 0 2 unless 0 < $as and $as < $am and $am < 1
53 0 22 unless defined($am = $this->{'am'}) and defined($as = $this->{'as'})
66 0 137 unless ref $ar eq 'ARRAY' and @$ar == 4 and $ar->[2] <= $ar->[1]
72 135 2 if (defined $ls) { }
77 27 108 if $high > $e->[1]
78 29 106 if $low < $e->[0]
80 58 77 if ($ls == 7) { }
87 8 50 if ($S > $low) { }
2 48 elsif ($S > $y_low) { }
17 31 elsif ($oe[1] != $e->[1]) { }
93 2 6 $high > $y_high ? :
94 7 1 $low < $y_low ? :
101 0 17 if $A > $am
111 7 70 if ($S < $high) { }
4 66 elsif ($S < $y_high) { }
22 44 elsif ($oe[0] != $e->[0]) { }
117 7 0 $high > $y_high ? :
118 0 7 $low < $y_low ? :
125 0 22 if $A > $am
143 2 0 if ($open < $close) { }