Branch Coverage

blib/lib/Tie/Handle/HTTP.pm
Criterion Covered Total %
branch 14 26 53.8


line true false branch
37 0 1 unless $res->is_success
57 12 0 unless defined $$buf
58 12 0 unless defined $offset
64 0 12 unless $len > 0
67 0 12 unless $offset >= 0
69 0 12 if $self->EOF
82 0 12 if ($res->is_error)
83 0 0 if ($res->code eq 416)
105 0 19 if $$self{'eof'}
107 0 19 unless $$self{'length'}
129 6 2 if ($whence == 1) { }
1 1 elsif ($whence == 2) { }
134 1 0 if (defined $len) { }