Branch Coverage

blib/lib/HTML/HTML5/Parser/Charset/UniversalCharDet.pm
Criterion Covered Total %
branch 3 12 25.0


line true false branch
13 708 0 unless utf8::is_utf8($_[0])
16 0 0 if defined $e
25 0 708 unless (eval { do { $de = _detect($_[1]); 1 } })
26 0 0 unless $DEBUG
27 0 0 if $DEBUG
29 708 0 if (defined $de and defined $de->{'encoding'}) { }