Condition Coverage

blib/lib/Lingua/HYE/Num2Word.pm
Criterion Covered Total %
condition 18 27 66.6


and 3 conditions

line !l l&&!r l&&r condition
43 1 0 18 defined $positive && $positive =~ /\A\d+\z/msux
58 0 17 6 $n >= 0 and $n <= 9
60 0 14 2 $n >= 11 and $n <= 19
64 0 9 5 $n >= 20 and $n <= 99
0 5 4 $n >= 100 and $n <= 999
0 2 3 $n >= 1000 and $n <= 999999
0 0 2 $n >= 1000000 and $n <= 999999999

or 3 conditions

line l !l&&r !l&&!r condition
43 1 0 18 not defined $positive && $positive =~ /\A\d+\z/msux or $positive < 0
1 1 17 not defined $positive && $positive =~ /\A\d+\z/msux or $positive < 0 or $positive > 999999999