Branch Coverage

blib/lib/Lingua/DetectCharset.pm
Criterion Covered Total %
branch 13 20 65.0


line true false branch
43 1 0 if ($DoubtLog)
44 0 1 if ($KoiRatio < $MinRatio and $KoiRatio > $DoubtRatio or $WinRatio < $MinRatio and $WinRatio > $DoubtRatio or $Utf8Ratio < $MinRatio and $Utf8Ratio > $DoubtRatio)
54 0 1 if $KoiRatio > $WinRatio and $KoiRatio > $Utf8Ratio
55 1 0 if $WinRatio > $Utf8Ratio
58 0 0 if $WinRatio + $KoiRatio + $Utf8Ratio > 0
66 1 2 if ($Code eq 'Koi') { }
1 1 elsif ($Code eq 'Win') { }
1 0 elsif ($Code eq 'Utf8') { }
76 1 2 if $Code eq 'Utf8'
77 2 1 if $Code ne 'Utf8'