Branch Coverage

blib/lib/Net/Syslogd.pm
Criterion Covered Total %
branch 0 62 0.0


line true false branch
58 0 0 if (@_ == 1) { }
64 0 0 if (/^-?localport$/i) { }
0 0 elsif (/^-?localaddr$/i) { }
0 0 elsif (/^-?family$/i) { }
0 0 elsif (/^-?timeout$/i) { }
69 0 0 if ($cfg{$_} =~ /^(?:(?:(:?ip)?v?(?:4|6))|${\2;}|$AF_INET6)$/) { }
70 0 0 if ($cfg{$_} =~ /^(?:(?:(:?ip)?v?4)|${\2;})$/) { }
73 0 0 unless ($HAVE_IO_Socket_IP)
78 0 0 if ($^O ne 'MSWin32')
87 0 0 if ($cfg{$_} =~ /^\d+$/) { }
100 0 0 if (my $udpserver = $class->SUPER::new(%params)) { }
119 0 0 if $key =~ /^\_.+\_$/
124 0 0 if (@_ == 1) { }
131 0 0 if (/^-?(?:max)?size$/i) { }
0 0 elsif (/^-?timeout$/i) { }
132 0 0 if ($args{$_} =~ /^\d+$/) { }
0 0 elsif ($args{$_} =~ /^rfc$/i) { }
0 0 elsif ($args{$_} =~ /^rec(?:ommend)?(?:ed)?$/i) { }
133 0 0 if ($args{$_} >= 1 and $args{$_} <= 65467)
146 0 0 if ($args{$_} =~ /^\d+$/) { }
160 0 0 if ($Timeout != 0)
166 0 0 unless (select $rout = $rin, undef, $eout = $ein, $Timeout)
173 0 0 if ($udpserver->recv($datagram, $datagramsize))
193 0 0 if ($self eq $class and $class eq 'Net::Syslogd')
199 0 0 if ($class ne 'Net::Syslogd')
236 0 0 if (@_ != 1)
240 0 0 if (/^-?data(?:gram)?$/i or /^-?pdu$/i)
244 0 0 if (/^-?regex$/i)
245 0 0 if ($args{$_} =~ /^rfc(?:3164)?$/i) { }
305 0 0 if (defined $arg and $arg >= 1) { }
315 0 0 if (defined $arg and $arg >= 1) { }