line |
!l |
l&&!r |
l&&r |
condition |
93
|
26 |
0 |
2 |
defined $params->{'html_tree'} and $params->{'html_tree'} |
|
0 |
2 |
0 |
defined $params->{'html_tree'} and $params->{'html_tree'} and ref $params->{'html_tree'} ne 'HTML::TreeBuilder' |
99
|
26 |
0 |
2 |
defined $params->{'html_tree'} and $params->{'html_tree'} |
|
0 |
2 |
0 |
defined $params->{'html_tree'} and $params->{'html_tree'} and defined $params->{'relaxed'} |
|
2 |
0 |
0 |
defined $params->{'html_tree'} and $params->{'html_tree'} and defined $params->{'relaxed'} and $params->{'relaxed'} |
115
|
26 |
0 |
2 |
defined $params->{'strip_attrs'} && $params->{'strip_attrs'} |
|
27 |
0 |
1 |
defined $params->{'relaxed'} && $params->{'relaxed'} |
|
25 |
0 |
3 |
defined $params->{'leave_style'} && $params->{'leave_style'} |
|
28 |
0 |
0 |
defined $params->{'warns_as_errors'} && $params->{'warns_as_errors'} |
|
28 |
0 |
0 |
defined $params->{'agent'} && $params->{'agent'} |
155
|
0 |
0 |
1 |
$params and $params->{'url'} |
214
|
0 |
0 |
1 |
$params and $params->{'filename'} |
272
|
0 |
0 |
28 |
$params and $params->{'html'} |
276
|
0 |
26 |
2 |
$params and $params->{'charset'} |
|
26 |
2 |
0 |
$params and $params->{'charset'} and not &find_encoding($params->{'charset'}) |
320
|
0 |
0 |
2 |
$params and $params->{'content'} |
325
|
0 |
1 |
1 |
exists $params->{'charset'} and $params->{'charset'} |
|
1 |
0 |
1 |
exists $params->{'charset'} and $params->{'charset'} and &find_encoding($params->{'charset'}) |
|
0 |
0 |
1 |
exists $params->{'ctcharset'} and $params->{'ctcharset'} |
|
0 |
0 |
1 |
exists $params->{'ctcharset'} and $params->{'ctcharset'} and &find_encoding($params->{'ctcharset'}) |
337
|
0 |
0 |
0 |
$meta_charset and &find_encoding($meta_charset) |
368
|
0 |
0 |
2 |
$params and $params->{'content'} |
372
|
0 |
0 |
2 |
$params and $params->{'charset'} |
406
|
0 |
0 |
28 |
$self->_html and $self->_html_tree |
428
|
11 |
0 |
180 |
exists $entry->{'selector'} and $entry->{'declarations'} |
434
|
140 |
0 |
40 |
$selector =~ /(?:^|[\w\._\*\]])::?(?:([\w\-]+))\b/io and not $1 =~ /first-child|last-child/i |
656
|
1 |
0 |
0 |
$res->content_type ne 'text/html' and $res->content_type ne 'text/css' |
701
|
10 |
0 |
0 |
$i->tag eq 'form' and $base |
|
9 |
0 |
1 |
$i->tag eq 'a' || $i->tag eq 'area' || $i->tag eq 'link' and $i->attr('href') |
|
9 |
0 |
1 |
$i->tag eq 'a' || $i->tag eq 'area' || $i->tag eq 'link' and $i->attr('href') and not $i->attr('href') =~ /^\#/ |
|
8 |
1 |
0 |
$i->tag eq 'td' and $i->attr('background') |
|
9 |
0 |
0 |
$i->tag eq 'td' and $i->attr('background') and $base |
703
|
0 |
0 |
0 |
$i->attr('src') and $base |
857
|
0 |
0 |
0 |
defined $i->attr('rel') && $i->attr('rel') |
858
|
0 |
0 |
0 |
defined $i->attr('type') && $i->attr('type') |
859
|
0 |
0 |
0 |
defined $i->attr('href') && $i->attr('href') |
899
|
0 |
26 |
2 |
$i->tag eq 'style' and !$i->attr('media') || $i->attr('media') =~ /\b(all|screen)\b/ |
928
|
261 |
0 |
390 |
ref $i and $i->isa('HTML::Element') |
993
|
0 |
0 |
0 |
not defined $meta_charset and $meta_charset_elem |
line |
l |
!l&&r |
!l&&!r |
condition |
89
|
0 |
28 |
0 |
ref $proto || $proto |
701
|
0 |
0 |
10 |
$i->tag eq 'img' or $i->tag eq 'frame' |
|
0 |
0 |
10 |
$i->tag eq 'img' or $i->tag eq 'frame' or $i->tag eq 'input' |
|
0 |
0 |
10 |
$i->tag eq 'img' or $i->tag eq 'frame' or $i->tag eq 'input' or $i->tag eq 'script' |
|
1 |
0 |
9 |
$i->tag eq 'a' || $i->tag eq 'area' || $i->tag eq 'link' |
781
|
0 |
0 |
0 |
$rel eq 'stylesheet' or $type eq 'text/css' |
|
0 |
0 |
0 |
$rel eq 'stylesheet' or $type eq 'text/css' or $href =~ /\.css$/ |
863
|
0 |
0 |
0 |
$rel eq 'stylesheet' or $type eq 'text/css' |
|
0 |
0 |
0 |
$rel eq 'stylesheet' or $type eq 'text/css' or $href =~ /.css$/ |
899
|
26 |
2 |
0 |
!$i->attr('media') || $i->attr('media') =~ /\b(all|screen)\b/ |