Branch Coverage

blib/lib/IO/All/Socket.pm
Criterion Covered Total %
branch 15 36 41.6


line true false branch
19 3 0 if @_
26 10 0 if @_
44 10 0 unless $self->_fork
45 0 0 unless defined $socket
48 0 0 unless defined $pid
50 0 0 unless $pid
54 0 10 if $self->_fork
63 0 0 @_ ? :
65 0 0 if defined $handle
71 19 1 if $self->is_open
72 1 0 unless $self->mode
78 0 1 if $self->is_open
81 1 0 $self->_listen ? :
94 0 1 unless my $socket = 'IO::Socket::INET'->new(@args)
103 3 0 if defined $self->name
105 3 0 unless defined $self->domain
106 1 2 unless $self->domain
107 3 0 unless defined $self->port