Branch Coverage

blib/lib/Net/HTTP/Spore/Role/Request.pm
Criterion Covered Total %
branch 9 20 45.0


line true false branch
26 9 30 if (ref $res and ref $res eq 'CODE') { }
22 16 elsif (ref $res and ref $res eq 'Net::HTTP::Spore::Response') { }
30 1 21 if $res->status == 599
37 21 0 if defined $response
57 0 7 if defined $res and &Scalar::Util::blessed($res) and $res->isa('Net::HTTP::Spore::Response')
61 0 9 if $error
89 0 0 unless $self->trace
94 0 0 if defined $request->env->{'QUERY_STRING'}
95 0 0 if defined $request->content
105 0 0 unless $self->trace