| blib/lib/Circle/Loggable.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| condition | 0 | 18 | 0.0 |
| line | !l | l&&!r | l&&r | condition |
|---|---|---|---|---|
| 153 | 0 | 0 | 0 | defined $self->{'logpath'} and $self->{'logpath'} ne $path |
| 156 | 0 | 0 | 0 | defined $self->{'loguntil'} and $time >= $self->{'loguntil'} |
| line | l | !l | condition |
|---|---|---|---|
| 106 | 0 | 0 | $_ // '' |
| 115 | 0 | 0 | $ts_used{$_} or $timestamp[$time_format_to_idx{$_}] = 0 |
| 186 | 0 | 0 | $self->{'logpath'} // '' |
| line | l | !l&&r | !l&&!r | condition |
|---|---|---|---|---|
| 122 | 0 | 0 | 0 | $ts_used{$_} or ++$timestamp[$time_format_to_idx{$_} + 1], last |
| 160 | 0 | 0 | 0 | $LOGGER_FOR_PATH{$path} ||= do { my $dir = dirname($path); unless (-d $dir) { die "Cannot mkdir $dir - $!" unless make_path($dir, {'mode', 448}); }; 'Circle::Loggable::Backend::CircleLog'->open($logid) } |