Branch Coverage

blib/lib/POE/Component/Server/Syslog/UDP.pm
Criterion Covered Total %
branch 12 28 42.8


line true false branch
105 3 0 if (defined $_[3]{'handle'}) { }
110 1 2 if $_[3]{'Alias'}
117 3 0 if (defined $message)
121 3 0 if (defined $records and ref $records eq 'ARRAY') { }
123 3 0 if (my $addr = (sockaddr_in($remote_socket))[1])
125 3 0 if (my $host = gethostbyaddr($addr, 2))
147 3 3 if ($heap->{'handle'})
163 1 0 if (ref $_[10] eq 'HASH') { }
0 0 elsif (ref $_[10] eq 'ARRAY') { }
173 0 1 unless ($args{'inputevent'})
177 0 1 if (defined $self->{'sessions'}{$sender_id}) { }
191 0 0 if (ref $_[10] eq 'HASH') { }
0 0 elsif (ref $_[10] eq 'ARRAY') { }
202 0 0 if $data