Branch Coverage

blib/lib/Log/Lite.pm
Criterion Covered Total %
branch 10 28 35.7


line true false branch
27 0 0 if ($rotate eq 'day' or $rotate eq 'month' or $rotate eq 'year' or $rotate eq 'no')
40 0 0 if ($mode eq 'debug' or $mode eq 'log')
50 0 1 if (substr($path, 0, 1) ne '/')
61 0 1 unless $_[0]
67 2 0 if defined $str
68 2 0 if defined $str
72 0 1 if ($LOGMODE eq 'slient')
77 0 1 if ($LOGMODE eq 'debug')
83 1 0 $LOGPATH ? :
85 1 0 if ($LOGROTATE ne 'no')
88 1 0 if ($LOGROTATE eq 'day') { }
0 0 elsif ($LOGROTATE eq 'month') { }
0 0 elsif ($LOGROTATE eq 'year') { }
102 1 0 if (-d $logpath or make_path($logpath, {'verbose', 0, 'mode', 493})) { }