Condition Coverage

blib/lib/Dir/Flock.pm
Criterion Covered Total %
condition 16 39 41.0


and 3 conditions

line !l l&&!r l&&r condition
27 10 0 0 -f $rootdir and not -d $rootdir
46 15 0 0 $_DEBUG && _pid()
55 102 10 5 defined $timeout and &Time::HiRes::time() > $expire
78 4 0 0 $_DEBUG && _pid()
87 34 0 1 defined $timeout and &Time::HiRes::time() > $expire
243 0 0 0 $^O eq 'MSWin32' and $ENV{'COMPUTERNAME'}
325 19 0 0 not -r $dir and -w $dir
19 0 0 not -r $dir and -w $dir and -x $dir

or 2 conditions

line l !l condition
49 1 14 $timeout || 0
81 0 4 $timeout || 0
253 165 0 $type ||= 'excl'

or 3 conditions

line l !l&&r !l&&!r condition
188 0 0 0 $ok or &__inGD()
243 372 0 0 $ENV{'HOSTNAME'} or $^O eq 'MSWin32' and $ENV{'COMPUTERNAME'}
288 1 0 0 $host eq _host() or $host eq 'localhost'