| lib/WWW/Flatten.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| condition | 4 | 32 | 12.5 |
| line | !l | l&&!r | l&&r | condition |
|---|---|---|---|---|
| 118 | 0 | 0 | 0 | not $type =~ /$html_type_regex/ || $type =~ /$css_type_regex/ and -f $self->basedir . $new_id |
| 129 | 0 | 0 | 0 | $type and $type =~ /$html_type_regex/ |
| 0 | 0 | 0 | $type and $type =~ /$css_type_regex/ | |
| 198 | 1 | 2 | 0 | $_[0] =~ qr/http\-equiv="?Refresh"?/i and $_[0]{'content'} |
| line | l | !l | condition |
|---|---|---|---|
| 55 | 0 | 0 | shift() || 6 |
| 63 | 0 | 0 | shift() || 6 |
| 111 | 0 | 0 | $self->ua->head($url)->res->headers->content_type || '' |
| 130 | 0 | 0 | guess_encoding($res) || 'UTF-8' |
| 142 | 0 | 0 | guess_encoding($res) || 'UTF-8' |
| 173 | 0 | 24 | ($url =~ qr/(#.+)/)[0] || '' |
| 180 | 21 | 0 | $ref_path || '' |
| line | l | !l&&r | !l&&!r | condition |
|---|---|---|---|---|
| 114 | 0 | 0 | 0 | $ext1 || $ext2 |
| 118 | 0 | 0 | 0 | $type =~ /$html_type_regex/ || $type =~ /$css_type_regex/ |