Branch Coverage

blib/lib/Encode/JISX0213/CCS.pm
Criterion Covered Total %
branch 20 36 55.5


line true false branch
113 0 34972 if (ref $chk eq 'CODE')
127 15716 35162 unless $chunk =~ /./so or $mc =~ /./so
129 34684 478 if ($chunk =~ /./so)
131 19036 15648 if ($chunk =~ /./so)
137 15584 542 if (not $mc =~ /./so) { }
322 220 elsif ($$self{'jisx0213'} and $composed{$mc}) { }
149 19036 220 unless defined $errChar
151 0 19256 if ($chk & $DIE_ON_ERR)
154 0 19256 if ($chk & $WARN_ON_ERR)
157 19256 0 if ($chk & $RETURN_ON_ERR)
161 0 0 if ($chk_sub) { }
169 34972 0 unless $chk & $LEAVE_SRC
176 3648 0 if ($$self{'alt'} and not ref $chk)
180 3648 0 if ($$self{'alt'} eq 'ascii') { }
0 0 elsif ($$self{'alt'} eq 'jis') { }
189 0 0 if ($chr == 165) { }
0 0 elsif ($chr == 8254) { }
200 3648 0 unless ref $chk or $chk & $LEAVE_SRC