Branch Coverage

blib/lib/WWW/Suffit/UserAgent.pm
Criterion Covered Total %
branch 0 70 0.0


line true false branch
397 0 0 unless ($ua)
410 0 0 if $args{'proxy'}
424 0 0 if (defined $e)
433 0 0 if (defined $s)
442 0 0 if (defined $c)
451 0 0 if (defined $v)
462 0 0 if (defined $t)
471 0 0 if (defined $k)
480 0 0 if (defined $k)
489 0 0 unless defined $p
493 0 0 if length $p
532 0 0 $r ? :
539 0 0 if ($str =~ m[^https?\://]) { }
0 0 elsif ($str =~ m[^/]) { }
0 0 elsif (length $str) { }
558 0 0 unless (not $err or $err->{'code'})
563 0 0 $tx->res->is_success ? :
564 0 0 if $tx->res->is_error and not $self->error
572 0 0 $rtime ? :
581 0 0 if ($req_hdrs)
586 0 0 if ($res_hdrs)
605 0 0 $_url ? :
607 0 0 if $credentials
618 0 0 if (not $status and $self->{'ask_credentials'} and $self->code == 401 and lc $self->{'auth_scheme'} eq "basic")
621 0 0 if $credentials
635 0 0 shift @_ ? :
638 0 0 if $self->{'credentials'}
641 0 0 if (length $self->{'username'} and length $self->{'password'})
647 0 0 if ($ask and -t STDIN)
652 0 0 if (length $username) { }
689 0 0 if ($scheme eq 'bearer') { }
0 0 elsif ($scheme eq 'basic') { }
0 0 elsif ($self->token) { }
690 0 0 if $self->token
706 0 0 if $header_value