blib/lib/Power/Outlet/Common/IP/HTTP.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 8 | 18 | 44.4 |
line | true | false | branch |
---|---|---|---|
36 | 0 | 1 | if @_ |
37 | 1 | 0 | unless (defined $self->{'url'}) |
45 | 0 | 1 | unless $self->{'url'}->isa("URI") |
61 | 0 | 1 | if @_ |
62 | 1 | 0 | unless defined $self->{'http_scheme'} |
80 | 1 | 1 | if @_ |
81 | 0 | 2 | unless defined $self->{'http_path'} |
97 | 0 | 0 | if @_ |
99 | 0 | 0 | unless ref $self->{'http_client'} eq "HTTP::Tiny" |