blib/lib/Dir/Flock.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 8 | 39 | 20.5 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
27 | 0 | 0 | 11 | -f $rootdir and not -d $rootdir |
47 | 256 | 0 | 0 | $_DEBUG && _pid() |
56 | 91 | 0 | 0 | defined $timeout and &Time::HiRes::time() > $expire |
79 | 0 | 0 | 0 | $_DEBUG && _pid() |
88 | 0 | 0 | 0 | defined $timeout and &Time::HiRes::time() > $expire |
244 | 0 | 0 | 0 | $^O eq 'MSWin32' and $ENV{'COMPUTERNAME'} |
329 | 256 | 0 | 0 | not -r $dir and -w $dir |
256 | 0 | 0 | not -r $dir and -w $dir and -x $dir |
line | l | !l | condition |
---|---|---|---|
50 | 0 | 256 | $timeout || 0 |
82 | 0 | 0 | $timeout || 0 |
254 | 347 | 0 | $type ||= 'excl' |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
189 | 0 | 0 | 0 | $ok or &__inGD() |
244 | 1212 | 0 | 0 | $ENV{'HOSTNAME'} or $^O eq 'MSWin32' and $ENV{'COMPUTERNAME'} |
289 | 0 | 0 | 0 | $host eq _host() or $host eq 'localhost' |