Condition Coverage

blib/lib/Lingua/SRD/Num2Word.pm
Criterion Covered Total %
condition 10 24 41.6


and 3 conditions

line !l l&&!r l&&r condition
35 0 0 66 defined $positive && $positive =~ /\A\d+\z/msux
45 0 42 11 $positive >= 10 and $positive <= 19
48 0 17 25 $positive >= 20 and $positive <= 99
66 0 4 13 $positive >= 100 and $positive <= 999
83 0 0 4 $positive >= 1000 and $positive <= 999999
103 0 0 0 $positive >= 1000000 and $positive <= 999999999

or 3 conditions

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