Condition Coverage

blib/lib/Log/Report/Dispatcher/File.pm
Criterion Covered Total %
condition 4 14 28.5


and 3 conditions

line !l l&&!r l&&r condition
28 4 0 0 length $cs && &find_encoding(scalar($cs ? $cs : undef))

or 2 conditions

line l !l condition
26 0 4 $ENV{'LC_CTYPE'} || $ENV{'LC_ALL'} || $ENV{'LANG'} || ''
36 0 4 $args->{'replace'} || 0
38 4 0 $args->{'format'} || sub { '[' . (localtime()) . "] $_[0]"; }
43 0 0 shift() || '-'

or 3 conditions

line l !l&&r !l&&!r condition
47 0 0 0 ref $format || $format