Branch Coverage

blib/lib/Net/Daemon/Log.pm
Criterion Covered Total %
branch 0 30 0.0


line true false branch
45 0 0 unless ref $self
46 0 0 if defined $self->{'logfile'}
47 0 0 if ($Config::Config{'archname'} =~ /win32/i) { }
49 0 0 unless $self->{'eventLog'} = 'Win32::EventLog'->new(ref $self, '')
55 0 0 if ($@)
58 0 0 if ($^O ne 'solaris' and $^O ne 'freebsd' and eval { do { Sys::Syslog::_PATH_LOG() } })
76 0 0 if (ref $self and $self->{'mode'})
77 0 0 if ($self->{'mode'} eq 'ithreads')
78 0 0 if (my $sthread = 'threads'->self)
83 0 0 if ($logfile) { }
0 0 elsif (my $eventLog = $self->{'eventLog'}) { }
85 0 0 if (ref $logfile) { }
94 0 0 if ($level eq 'debug') { }
0 0 elsif ($level eq 'notice') { }
123 0 0 if (not ref $self or $self->{'debug'})