Condition Coverage

lib/WWW/Flatten.pm
Criterion Covered Total %
condition 4 32 12.5


and 3 conditions

line !l l&&!r l&&r condition
116 0 0 0 not $type =~ /$html_type_regex/ || $type =~ /$css_type_regex/ and -f $self->basedir . $new_id
127 0 0 0 $type and $type =~ /$html_type_regex/
0 0 0 $type and $type =~ /$css_type_regex/
194 1 2 0 $_[0] =~ qr/http\-equiv="?Refresh"?/i and $_[0]{'content'}

or 2 conditions

line l !l condition
55 0 0 shift() || 6
63 0 0 shift() || 6
109 0 0 $self->ua->head($url)->res->headers->content_type || ''
128 0 0 guess_encoding($res) || 'UTF-8'
140 0 0 guess_encoding($res) || 'UTF-8'
171 0 24 ($url =~ qr/(#.+)/)[0] || ''
177 24 0 $ref_path || ''

or 3 conditions

line l !l&&r !l&&!r condition
112 0 0 0 $ext1 || $ext2
116 0 0 0 $type =~ /$html_type_regex/ || $type =~ /$css_type_regex/