Branch Coverage

blib/lib/Math/MVPoly/Polynomial.pm
Criterion Covered Total %
branch 49 58 84.4


line true false branch
61 64 238 if (@_)
72 17 66 if (@_)
83 54 54 if (@_)
94 336 397 if (@_)
133 10 144 if (exists $hash{$sig}) { }
139 10 0 if ($hm->coefficient == 0) { }
205 0 17 if ($#$monomials < 0) { }
217 17 0 unless ($self->verbose)
219 15 2 if ($s =~ /^\+/)
242 19 94 if ($self->monOrder eq 'lex') { }
89 5 elsif ($self->monOrder eq 'grlex') { }
5 0 elsif ($self->monOrder eq 'grevlex') { }
0 0 elsif ($self->monOrder eq 'tdeg') { }
283 48 16 if ($$a_vars{$f} != $$b_vars{$f})
285 25 23 if ($$a_vars{$f} > $$b_vars{$f}) { }
313 4 13 if ($b->getTotalDegree == $a->getTotalDegree)
326 4 2 if ($$a_vars{$f} != $$b_vars{$f})
328 2 2 if ($$a_vars{$f} < $$b_vars{$f}) { }
357 17 56 if ($b->getTotalDegree == $a->getTotalDegree)
370 17 4 if ($$a_vars{$f} != $$b_vars{$f})
372 11 6 if ($$a_vars{$f} > $$b_vars{$f}) { }
420 8 4 if ($#$monomials >= 0)
444 7 1 if (ref $q eq 'Math::MVPoly::Monomial')
478 9 1 if (ref $q eq 'Math::MVPoly::Monomial')
511 4 5 if (ref $q eq 'Math::MVPoly::Monomial')
549 3 0 if (ref $ft ne 'ARRAY')
576 3 4 if ($lt_fi->canDivide($lt_p)) { }
589 4 3 unless ($divisionOccured)
696 0 0 if ($m->coefficient < 0)