Branch Coverage

lib/In/Korean/Numbers/SinoKorean.pm
Criterion Covered Total %
branch 28 32 87.5


line true false branch
45 0 114 unless defined $num
48 3 111 unless is_positive_int_or_zero($num)
56 34 491 if $remaining == 0
62 308 183 if $multiple < 1
67 6 177 $multiple >= 10 ? :
70 147 36 unless $multiple == 1 and $unit != 1
71 106 77 if $unit != 1
74 109 2 if @hangul
84 0 104 unless defined $hangul
96 0 184 unless defined $char_int
99 8 176 if ($char_char eq '만') { }
112 64 elsif ($char_int > 9 or not @tokens or $tokens[0] eq '만') { }
100 6 2 if ($total) { }
136 113 105 if (@_ >= 2) { }
105 0 elsif (@_ == 1) { }
164 1 247 unless (%char_to_int_map)