Branch Coverage

blib/lib/POE/Component/Server/Syslog/TCP.pm
Criterion Covered Total %
branch 11 28 39.2


line true false branch
100 0 3 unless ($_[3]{'socketfactory'})
103 1 2 if $_[3]{'Alias'}
111 3 0 if ((sockaddr_in(getpeername $handle))[1]) { }
135 0 0 unless ($errnum == 0 and $errop eq 'read')
146 0 3 if (ref $input and ref $input eq 'ARRAY') { }
3 0 elsif (ref $input and ref $input eq 'HASH') { }
169 3 3 if ($heap->{'socketfactory'})
185 1 0 if (ref $_[10] eq 'HASH') { }
0 0 elsif (ref $_[10] eq 'ARRAY') { }
195 0 1 unless ($args{'inputevent'})
199 0 1 if (defined $self->{'sessions'}{$sender_id}) { }
213 0 0 if (ref $_[10] eq 'HASH') { }
0 0 elsif (ref $_[10] eq 'ARRAY') { }
224 0 0 if $data