Branch Coverage

blib/lib/Log/Dispatch/FileRotate/Flock.pm
Criterion Covered Total %
branch 8 18 44.4


line true false branch
28 452 0 if (flock $fh, $flags) { }
30 0 0 if $!{'EAGAIN'} or $!{'EWOULDBLOCK'}
47 0 6 unless (open $fh, '>>', $path)
51 0 6 unless (safe_flock($fh, $flags))
56 0 6 unless (@path_stat)
63 0 6 unless (@fh_stat)
68 6 0 unless ($^O =~ /^MSWin/)
71 0 6 if ($path_stat[0] != $fh_stat[0])
79 0 6 if ($path_stat[1] != $fh_stat[1])