Condition Coverage

blib/lib/Lingua/ZH/Numbers.pm
Criterion Covered Total %
condition 16 29 55.1


and 3 conditions

line !l l&&!r l&&r condition
166 15 0 0 $n == 0 and $tmp =~ /$zero/
12 3 0 $_ == 1 and $n == 1
15 0 0 $_ == 1 and $n == 1 and not $tmp
173 3 4 0 $num < 1000 and $mag != $#chunks
7 0 0 $num < 1000 and $mag != $#chunks and not $out =~ /$zero/

or 2 conditions

line l !l condition
153 3 1 $input ||= '0'

or 3 conditions

line l !l&&r !l&&!r condition
111 0 0 2 $charset =~ /^gb/i or $charset =~ /^euc-cn$/i
165 9 6 13 $tmp or $n
166 0 0 15 $n == 0 and $tmp =~ /$zero/ or $_ == 1 and $n == 1 and not $tmp
187 3 0 1 $out || $dig[0]