Branch Coverage

blib/lib/Log/Handler/Output/File/Stamper.pm
Criterion Covered Total %
branch 10 26 38.4


line true false branch
101 0 2 if ($@) { }
120 2 0 if ($$self{'filename'} =~ /^(.*)\%d\{([^\}]*)\}(.*)$/) { }
0 0 elsif ($$self{'filename'} =~ /^(.*)(\.[^\.]+)$/) { }
140 2 0 if ($$self{'fileopen'})
141 0 2 unless $self->_open
152 0 1 unless $self->_fork_safe
163 0 2 unless $self->SUPER::_open(@_)
171 1 0 if ($$self{'fileopen'})
173 0 1 unless ($$self{'_stamper_fh_pid'} =~ /^$pid$/)
174 0 0 unless $self->close
175 0 0 unless $self->_open
186 0 1 if ($filename ne $$self{'filename'})
211 0 3 if ($TIME_HIRES_AVAILABLE) { }