blib/lib/Log/Dispatch/File/Rolling.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 11 | 16 | 68.7 |
line | true | false | branch |
---|---|---|---|
24 | 0 | 7 | if ($@) { } |
48 | 1 | 3 | if ($p{'filename'} =~ /^(.*)\%d\{([^\}]*)\}(.*)$/) { } |
2 | 1 | elsif ($p{'filename'} =~ /^(.*)(\.[^\.]+)$/) { } | |
76 | 0 | 5 | if ($filename ne $$self{'filename'}) |
81 | 0 | 5 | if ($$self{'close'}) { } |
4 | 1 | elsif (defined $$self{'fh'} and ($$self{'rolling_fh_pid'} || '') eq $$ and defined fileno $$self{'fh'}) { } | |
92 | 0 | 4 | if (not defined $finode or $inode != $finode) |
125 | 0 | 9 | if ($TIME_HIRES_AVAILABLE) { } |