Condition Coverage

blib/lib/Lingua/SWE/Num2Word.pm
Criterion Covered Total %
condition 3 14 21.4


and 3 conditions

line !l l&&!r l&&r condition
43 3 0 0 int $num[1] . $num[2] < 20 and int $num[1] . $num[2] > 0
75 0 0 0 defined $number && $number =~ /\A\d+\z/msux

or 2 conditions

line l !l condition
22 7 1 shift() // (return "noll")

or 3 conditions

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