Branch Coverage

blib/lib/Math/Cephes/Fraction.pm
Criterion Covered Total %
branch 14 34 41.1


line true false branch
30 47 0 if defined $self
34 47 47 unless $_[0]->isa('HASH')
36 0 47 unless defined $self
38 47 0 if (exists $Math::Cephes::Fraction::OWNER{$self})
63 43 2 unless $value
70 43 2 unless $value
85 0 2 if ($din < 0)
89 1 1 if (abs $nin < abs $din) { }
90 0 1 if ($nin == 0) { }
101 0 1 if ($n == 0) { }
116 0 0 if (abs $num % $den == 0) { }
0 0 elsif ($num == 0) { }
124 0 0 if ($den < 0)
139 0 0 if ($den < 0)
143 0 0 if (abs $num < abs $den) { }
144 0 0 if ($num == 0) { }
155 0 0 if ($n == 0) { }