Condition Coverage

blib/lib/MogileFS/Connection/HTTP.pm
Criterion Covered Total %
condition 11 28 39.2


and 3 conditions

line !l l&&!r l&&r condition
133 0 2 0 defined $clen and $clen == &$body_read()
149 9 0 0 $content_cb and $res->is_success
160 0 0 0 defined $clen and $clen == &$body_read()
194 3 0 0 $self->retryable($reason) and $http_res_cb
3 0 0 $self->retryable($reason) and $http_res_cb and not $$self{'http_response'}
247 0 0 11 $persist && $self->persist

or 2 conditions

line l !l condition
34 16 0 $opts ||= {}
41 0 15 $$opts{'read_size_hint'} || 4096
43 0 15 $$opts{'headers'} || {}
214 4 0 $err ||= '(unspecified error)'
215 3 1 $$self{'http_req'} || 'no HTTP request made'