Condition Coverage

blib/lib/Lingua/UKR/Num2Word.pm
Criterion Covered Total %
condition 3 48 6.2


and 3 conditions

line !l l&&!r l&&r condition
53 0 0 2 defined $number && $number =~ /\A\d+\z/msux
90 0 0 0 $tmp4 == 1 and $tmp2 == 1
0 0 0 $tmp4 == 2 and $tmp2 == 2
0 0 0 $tmp4 > 2 and $tmp4 < 5
122 0 0 0 $tmp4 == 1 and $tmp2 == 1
0 0 0 $tmp4 > 1 and $tmp4 < 5
152 0 0 0 defined $number && $number =~ /\A\d+\z/msux
230 0 0 0 $tmp4 > 1 and $tmp4 < 5
256 0 0 0 $thousands >= 3 and $thousands <= 4

or 3 conditions

line l !l&&r !l&&!r condition
53 0 0 2 not defined $number && $number =~ /\A\d+\z/msux or $number < 0
0 0 2 not defined $number && $number =~ /\A\d+\z/msux or $number < 0 or $number > 999999999
89 0 0 0 $tmp3 < 9 or $tmp3 > 20
121 0 0 0 $tmp3 < 9 or $tmp3 > 20
152 0 0 0 not defined $number && $number =~ /\A\d+\z/msux or $number < 0
0 0 0 not defined $number && $number =~ /\A\d+\z/msux or $number < 0 or $number > 999999999
229 0 0 0 $tmp3 < 9 or $tmp3 > 20