| blib/lib/HTML/HTML5/Parser/Charset/Info.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % | 
| condition | 12 | 39 | 30.7 | 
| line | !l | l&&!r | l&&r | condition | 
|---|---|---|---|---|
| 1165 | 0 | 0 | 0 | &Encode::find_encoding($obj->{'state_2440'}) and &Encode::find_encoding($obj->{'state_2442'}) | 
| 1178 | 0 | 0 | 0 | &Encode::find_encoding($obj->{'state_2440'}) and &Encode::find_encoding($obj->{'state_2442'}) | 
| 1225 | 0 | 713 | 0 | $perl_status & 64 and not $opt{'allow_semiconforming'} | 
| 1229 | 0 | 0 | 713 | $e and $e->name eq $perl_name | 
| 1245 | 0 | 0 | 0 | $perl_status & 64 and not $opt{'allow_semiconforming'} | 
| line | l | !l | condition | 
|---|---|---|---|
| 1144 | 0 | 713 | $opt{'onerror'} || sub { } | 
| 0 | 713 | $opt{'level'} || {'must', 'm', 'charset_variant', 'm', 'charset_fact', 'm', 'iso_shall', 'm'} | |
| 0 | 713 | $self->{'error_level'} || {'fallback-char-error', 'charset_variant', 'fallback-unassigned-error', 'charset_variant', 'illegal-octets-error', 'charset_fact', 'unassigned-code-point-error', 'charset_fact', 'invalid-state-error', 'charset_fact'} | 
| line | l | !l&&r | !l&&!r | condition | 
|---|---|---|---|---|
| 1091 | 714 | 2 | 0 | $HTML::HTML5::Parser::Charset::Info::HTMLCharset->{$name} or $HTML::HTML5::Parser::Charset::Info::IANACharset->{$name} | 
| 1099 | 714 | 0 | 2 | $HTML::HTML5::Parser::Charset::Info::HTMLCharset->{$name} || $HTML::HTML5::Parser::Charset::Info::IANACharset->{$name} | 
| 1206 | 0 | 0 | 711 | $name eq 'web-thai' or $name eq 'web-tis-620' | 
| 1257 | 0 | 0 | 0 | $perl_status & 16 or $perl_status & 64 | 
| 1298 | 0 | 710 | 0 | $other ||= $iana_name | 
| 1302 | 710 | 0 | 0 | $primary || $other |