Condition Coverage

blib/lib/Circle/Loggable.pm
Criterion Covered Total %
condition 0 16 0.0


and 3 conditions

line !l l&&!r l&&r condition
152 0 0 0 defined $$self{'logpath'} and $$self{'logpath'} ne $path
155 0 0 0 defined $$self{'loguntil'} and $time >= $$self{'loguntil'}

or 2 conditions

line l !l condition
104 0 0 $_ // ''
114 0 0 $ts_used{$_} or $timestamp[$time_format_to_idx{$_}] = 0

or 3 conditions

line l !l&&r !l&&!r condition
121 0 0 0 $ts_used{$_} or ++$timestamp[$time_format_to_idx{$_} + 1], last
159 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) }