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 11916 1153 5 defined $timeout and &Time::HiRes::time() > $expire
78 4 0 0 $_DEBUG && _pid()
87 3906 0 1 defined $timeout and &Time::HiRes::time() > $expire
242 0 0 0 $^O eq 'MSWin32' and $ENV{'COMPUTERNAME'}
324 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
252 16994 0 $type ||= 'excl'

or 3 conditions

line l !l&&r !l&&!r condition
187 0 0 0 $ok or &__inGD()
242 34030 0 0 $ENV{'HOSTNAME'} or $^O eq 'MSWin32' and $ENV{'COMPUTERNAME'}
287 1 0 0 $host eq _host() or $host eq 'localhost'