Condition Coverage

blib/lib/App/Math/Tutor/Cmd/VulFrac/Cmd/Add.pm
Criterion Covered Total %
condition 0 33 0.0


and 3 conditions

line !l l&&!r l&&r condition
111 0 0 0 defined $result_format{'reducable'} and $result_format{'reducable'}
113 0 0 0 defined $result_format{'keep'} and $result_format{'keep'}
114 0 0 0 defined $result_format{'keep'} and $result_format{'keep'}
154 0 0 0 $op eq '-' and $a < $b
0 0 0 $op eq '-' and $a < $b and ($b, $a) = ($a, $b)
160 0 0 0 ($a, $b) = ($a->_reduce, $b = $b->_reduce) and push @way, &$a_plus_b($op, $a, $b)
206 0 0 0 $s->_gcd > 1 and $s = $s->_reduce
208 0 0 0 $s->num > $s->denum and $s->denum > 1

or 2 conditions

line l !l condition
111 0 0 $s->_gcd > 1 or return 0
113 0 0 $s->num <= $max_num or return 0
114 0 0 $s->denum <= $max_denum or return 0

or 3 conditions

line l !l&&r !l&&!r condition
160 0 0 0 $a->_gcd > 1 or $b->_gcd > 1