| blib/lib/Net/Fastly/Client.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| condition | 3 | 25 | 12.0 |
| line | !l | l&&!r | l&&r | condition |
|---|---|---|---|---|
| 74 | 0 | 0 | 0 | $res->code == 501 and $res->status_line =~ /Protocol scheme 'https' is not supported/ |
| line | l | !l | condition |
|---|---|---|---|
| 65 | 0 | 1 | $opts{'base_url'} ||= 'api.fastly.com' |
| 66 | 0 | 1 | $opts{'base_port'} ||= 80 |
| 150 | 0 | 0 | delete $opts{'headers'} || {} |
| 163 | 0 | 0 | delete $params{'headers'} || {} |
| 175 | 0 | 0 | delete $params{'headers'} || {} |
| 193 | 0 | 0 | delete $params{'headers'} || {} |
| 205 | 0 | 0 | delete $params{'headers'} || {} |
| 307 | 0 | 0 | $uri->query || '' |
| line | l | !l&&r | !l&&!r | condition |
|---|---|---|---|---|
| 67 | 0 | 0 | 1 | $self->{'user'} ||= $self->{'username'} |
| 230 | 0 | 0 | 0 | $content->{'detail'} || $content->{'msg'} |