Condition Coverage

blib/lib/Lingua/SOM/Num2Word.pm
Criterion Covered Total %
condition 4 27 14.8


and 3 conditions

line !l l&&!r l&&r condition
29 0 0 2 defined $positive && $positive =~ /\A\d+\z/msux
41 0 0 2 $positive >= 0 and $positive < 10
47 0 0 0 $positive > 10 and $positive < 20
0 0 0 $positive >= 20 and $positive < 100
0 0 0 $positive >= 100 and $positive < 1000
0 0 0 $positive >= 1000 and $positive < 1000000
0 0 0 $positive >= 1000000 and $positive < 1000000000

or 3 conditions

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