Condition Coverage

blib/lib/Math/Polynomial/ModInt/Order.pm
Criterion Covered Total %
condition 33 33 100.0


and 3 conditions

line !l l&&!r l&&r condition
35 148 17 247 not $result and $n >= 0
72 109 2 136 not $result and --$n >= 0
85 9 73 37 $i < $#coeff and $zero == $coeff[$i]
88 21 61 48 $i < $#coeff and $zero == ($coeff[$i] += $one)
92 37 12 12 $j and $one == $coeff[$i]
125 84 2 234 not $result and $n >= 0

or 2 conditions

line l !l condition
46 1 55 $i0 || 0
66 108 3 $a->proper_degree || 0
140 1 55 $i0 || 0

or 3 conditions

line l !l&&r !l&&!r condition
32 62 18 85 $a->modulus <=> $b->modulus || $n <=> $b->degree
67 8 20 70 $a->modulus <=> $b->modulus || $a->degree <=> $b->degree || $a->coeff($n)->residue <=> $b->coeff($n)->residue || $a->number_of_terms <=> $b->number_of_terms
122 11 3 72 $a->modulus <=> $b->modulus || $n <=> $b->degree