Condition Coverage

blib/lib/Lingua/CES/Num2Word.pm
Criterion Covered Total %
condition 13 27 48.1


and 3 conditions

line !l l&&!r l&&r condition
51 0 0 34 defined $number && $number =~ /\A\d+\z/msx
88 2 0 0 $tmp4 == 1 and $tmp2 == 1
0 1 1 $tmp4 > 1 and $tmp4 < 5
114 2 0 0 $tmp4 == 1 and $tmp2 == 1
0 1 1 $tmp4 > 1 and $tmp4 < 5

or 3 conditions

line l !l&&r !l&&!r condition
51 0 0 34 not defined $number && $number =~ /\A\d+\z/msx or $number < 0
0 1 33 not defined $number && $number =~ /\A\d+\z/msx or $number < 0 or $number > 999999999
87 0 2 0 $tmp3 < 9 or $tmp3 > 20
113 1 1 0 $tmp3 < 9 or $tmp3 > 20