Branch Coverage

blib/lib/App/Math/Tutor/Cmd/VulFrac/Cmd/Add.pm
Criterion Covered Total %
branch 13 22 59.0


line true false branch
84 30 0 unless $self->has_result_format
114 0 0 if defined $result_format{'reducable'} and $result_format{'reducable'}
116 0 0 if defined $result_format{'keep'} and $result_format{'keep'}
117 0 0 if defined $result_format{'keep'} and $result_format{'keep'}
133 15 15 $j ? :
0 30 unless $self->_operands_ok($j ? '-' : '+', $a, $b)
156 15 15 $i ? :
157 30 0 unless $neg
163 10 20 if $a->_gcd > 1 or $b->_gcd > 1
208 4 26 if $s->_gcd > 1 and $s = $s->_reduce
210 21 9 if $s->num > $s->denum and $s->denum > 1