Branch Coverage

blib/lib/Math/MVPoly/Monomial.pm
Criterion Covered Total %
branch 48 54 88.8


line true false branch
52 167 434 if (@_)
60 120 1061 if (@_)
68 111 345 if (@_)
76 49 49 if (@_)
101 19 13 unless ($c =~ /^[+-]?\d+/g)
103 6 13 if ($c eq '-') { }
7 6 elsif ($c eq '+') { }
126 22 18 if ($p =~ /\^/) { }
156 27 22 if ($c > 0)
164 0 49 if ($self->verbose) { }
170 0 0 if (exists $$myVars{$f})
178 4 45 if (abs $c != 1) { }
20 25 elsif ($self->coefficient == -1) { }
191 94 33 if (exists $$myVars{$f})
195 48 46 if ($$myVars{$f} > 1)
202 4 45 unless ($varsExist)
220 19 135 if ($self->getTotalDegree == 0) { }
231 227 104 if (exists $$myVars{$f})
280 4 3 if (not exists $$vars{$f} or $$myVars{$f} > $$vars{$f})
365 0 11 if (not exists $$nmVars{$f}) { }
418 2 14 if (not exists $$nmVars{$f}) { }
446 14 273 if ($x =~ m[/])
462 6 41 if ($numer / $denom != int $numer / $denom) { }
483 144 0 if ($i != 0)
487 0 144 if ($r > 1)
506 4 43 if ($$vars{$k} == 0)
541 4 4 $ea > $eb ? :