Condition Coverage

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


and 3 conditions

line !l l&&!r l&&r condition
206 0 0 0 defined $d and -d $d
0 0 0 defined $d and -d $d and -w _
213 0 0 42 defined $env_home and -d $env_home
225 0 0 0 defined $env_home and -d $env_home
230 0 0 0 defined $home_dir and -d $home_dir
232 0 0 0 -d "/root" and -w "/root"
311 1600 0 0 defined $opt{'nsec'} and int $opt{'nsec'} > 0
312 1600 0 0 defined $opt{'msg'} and $opt{'msg'} ne ""
313 1600 0 0 defined $opt{'limit'} and int $opt{'limit'} > 0
314 1600 0 0 defined $opt{'sleep_duration'} and $opt{'sleep_duration'} > 0
395 0 1600 0 defined $lpid and $lpid ne $$

or 2 conditions

line l !l condition
217 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 106 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
215 0 0 0 $ENV{'USER'} // $ENV{'USERNAME'}
315 0 1600 0 $opt{'lockfile_name'} || "$f.lock"
347 0 0 77 time > $mtime + $lock_duration or $locking_process_still_lives < 1
370 0 1600 0 $opt{'lockfile_name'} || "$f.lock"