Condition Coverage

blib/lib/Log/Dispatch/Dir.pm
Criterion Covered Total %
condition 22 29 75.8


and 3 conditions

line !l l&&!r l&&r condition
75 6 1 1 $self->{'permissions'} and not $self->{'chmodded'}
175 10 3 1 defined $mf and @entries > $mf

or 2 conditions

line l !l condition
52 2 6 $p{'filename_pattern'} || '%Y-%m-%d-%H%M%S.pid-%{pid}.%{ext}'
57 3 5 $p{'rotate_probability'} || 0.25
65 1 6 $self->{'permissions'} // 493
115 0 0 $p->{'message'} // ''

or 3 conditions

line l !l&&r !l&&!r condition
21 0 8 0 ref $proto || $proto
120 0 0 0 $ext || $default_ext
157 5 4 6 defined $ms or defined $mf
9 5 1 defined $ms or defined $mf or defined $ma
166 14 14 40 $e eq '.' or $e eq '..'