Condition Coverage

blib/lib/App/Math/Tutor/Numbers.pm
Criterion Covered Total %
condition 9 31 29.0


and 2 conditions

line l !l condition
302 0 30 $_ and return 1

and 3 conditions

line !l l&&!r l&&r condition
63 14 0 0 $_[1] and $_[0]->num > $_[0]->denum
69 10 4 0 $_[0]->sign < 0 and blessed($_[0]->num) || blessed($_[0]->denum)
226 0 0 0 1 == $exp and 1 != $fact
456 0 0 2 $m and ($e <=> int $e) != 0
0 0 2 $m and ($e <=> int $e) != 0 and 0 != $bn
468 0 0 0 $x && !($x =~ /^\\/)
508 0 2 0 defined $f and $f < 0

or 2 conditions

line l !l condition
376 0 0 $_ or return 0

or 3 conditions

line l !l&&r !l&&!r condition
69 4 0 0 blessed($_[0]->num) || blessed($_[0]->denum)
464 2 0 0 defined $x or $x = sprintf('{%s}^{%s}', blessed $b ? "\\left(${b}{}\\right)" : $b, $e)