Branch Coverage

blib/lib/PAGI/Server/ConnectionState.pm
Criterion Covered Total %
branch 20 22 90.9


line true false branch
83 303 37 if $self->{'_connection'}
101 7 6 ${$self->{'_connected'};} ? :
163 2 7 if $self->{'_future'}
167 0 7 $conn && $conn->{'server'} ? :
169 0 7 if ($loop) { }
178 2 5 unless (${$self->{'_connected'};})
216 3 7 unless (${$self->{'_connected'};})
218 1 2 if $@
254 1 62 unless ${$self->{'_connected'};}
261 2 60 if ($self->{'_future'} and not $self->{'_future'}->is_ready)
268 1 6 if $@