Branch Coverage

blib/lib/Math/Fraction/Egyptian.pm
Criterion Covered Total %
branch 31 42 73.8


line true false branch
80 3 57 if ($d == 0)
83 2 55 if ($n >= $d)
114 134 53 if $@
151 88 27 $y ? :
213 1148 13335 if $n == 1
215 0 1148 unless $n == 1
233 6 5 if ($p < $q) { }
316 4 51 if (defined $n and $n == 1)
333 9 43 if ($n == 2 and $d > 2 and $d < 30 and $PRIMES{$d}) { }
366 0 43 unless $M
399 0 42 unless @mult
412 785 0 unless @N
421 0 0 if $e[0] != $M
422 0 0 if grep {$d % $_;} @e[1 .. $#e]
442 2199 891 unless (exists $$_practical{$n})
450 1 2198 if $n == 1
451 1056 1142 if $n % 2 == 1
455 460 1676 if $p > 1 + sigma(@pf[0 .. $i - 1])
478 1 1 if $PRIMES{$d}
482 1 0 if ($p % 2 == 1)
488 0 0 if ($q % 2 == 1)