Branch Coverage

blib/lib/Log/Dispatch/Config.pm
Criterion Covered Total %
branch 25 32 78.1


line true false branch
20 36 62 if @_
26 3 13 if UNIVERSAL::isa($stuff, 'Log::Dispatch::Configurator')
33 0 16 unless $stuff
51 0 28 unless my $instance = $class->__instance
52 12 16 if ($instance->isa('Log::Dispatch::Config')) { }
54 3 9 if $instance->needs_reload
89 0 20 if defined $callback
109 0 32 unless my $dispclass = $$var{'class'}
112 0 32 if $@ and not $@ =~ /locate/
114 27 5 if (exists $$var{'format'})
122 20 27 unless defined $format
133 4 2 if ($needs_caller)
145 1 24 if ($1 and $2) { }
5 19 elsif ($1) { }
19 0 elsif ($3) { }
165 1 0 if ($Log::Dispatch::Config::HasTimePiece) { }