Branch Coverage

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


line true false branch
201 9 0 unless exists $$self{'transfer_window'}
203 0 9 if $fin
204 0 9 if $uni
229 0 0 if $frame->fin
230 0 0 if $frame->uni
231 0 0 if (my $parent_id = $frame->associated_stream_id)
235 0 0 unless $frame->uni
236 0 0 if $self->associated_stream
262 2 0 (shift())->{'from_us'} ? :
278 6 8 (shift())->{'seen_reply'} ? :
368 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') { }
377 2 0 if $self->from_us
380 0 6 if $self->accepted->is_ready
385 0 2 unless $self->accepted->is_ready
394 0 8 if ($frame->fin)
395 0 0 if $self->remote_fin
408 0 0 unless my $delta = delete $$self{'pending_update'}
422 0 0 if (exists $$self{'pending_update'}) { }
440 0 10 if $frame->fin
466 0 0 if $args{'fin'}
467 0 0 $args{'fin'} ? :
505 0 0 if $self->finished->is_ready
541 0 0 unless defined $args{'window_delta'}
581 8 0 unless (shift())->{'associated_stream_id'}
602 0 0 (shift())->{'remote_fin'} ? :
610 0 0 (shift())->{'local_fin'} ? :