Condition Coverage

blib/lib/Math/Polynomial/Cyclotomic.pm
Criterion Covered Total %
condition 48 53 90.5


and 3 conditions

line !l l&&!r l&&r condition
113 12 1 2 $c2 and $k & 2
246 32 1 12 !($_ % $r1) && $_ / $r1 & 1
278 15 4 4 !($_ % $r1) && $_ / $r1 & 1

or 2 conditions

line l !l condition
221 6 6 $table || {}
227 3 3 $table ||= {}
235 9 0 $table ||= {}
243 1 8 $x == 2 || 0
256 1 3 $table ||= {}
275 7 0 $table ||= {}
289 4 0 $table || {}
297 7 2 $table || {}
307 2 2 $n ||= 1
309 2 2 $table ||= {}

or 3 conditions

line l !l&&r !l&&!r condition
52 5 4 0 $table->{$r} || _cyclo_poly($poly, $table, $r, \@d)
119 7 6 0 $MP{$gk} ||= &moebius($n1 / $gk) * &euler_phi($gk)
233 1 1 11 not $n or $x == $this->coeff_one
234 1 1 9 $n == 1 or not $x
266 1 1 8 $n == 1 or not $x
2 1 7 $n == 1 or not $x or $x == $u
286 1 1 4 $n <= 1 or not &is_square_free($n)
294 1 1 9 $k <= 1 or not &is_square_free($k)