Branch Coverage

blib/lib/Net/TCP/ConnHandler.pm
Criterion Covered Total %
branch 0 34 0.0


line true false branch
15 0 0 if ($args{'PacketUnpackString'}) { }
0 0 elsif ($args{'NoMsgType'}) { }
26 0 0 unless $$self{'socknest'} = 'Net::Socket::NonBlock::Nest'->new(%args)
34 0 0 unless my $socket = $$self{'socknest'}->Connect(%args)
43 0 0 unless my $socket = $$self{'socknest'}->Listen(%args)
62 0 0 if ($$socket{'rx'} == 0)
64 0 0 if ($buf) { }
0 0 elsif (not defined $buf) { }
74 0 0 if ($$socket{'rx'} == 1)
77 0 0 if ($buf) { }
0 0 elsif (not defined $buf) { }
82 0 0 if ($$socket{'rxlen'} == 0)
85 0 0 if ($$self{'unpackstr'}) { }
123 0 0 if ($self->is_handled($msgtype)) { }
0 0 elsif ($self->is_handled('GENERIC')) { }
137 0 0 if $$self{'handlers'}{$msgtype}
143 0 0 if ($self->is_handled('ERROR')) { }