Branch Coverage

blib/lib/Encode/Multibyte/Detect.pm
Criterion Covered Total %
branch 13 18 72.2


line true false branch
22 17 0 unless $opts{'avail'}
24 5 12 if is_7bit($str)
26 4 8 if is_strict_utf8($str)
28 0 8 if $avail{'euc-cn'} and is_valid_euc_cn($str)
29 0 8 if $avail{'euc-jp'} and is_valid_euc_jp($str)
30 0 8 if $avail{'euc-kr'} and is_valid_euc_kr($str)
31 0 8 if $avail{'euc-tw'} and is_valid_euc_tw($str)
33 4 4 if $opts{'strict'}
35 2 2 if is_valid_utf8($str)