Branch Coverage

blib/lib/Encode/JP/Mobile/KDDIJIS.pm
Criterion Covered Total %
branch 39 44 88.6


line true false branch
25 1 26 if ($chk)
26 0 1 if $str =~ s/([^\x00-\x7f].*)$//os
29 1 26 if $chk
54 21 88 if ($x < 128) { }
12 76 elsif (161 <= $x and $x <= 223) { }
55 3 18 if ($mode != 1)
61 3 9 if ($mode != 3)
68 22 54 if ($mode != 2)
73 0 76 unless $i < @chars
79 22 3 if ($mode != 1)
92 0 76 if (62272 <= $c and $c <= 62605) { }
12 128 elsif (63040 <= $c and $c <= 63484) { }
98 64 12 $c1 <= 159 ? :
101 49 27 if ($c2 > 127)
105 49 27 if ($c2 >= 158) { }
122 3 49 if ($esc_kana) { }
26 23 elsif ($esc_asc) { }
153 66 13 $t <= 159 ? :
156 0 79 if (237 == $ans or $ans == 238) { }
13 66 elsif (235 == $ans or $ans == 236) { }
170 28 51 if ($pq % 2) { }
172 0 28 $t > 127 ? :