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
78 0 0 0 $res->code == 501 and $res->status_line =~ /Protocol scheme 'https' is not supported/

or 2 conditions

line l !l condition
66 0 1 $opts{'base_url'} ||= 'api.fastly.com'
67 0 1 $opts{'base_port'} ||= 80
154 0 0 delete $opts{'headers'} || {}
167 0 0 delete $params{'headers'} || {}
179 0 0 delete $params{'headers'} || {}
197 0 0 delete $params{'headers'} || {}
209 0 0 delete $params{'headers'} || {}
311 0 0 $uri->query || ''

or 3 conditions

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