Branch Coverage

blib/lib/PAGI/Server/ConnectionState.pm
Criterion Covered Total %
branch 32 36 88.8


line true false branch
103 211 28 if $self->{'_connection'}
121 1 3 ${$self->{'_connected'};} ? :
134 3 4 $_[0]{'_response_started'} ? :
210 1 6 if $self->{'_future'}
214 0 6 $conn && $conn->{'server'} ? :
216 0 6 if ($loop) { }
225 2 4 unless (${$self->{'_connected'};})
263 7 3 if (${$self->{'_connected'};})
270 1 2 if $self->{'_completed'}
273 1 1 if $@
309 4 1 if (${$self->{'_connected'};})
315 0 1 unless $self->{'_completed'}
318 0 1 if $@
350 2 36 unless ${$self->{'_connected'};}
357 1 35 if ($self->{'_future'} and not $self->{'_future'}->is_ready)
364 1 4 if $@
395 1 161 unless ${$self->{'_connected'};}
405 1 2 if $@