Branch Coverage

blib/lib/WWW/Webrobot/UserAgentConnection.pm
Criterion Covered Total %
branch 0 70 0.0


line true false branch
52 0 0 if $opt{'user'} ne ''
59 0 0 if (/^https$/) { }
70 0 0 if $$cfg{'no_proxy'}
73 0 0 if $$cfg{'auth_basic'}
74 0 0 if $$cfg{'client_302_bug'}
101 0 0 if ($referrer)
102 0 0 if ($self->cfg->{'referrer_bug'}) { }
116 0 0 if (defined $r and ($r->protocol || '') eq 'HTTP/0.9' and ($r->message || '') eq 'EOF')
132 0 0 unless $encoding
133 0 0 if (has_Encode() or legacy_mode()) { }
287 0 0 if $fail
306 0 0 if $$self{'_cfg'}{'delay'}
312 0 0 unless my $METHOD = $ACTION{$$arg{'method'}}
323 0 0 if $r
326 0 0 if ($$self{'_ua'}->is_redirect_fail) { }
0 0 elsif ($exception) { }
0 0 elsif (not $r && defined $$arg{'assert'}) { }
343 0 0 if ($HTTP_ACTION{$$arg{'method'}})
344 0 0 if ($r and my $ct = $r->headers->{'content-type'})
346 0 0 if $ct =~ /.*;\s*charset\s*=\s*(.*)$/
351 0 0 if ($$arg{'property'})
357 0 0 if (/^value$/)
361 0 0 if (/^regex$/)
362 0 0 unless $r
367 0 0 if (/^xpath$/)
368 0 0 unless $r
372 0 0 if (/^header$/)
373 0 0 unless $r
377 0 0 if (/^status$/)
378 0 0 unless $r
384 0 0 unless $val{$expr}
388 0 0 if (/^random$/)
389 0 0 unless $r
390 0 0 if $expr < 0
391 0 0 if $expr > 15