Branch Coverage

blib/lib/App/SpamcupNG/UserAgent.pm
Criterion Covered Total %
branch 4 42 9.5


line true false branch
41 1 1 unless $version
111 0 0 defined $uri ? :
114 0 0 if $proto
122 0 1 if $self->_is_authenticated
124 0 1 if ($request->method eq 'POST') { }
133 0 0 unless exists $params{$self->{'password_field'}}
172 0 0 unless defined $is_basic
176 0 0 if ($logger->is_debug)
180 0 0 if ($self->_is_authenticated) { }
185 0 0 if ($password) { }
187 0 0 if ($is_basic) { }
210 0 0 if ($logger->is_debug)
217 0 0 if ($logger->is_debug)
223 0 0 if $response->is_success
227 0 0 if ($response->code == 500) { }
233 0 0 if ($password and $is_basic == 0)
262 0 0 if ($logger->is_debug)
269 0 0 if ($logger->is_debug)
273 0 0 unless ($response->is_success)
306 0 0 if ($logger->is_debug)
310 0 0 unless ($response->is_success)