Condition Coverage

blib/lib/App/Math/Tutor/Cmd/VulFrac/Cmd/Mul.pm
Criterion Covered Total %
condition 8 26 30.7


and 2 conditions

line l !l condition
139 0 14 ($a, $b) = ($a->_reduce, $b = $b->_reduce) and push @way, &$a_mult_b($op, $a, $b)

and 3 conditions

line !l l&&!r l&&r condition
93 0 0 0 defined $result_format{'reducable'} and $result_format{'reducable'}
95 0 0 0 defined $result_format{'keep'} and $result_format{'keep'}
96 0 0 0 defined $result_format{'keep'} and $result_format{'keep'}
160 18 0 12 $s->_gcd > 1 and $s = $s->_reduce
162 11 0 19 $s->num > $s->denum and $s->denum > 1

or 2 conditions

line l !l condition
93 0 0 $s->_gcd > 1 or return 0
95 0 0 $s->num <= $max_num or return 0
96 0 0 $s->denum <= $max_denum or return 0

or 3 conditions

line l !l&&r !l&&!r condition
139 9 5 16 $a->_gcd > 1 or $b->_gcd > 1