blib/lib/Dir/Flock.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 17 | 41 | 41.4 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
28 | 10 | 0 | 0 | -f $rootdir and not -d $rootdir |
49 | 15 | 0 | 0 | $_DEBUG && _pid() |
58 | 8106 | 818 | 5 | defined $timeout and &Time::HiRes::time() > $expire |
81 | 4 | 0 | 0 | $_DEBUG && _pid() |
90 | 2751 | 0 | 1 | defined $timeout and &Time::HiRes::time() > $expire |
248 | 0 | 0 | 0 | $^O eq 'MSWin32' and $ENV{'COMPUTERNAME'} |
337 | 19 | 0 | 0 | not -r $dir and -w $dir |
19 | 0 | 0 | not -r $dir and -w $dir and -x $dir |
line | l | !l | condition |
---|---|---|---|
33 | 0 | 10 | $template //= 'dflock-XXXX' |
52 | 1 | 14 | $timeout || 0 |
84 | 0 | 4 | $timeout || 0 |
258 | 11694 | 0 | $type ||= 'excl' |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
193 | 0 | 0 | 0 | $ok or &__inGD() |
248 | 23430 | 0 | 0 | $ENV{'HOSTNAME'} or $^O eq 'MSWin32' and $ENV{'COMPUTERNAME'} |
300 | 1 | 0 | 0 | $host eq _host() or $host eq 'localhost' |