Branch Coverage

blib/lib/Protocol/SPDY/Stream.pm
Criterion Covered Total %
branch 19 62 30.6


line true false branch
199 9 0 unless exists $$self{'transfer_window'}
201 0 9 if $fin
202 0 9 if $uni
227 0 0 if $frame->fin
228 0 0 if $frame->uni
229 0 0 if (my $parent_id = $frame->associated_stream_id)
233 0 0 unless $frame->uni
234 0 0 if $self->associated_stream
260 2 0 (shift())->{'from_us'} ? :
276 6 8 (shift())->{'seen_reply'} ? :
366 0 10 if ($frame->is_data) { }
0 10 elsif ($frame->type_name eq 'WINDOW_UPDATE') { }
2 8 elsif ($frame->type_name eq 'RST_STREAM') { }
6 2 elsif ($frame->type_name eq 'SYN_REPLY') { }
2 0 elsif ($frame->type_name eq 'HEADERS') { }
0 0 elsif ($frame->type_name eq 'SYN_STREAM') { }
375 2 0 if $self->from_us
378 0 6 if $self->accepted->is_ready
383 0 2 unless $self->accepted->is_ready
392 0 8 if ($frame->fin)
393 0 0 if $self->remote_fin
406 0 0 unless my $delta = delete $$self{'pending_update'}
420 0 0 if (exists $$self{'pending_update'}) { }
438 0 10 if $frame->fin
464 0 0 if $args{'fin'}
465 0 0 $args{'fin'} ? :
503 0 0 if $self->finished->is_ready
539 0 0 unless defined $args{'window_delta'}
579 8 0 unless (shift())->{'associated_stream_id'}
600 0 0 (shift())->{'remote_fin'} ? :
608 0 0 (shift())->{'local_fin'} ? :