Condition Coverage

blib/lib/Net/Fastly/Client.pm
Criterion Covered Total %
condition 3 25 12.0


and 3 conditions

line !l l&&!r l&&r condition
74 0 0 0 $res->code == 501 and $res->status_line =~ /Protocol scheme 'https' is not supported/

or 2 conditions

line l !l condition
65 0 1 $opts{'base_url'} ||= 'api.fastly.com'
66 0 1 $opts{'base_port'} ||= 80
140 0 0 delete $opts{'headers'} || {}
153 0 0 delete $params{'headers'} || {}
165 0 0 delete $params{'headers'} || {}
183 0 0 delete $params{'headers'} || {}
195 0 0 delete $params{'headers'} || {}
297 0 0 $uri->query || ''

or 3 conditions

line l !l&&r !l&&!r condition
67 0 0 1 $self->{'user'} ||= $self->{'username'}
220 0 0 0 $content->{'detail'} || $content->{'msg'}