Branch Coverage

blib/lib/Encode/JP/Mobile/AirHJIS.pm
Criterion Covered Total %
branch 38 46 82.6


line true false branch
29 1 21 if ($chk)
30 0 1 if $str =~ s/([^\x00-\x7f].*)$//os
33 1 21 if $chk
58 16 52 if ($x < 128) { }
12 40 elsif (161 <= $x and $x <= 223) { }
59 2 14 if ($mode != 1)
65 2 10 if ($mode != 3)
72 16 24 if ($mode != 2)
77 0 40 unless $i < @chars
79 32 8 $c2 ? :
83 16 2 if ($mode != 1)
98 0 32 if (63647 <= $c and $c <= 63817 or 63824 <= $c and $c <= 63826 or 63829 <= $c and $c <= 63831 or 63835 <= $c and $c <= 63838 or 63858 <= $c and $c <= 63996)
106 32 0 $c1 <= 159 ? :
109 14 18 if ($c2 > 127)
113 14 18 if ($c2 >= 158) { }
130 2 42 if ($esc_kana) { }
22 20 elsif ($esc_asc) { }
139 11 36 $1 ? :
160 36 0 $t <= 159 ? :
163 0 36 if (237 == $ans or $ans == 238) { }
0 36 elsif (235 == $ans or $ans == 236) { }
177 18 18 if ($pq % 2) { }
179 0 18 $t > 127 ? :