Condition Coverage

lib/File/Valet.pm
Criterion Covered Total %
condition 19 65 29.2


and 3 conditions

line !l l&&!r l&&r condition
196 0 0 0 defined $d and -d $d
0 0 0 defined $d and -d $d and -w _
203 0 0 42 defined $env_home and -d $env_home
215 0 0 0 defined $env_home and -d $env_home
220 0 0 0 defined $home_dir and -d $home_dir
222 0 0 0 -d "/root" and -w "/root"
301 1600 0 0 defined $opt{'nsec'} and int $opt{'nsec'} > 0
302 1600 0 0 defined $opt{'msg'} and $opt{'msg'} ne ""
303 1600 0 0 defined $opt{'limit'} and int $opt{'limit'} > 0
304 1600 0 0 defined $opt{'sleep_duration'} and $opt{'sleep_duration'} > 0
385 0 1600 0 defined $lpid and $lpid ne $$

or 2 conditions

line l !l condition
207 0 0 $ENV{'HOMEDRIVE'} // "C:"

or 3 conditions

line l !l&&r !l&&!r condition
60 0 0 0 not defined $fn or $fn eq ""
64 0 0 0 not defined $dest or $dest eq ""
98 1 1 140 not defined $fn or $fn eq ""
139 1 2 2 not defined $fn or $fn eq ""
166 1 1 1602 not defined $fn or $fn eq ""
191 0 0 62 $^O eq 'MSWin32' || $File::Valet::Config{'osname'} =~ /windows/i || $File::Valet::Config{'osname'} =~ /winserver/i || $File::Valet::Config{'osname'} =~ /microsoft/i
205 0 0 0 $ENV{'USER'} // $ENV{'USERNAME'}
305 0 1600 0 $opt{'lockfile_name'} || "$f.lock"
337 0 0 112 time > $mtime + $lock_duration or $locking_process_still_lives < 1
360 0 1600 0 $opt{'lockfile_name'} || "$f.lock"