Branch Coverage

blib/lib/Math/Polynomial/Cyclotomic.pm
Criterion Covered Total %
branch 82 82 100.0


line true false branch
34 56 62 if exists $table->{$n}
37 29 33 unless $o
39 26 36 if (exists $table->{$m}) { }
44 23 13 $divisors ? :
46 26 10 if (@d)
51 9 2 if ($b % $r)
58 29 33 unless ($o)
59 12 17 if $m == 1
64 21 41 if ($m != $n)
77 22 5 if $e & 1
80 6 1 if $e & 1
81 1 6 if $e >>= 1
94 3 7 $c1 ? :
95 3 7 if (exists $$table{"$n1 $n"})
109 15 15 if ($k & 1)
113 2 13 if ($c2 and $k & 2)
117 9 4 unless $c1
137 10 5 if $k < $kk
151 8 17 ($k & 3) == 1 ? :
153 2 23 unless $f & 1
156 3 20 if ($m > 1)
161 17 6 if (exists $$table{"$n $k"}) { }
170 5 1 unless (defined $M)
177 5 1 if (&kronecker($k, $p) < 0) { }
190 5 1 if (defined $M)
196 3 20 if ($m > 1)
213 2 14 if $l == $poly->coeff_one
233 2 11 if not $n or $x == $this->coeff_one
234 2 9 if $n == 1 or not $x
236 2 7 if (my $exp = &is_power($x, 0, \my $root))
241 3 6 1 == ($r & 3) ? :
246 12 33 !($_ % $r1) && $_ / $r1 & 1 ? :
265 1 10 unless $n
266 2 7 if $n == 1 or not $x or $x == $u
267 2 5 if (my $exp = &is_power($x, 0, \my $root))
272 1 6 1 == ($r & 3) ? :
278 4 19 !($_ % $r1) && $_ / $r1 & 1 ? :
286 2 4 if ($n <= 1 or not &is_square_free($n))
294 2 9 if ($k <= 1 or not &is_square_free($k))
298 2 7 unless (@cd)
299 1 1 ($k & 3) == 1 ? :