Branch Coverage

blib/lib/WE_Frontend/LinkChecker.pm
Criterion Covered Total %
branch 0 74 0.0


line true false branch
49 0 0 if (ref $self->Url eq 'ARRAY') { }
65 0 0 if (%fail_urls) { }
79 0 0 $extra_args ? :
0 0 unless $tt->process($template, {'self', $self, 'fail_urls', {$self->check}, $extra_args ? %$extra_args : ()}, \$html)
97 0 0 if (not $self->Restrict) { }
107 0 0 if (not $self->Follow) { }
131 0 0 if ($url =~ m[/images/]) { }
0 0 elsif ($url =~ m[/(site_)?photos/]) { }
0 0 elsif ($url =~ m[/videos/]) { }
0 0 elsif ($url =~ m[/download/]) { }
0 0 elsif ($url =~ m[/headlines/]) { }
150 0 0 if ($url =~ m[/html/[^/]+/(\d+)\.html$]) { }
0 0 elsif ($url eq 'START') { }
174 0 0 unless ($self->Ua)
185 0 0 if ($self->SeenError->{$new_url})
189 0 0 if $self->SeenOk->{$new_url}
191 0 0 if $WE_Frontend::LinkChecker::VERBOSE
192 0 0 if ($self->_restricted($new_url))
193 0 0 if $WE_Frontend::LinkChecker::VERBOSE
196 0 0 if ($self->_ignored($new_url))
197 0 0 if $WE_Frontend::LinkChecker::VERBOSE
201 0 0 if ($failure) { }
215 0 0 if ($self->_nofollow($url))
217 0 0 if ($res->is_error)
218 0 0 if $WE_Frontend::LinkChecker::VERBOSE
222 0 0 if $WE_Frontend::LinkChecker::VERBOSE
229 0 0 if ($res->content_type ne 'text/html')
230 0 0 if $WE_Frontend::LinkChecker::VERBOSE
233 0 0 if ($res->is_error)
234 0 0 if $WE_Frontend::LinkChecker::VERBOSE
244 0 0 if $$e[$i] =~ /^javascript:/
262 0 0 unless $self->Restrict
264 0 0 if $url =~ /$restr/
271 0 0 unless $self->Ignore
273 0 0 if $url =~ /$ignore/
280 0 0 unless $self->Follow
282 0 0 if $url =~ /$restr/