Branch Coverage

blib/lib/HTTP/Engine/Role/RequestBuilder/ReadBody.pm
Criterion Covered Total %
branch 18 18 100.0


line true false branch
13 1 36 unless defined $$read_state{$key}
30 15 5 if ($content_length > 0)
36 2 13 if ($diff)
37 1 1 if ($diff > 0) { }
57 13 79 unless $$state{'started'}
66 16 76 if ($remaining <= 0)
70 61 15 $remaining > $maxlength ? :
74 75 1 if (defined $rc) { }
93 1 75 unless defined $handle