Branch Coverage

blib/lib/POE/Component/TLSify/ServerHandle.pm
Criterion Covered Total %
branch 20 26 76.9


line true false branch
13 0 18 unless $socket = 'IO::Socket::SSL'->start_SSL($socket, 'SSL_Server', 1, 'SSL_startHandshake', 0, %$args)
20 0 18 if ($! != 11 and $! != 11)
36 27 9 unless (eval { do { $self->{'socket'}->$method } })
37 2 25 if ($! != 11 and $! != 11)
38 2 0 if (defined $self->{'on_connect'})
46 6 28 if (defined $self->{'on_connect'})
54 21 308 unless ($self->{'started'})
55 2 19 if $self->_check_status == 0
62 15 320 unless ($self->{'started'})
63 0 15 if $self->_check_status == 0
70 0 36 unless defined $self->{'socket'}
71 34 2 if defined $self->{'socket'}->can('close')
78 36 0 if (defined $self->{'socket'})