Branch Coverage

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


line true false branch
48 0 0 unless ref $self
49 0 0 if defined $$self{'logfile'}
50 0 0 if ($Config::Config{'archname'} =~ /win32/i) { }
52 0 0 unless $$self{'eventLog'} = 'Win32::EventLog'->new(ref $self, '')
57 0 0 if ($@)
60 0 0 if ($^O ne 'solaris' and $^O ne 'freebsd' and defined &Sys::Syslog::setlogsock and eval { do { &Sys::Syslog::_PATH_LOG() } })
76 0 0 if (ref $self and $$self{'mode'})
77 0 0 if ($$self{'mode'} eq 'ithreads') { }
0 0 elsif ($$self{'mode'} eq 'threads') { }
78 0 0 if (my $sthread = 'threads'->self)
82 0 0 if (my $sthread = 'Thread'->self)
87 0 0 if ($logfile) { }
0 0 elsif (my $eventLog = $$self{'eventLog'}) { }
89 0 0 if (ref $logfile) { }
96 0 0 if ($level eq 'debug') { }
0 0 elsif ($level eq 'notice') { }
120 0 0 if (not ref $self or $$self{'debug'})