blib/lib/HTML/HTML5/Parser.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 15 | 33 | 45.4 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
43 | 4 | 0 | 0 | &blessed($file) and $file->isa('URI') |
60 | 4 | 0 | 0 | $c_type =~ /xml/i and not $opts->{'force_html'} |
227 | 1 | 1 | 0 | $options{'mark_outliers'} and $sibling->can('setAttribute') |
240 | 1 | 0 | 1 | $options{'mark_outliers'} and $sibling->can('setAttribute') |
320 | 0 | 0 | 0 | not $set and defined $set |
333 | 0 | 0 | 0 | $set and defined $set |
line | l | !l | condition |
---|---|---|---|
41 | 0 | 4 | shift() || {} |
80 | 0 | 1 | shift() || {} |
96 | 5 | 703 | shift() || {} |
102 | 0 | 708 | defined $opts->{'encoding'} or 1 |
179 | 11 | 0 | $options{'force_within'} || $options{'within'} || 'div' |
410 | 1 | 8 | $data->{'implied'} || 0 |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
53 | 4 | 0 | 0 | $response->{'success'} or $opts->{'ignore_http_response_code'} |