Branch Coverage

blib/lib/Log/Dispatchouli.pm
Criterion Covered Total %
branch 45 86 52.3


line true false branch
138 1 19 unless my $ident = $arg->{'ident'}
140 0 19 defined $arg->{'config_id'} ? :
146 0 0 &_ARRAY0($arg->{$_}) ? :
0 19 exists $arg->{$_} ? :
153 18 1 exists $arg->{'log_pid'} ? :
156 2 17 if ($arg->{'to_file'})
177 1 1 if (my $format = $arg->{'file_format'}) { }
180 0 1 if $self->{'log_pid'}
188 1 0 if $self->{'log_pid'}
197 0 19 if ($arg->{'facility'} and not $self->env_value('NOSYSLOG'))
205 16 3 if ($arg->{'to_self'})
214 1 15 $self->{'log_pid'} ? :
224 38 0 unless $$arg{"to_std$dest"}
231 1 0 $arg->{'debug'} ? :
4 14 $self->env_value('DEBUG') ? :
1 18 exists $arg->{'debug'} ? :
236 0 19 exists $arg->{'fail_fatal'} ? :
244 0 0 if $_[0]->dispatcher->output($name)
247 0 0 $_[0]{'log_pid'} ? :
255 0 0 $dest eq 'err' ? :
0 0 $_[0]{'quiet_fatal'}{"std$dest"} ? :
280 0 0 $self->{'log_pid'} ? :
304 20 21 &_HASH0($rest[0]) ? :
308 39 2 if ($arg->{'fatal'} or not $self->get_muted)
312 1 38 @flogged > 1 ? :
316 15 24 &_ARRAY0($arg->{'prefix'}) ? :
319 1 53 if (&_CODELIKE($_)) { }
331 0 0 unless defined $message
332 0 0 if $self->{'fail_fatal'}
336 3 38 if $arg->{'fatal'}
355 0 3 &_HASH0($rest[0]) ? :
357 0 3 defined $arg->{'level'} ? :
358 0 3 defined $arg->{'fatal'} ? :
377 5 0 unless $self->is_debug
379 0 0 &_HASH0($rest[0]) ? :
381 0 0 defined $arg->{'level'} ? :
396 0 0 $_[1] ? :
430 0 0 $_[1] ? :
538 5 14 if defined $ENV{$name}
583 0 28 unless $_[0]{'events'}
597 0 15 unless $_[0]{'events'}
637 0 0 $arg->{'debug'} ? :
0 2 exists $arg->{'debug'} ? :