Branch Coverage

blib/lib/Log/Dispatchouli.pm
Criterion Covered Total %
branch 43 78 55.1


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->{$_} ? :
150 18 1 exists $arg->{'log_pid'} ? :
159 3 16 $pid_prefix ? :
164 2 17 if ($arg->{'to_file'})
185 1 1 if (my $format = $arg->{'file_format'}) { }
197 0 19 if ($arg->{'facility'} and not $self->env_value('NOSYSLOG'))
205 16 3 if ($arg->{'to_self'})
222 38 0 unless $$arg{"to_std$dest"}
229 1 0 $arg->{'debug'} ? :
4 14 $self->env_value('DEBUG') ? :
1 18 exists $arg->{'debug'} ? :
234 0 19 exists $arg->{'fail_fatal'} ? :
242 0 0 if $_[0]->dispatcher->output($name)
249 0 0 $dest eq 'err' ? :
0 0 $_[0]{'quiet_fatal'}{"std$dest"} ? :
298 20 21 &_HASH0($rest[0]) ? :
302 39 2 if ($arg->{'fatal'} or not $self->get_muted)
306 1 38 @flogged > 1 ? :
310 15 24 &_ARRAY0($arg->{'prefix'}) ? :
313 1 53 if (&_CODELIKE($_)) { }
325 0 0 unless defined $message
326 0 0 if $self->{'fail_fatal'}
330 3 38 if $arg->{'fatal'}
349 0 3 &_HASH0($rest[0]) ? :
351 0 3 defined $arg->{'level'} ? :
352 0 3 defined $arg->{'fatal'} ? :
371 5 0 unless $self->is_debug
373 0 0 &_HASH0($rest[0]) ? :
375 0 0 defined $arg->{'level'} ? :
390 0 0 $_[1] ? :
424 0 0 $_[1] ? :
532 5 14 if defined $ENV{$name}
577 0 28 unless $_[0]{'events'}
591 0 15 unless $_[0]{'events'}
631 0 0 $arg->{'debug'} ? :
0 2 exists $arg->{'debug'} ? :