Branch Coverage

blib/lib/WebService/Validator/HTML/W3C/Fast.pm
Criterion Covered Total %
branch 4 64 6.2


line true false branch
103 0 1 if ($params{'validator_uri'})
110 0 1 if ($^E == 2 and not $params{'validator_path'} and @default_script_paths) { }
0 1 elsif ($params{'validator_path'}) { }
1 0 elsif ($^E == 2 and not $params{'validator_path'}) { }
126 0 0 unless (defined $result)
129 0 0 unless (close $handle)
133 0 0 if ($params{'auto_launder_validator'})
134 0 0 if ($validator_source =~ /^(.*)$/s)
145 0 0 if ($@)
155 0 0 if (my $pid = fork) { }
0 0 elsif (defined $pid) { }
0 0 elsif ($^E == 11 and $number_of_fork_attempts < $maximum_fork_attempts) { }
167 0 0 unless (check_authorisation($request, $user, $password))
175 0 0 unless (close $connection)
179 0 0 if ($^E == 11) { }
180 0 0 if (kill 0, $parent_pid)
191 0 0 if ($terminated) { }
0 0 elsif ($@) { }
212 0 0 unless ($temp_input)
217 0 0 unless ($temp_input->print($buffer))
222 0 0 if (defined $result) { }
224 0 0 if ($result == 0) { }
227 0 0 unless ($temp_input->print($buffer))
235 0 0 unless ($temp_input->seek(0, 0))
245 0 0 if ($auth =~ s/^Basic //)
247 0 0 if ($decoded =~ s/^$user://)
248 0 0 if ($decoded eq $password)
263 0 0 if ($length)
267 0 0 if ($contentType)
276 0 0 unless ($ua)
284 0 0 unless ($password)
298 0 0 if (exists $$self{'_internal_http_server_pid'} and $$self{'_internal_http_server_pid'})