Branch Coverage

blib/lib/Net/HTTP/Spore/Response.pm
Criterion Covered Total %
branch 21 22 95.4


line true false branch
20 39 2 if defined $rc
21 28 13 if defined $body
36 41 104 if (@_) { }
46 41 46 if (@_) { }
48 34 7 if (not defined $self->{'raw_body'})
59 2 2 if (@_) { }
68 41 52 if (@_) { }
70 40 1 if (ref $headers eq 'ARRAY') { }
1 0 elsif (ref $headers eq 'HASH') { }
85 24 19 if (@_) { }
100 1 25 if ($self->{'body'} =~ /read timeout/)