Branch Coverage

blib/lib/HTML/SiteTear/PageFilter.pm
Criterion Covered Total %
branch 0 54 0.0


line true false branch
100 0 0 if ($$self{'allow_abs_link'})
101 0 0 if ($comment =~ /^\s*begin abs_link/) { }
0 0 elsif ($comment =~ /^\s*end abs_link/) { }
115 0 0 $tag =~ m[/>$] ? :
117 0 0 if ($self->has_remote_base)
123 0 0 if (my $link = $$attr_dict{$target_attr})
124 0 0 if ($$self{'use_abs_link'}) { }
127 0 0 unless ($kind)
137 0 0 if ($tag eq 'base') { }
0 0 elsif ($tag eq 'img') { }
0 0 elsif ($tag eq 'body') { }
0 0 elsif ($tag eq 'link') { }
0 0 elsif ($tag eq 'frame') { }
0 0 elsif ($tag eq 'script') { }
0 0 elsif ($tag eq 'a') { }
139 0 0 if (not $uri->scheme or $uri->scheme eq 'file') { }
147 0 0 if (my $tag_attrs = &$process_link('src', $page->resource_folder_name))
152 0 0 if (my $tag_attrs = &$process_link('background', $page->resource_folder_name))
161 0 0 if (defined($relation = $$attr_dict{'rel'}))
163 0 0 if ($relation eq 'stylesheet')
168 0 0 if (my $tag_attrs = &$process_link('href', $folder_name, $kind))
174 0 0 if (my $tag_attrs = &$process_link('src', $page->page_folder_name, 'page'))
180 0 0 if (my $tag_attrs = &$process_link('src', $page->resource_folder_name))
186 0 0 if (exists $$attr_dict{'href'})
190 0 0 unless ($href =~ /(.+)#(.*)/)
192 0 0 unless (@matchedSuffix)
197 0 0 if (my $tag_attrs = &$process_link('href', $folder_name, $kind))