Branch Coverage

blib/lib/Tangence/Stream.pm
Criterion Covered Total %
branch 19 30 63.3


line true false branch
118 18 10 if @_
159 0 295 unless length $_[0] >= 5
161 0 295 unless length $_[0] >= 5 + $len
168 147 148 if ($code < 128) { }
172 0 147 if (not $self->minor_version and $code != 127)
177 147 0 if (my $method = $REQ_METHOD{$code}) { }
178 147 0 if ($self->can($method)) { }
212 2 0 if ($code == 128) { }
0 0 elsif ($code == 129) { }
265 0 148 unless my $request = $args{'request'}
269 68 80 if (defined wantarray) { }
270 0 68 if $args{'on_response'}
275 7 61 if ($response->code == 129) { }
284 0 80 unless $on_response = $args{'on_response'}
339 18 185 if @_