Branch Coverage

blib/lib/Net/Async/Webservice/Common/SyncAgentWrapper.pm
Criterion Covered Total %
branch 15 24 62.5


line true false branch
28 1 4 if (my $uri = delete $args{'uri'})
34 1 12 /^SSL_/ ? :
35 1 4 if ($self->ua->can('ssl_opts') and %ssl)
40 1 4 if ($fail and not $response->is_success)
51 1 0 if (not ref $uri) { }
0 0 elsif (&blessed($uri) and not $uri->isa('URI')) { }
65 1 0 if ($method eq 'POST') { }
66 0 1 unless defined $args{'content'}
69 0 1 unless ref $args{'content'} or defined $args{'content_type'}
84 0 1 if (defined $uri->userinfo) { }
1 0 elsif (defined $args{'user'} and defined $args{'pass'}) { }
92 1 0 if (defined $user and defined $pass)