Branch Coverage

blib/lib/Unicode/UTF8simple.pm
Criterion Covered Total %
branch 35 44 79.5


line true false branch
1704 4 8 if /_r$/
1713 0 0 if ($enc and defined $$self{$enc}) { }
1725 0 4 if $enc eq 'utf-8'
1726 1 3 if $enc eq 'gb2312'
1729 0 4 unless (defined $$self{$enc})
1735 16 10 if ($c & 128) { }
1738 8 8 if ($twobyte)
1739 4 4 if ($c16) { }
1750 11 1 if $$self{$enc}{$c}
1752 0 12 if ($c > 65535) { }
4 8 elsif ($c > 2047) { }
1788 0 3 if $enc eq 'utf-8_r'
1789 0 3 unless (defined $$self{$encorig})
1793 2 1 unless (defined $$self{$enc})
1807 26 10 if ($c & 128) { }
1809 15 11 if (($c & 192) == 128 and $multybyte)
1814 11 4 if ($multybyte == 0)
1815 10 1 if $$self{$enc}{$ubytes}
1817 4 7 if ($ubytes > 255)
1825 0 11 if (($c & 248) == 240) { }
4 7 elsif (($c & 240) == 224) { }
7 0 elsif (($c & 224) == 192) { }