Branch Coverage

blib/lib/DiaColloDB/Logger.pm
Criterion Covered Total %
branch 4 62 6.4


line true false branch
24 0 2 $^W ? :
0 2 $^W ? :
0 2 $^W ? :
0 2 $0 =~ /(?:server|daemon)/i ? :
65 0 0 if defined $opts{'file'} and not defined $opts{'rotate'}
66 0 0 unless defined $opts{'sysIdent'}
75 0 0 if ($opts{'rootLevel'})
80 0 0 if ($opts{'stderr'} or $opts{'file'} or $opts{'syslog'})
82 0 0 if ($opts{'level'})
84 0 0 if $which and not ref $which
89 0 0 $opts{'stderr'} ? :
0 0 $opts{'file'} ? :
0 0 $opts{'syslog'} ? :
105 0 0 $opts{'logtime'} ? :
0 0 $opts{'logdate'} && $opts{'logtime'} ? :
116 0 0 if ($opts{'syslog'})
118 0 0 if $@
131 0 0 if ($opts{'file'} and $opts{'rotate'}) { }
0 0 elsif ($opts{'file'}) { }
134 0 0 if $@
167 0 0 if defined $Log::Dispatch::FileRotate::VERSION
169 0 0 if defined $Log::Dispatch::FileRotate::VERSION and not $@
177 0 0 if defined $Log::Dispatch::Syslog::VERSION
179 0 0 if defined $Log::Dispatch::Syslog::VERSION and not $@
196 0 0 if (not defined $opts{'l4pfile'}) { }
202 0 0 if (defined $opts{'watch'}) { }
214 0 0 if not 'Log::Log4perl'->initialized
249 0 0 unless defined $_[1]
250 0 0 UNIVERSAL::isa($_[1], 'CODE') ? :
251 0 0 unless defined $sub
301 0 0 $opts{'verbose'} ? :