Branch Coverage

blib/lib/Log/AutoDump.pm
Criterion Covered Total %
branch 0 86 0.0


line true false branch
121 0 0 unless $path =~ m[/$]
131 0 0 if ($args{'filename_datestamp'} or $args{'datestamp_filename'})
157 0 0 exists $args{'level'} ? :
0 0 exists $args{'history_length'} ? :
0 0 exists $args{'dumps'} ? :
0 0 exists $args{'sort_keys'} ? :
0 0 exists $args{'quote_keys'} ? :
0 0 exists $args{'deep_copy'} ? :
0 0 exists $args{'autoflush'} ? :
187 0 0 if defined $arg
206 0 0 if defined $arg
240 0 0 if defined $arg
255 0 0 if defined $arg
270 0 0 if defined $arg
285 0 0 if defined $arg
300 0 0 if defined $arg
317 0 0 if defined $arg
324 0 0 if defined $arg
340 0 0 if (defined $autoflush)
379 0 0 unless ($level =~ /^\d+$/)
387 0 0 if $level > $self->level
395 0 0 if (caller 2)
423 0 0 if (my $label = ref $thing) { }
425 0 0 if ($self->dumps or $level == 0) { }
427 0 0 if $level == 0
444 0 0 if (defined $thing) { }
454 0 0 unless $msg =~ /\n$/
481 0 0 if (scalar @{$self->{'history'};} >= $self->{'history_length'})
486 0 0 if (scalar @{$self->{'history'};} < $self->{'history_length'})
505 0 0 if $self->is_trace
513 0 0 if $self->level >= 5
531 0 0 if ref $lines[$i]
533 0 0 if ($lines[$i] =~ /^#/ and $lines[$i] =~ /#$/ and not $lines[$i] =~ /^#+$/)
542 0 0 if $self->is_debug
551 0 0 if $self->level >= 4
565 0 0 if $self->is_info
573 0 0 if $self->level >= 3
586 0 0 if $self->is_warn
594 0 0 if $self->level >= 2
607 0 0 if $self->is_error
615 0 0 if $self->level >= 1
628 0 0 if $self->is_fatal
636 0 0 if $self->level >= 0