Condition Coverage

blib/lib/File/CleanupTask.pm
Criterion Covered Total %
condition 54 75 72.0


and 3 conditions

line !l l&&!r l&&r condition
318 2120 0 0 not $can_symlink and $key eq 'enable_symlinks_integrity_in_path' || $key eq 'keep_if_linked_in'
424 23 1 0 $all_or_nothing_path and not -d $all_or_nothing_path
435 23 1 0 $all_or_nothing_path and index($all_or_nothing_path, $path) < 0
806 135 746 0 $action eq 'delete' and -f $f || -l $f
867 210 73 11 $$self{'keep_above_epoch'} and $d_time >= $$self{'keep_above_epoch'}
940 12 4 5 -d $f and $prune_empty
16 4 1 -d $f and $prune_empty and $self->_is_folder_empty($f)
8 0 1 -d $f and $prune_empty and $self->_is_folder_empty($f) and not $self->_never_delete_contains($rh_never_delete, $f)
4 1 0 -d $f and $prune_empty and $self->_is_folder_empty($f) and not $self->_never_delete_contains($rh_never_delete, $f) and !$$self{'keep_above_epoch'} || (stat $f)[9] <= $$self{'keep_above_epoch'}
1013 883 10 99 -d $f and not -l $f
1064 0 757 4 $File::CleanupTask::Config{'d_lstat'} and -l $f
1069 699 58 4 $$self{'keep_above_epoch'} and $f_time >= $$self{'keep_above_epoch'}
1210 2 0 7 $backup_gzip and $$self{'cmd_gzip'}
1214 0 3 4 $from and not $from =~ /[.](gz|tgz)$/i
3 1 3 $from and not $from =~ /[.](gz|tgz)$/i and not readlink $from
1261 3 10 0 -e $path and -d $path
1267 0 13 0 -e $path and -d $path
1418 886 10 374 -d $f and not -l $f
1463 5 17 18 not $propagate_action and $self->_delete_once_empty_contains($rh_delete_once_empty, $f)
22 14 4 not $propagate_action and $self->_delete_once_empty_contains($rh_delete_once_empty, $f) and $action eq 'nothing'
1474 31 4 5 $propagate_action and $f ne $propagate_action
1628 0 0 24 $ra_plan && scalar @$ra_plan

or 3 conditions

line l !l&&r !l&&!r condition
318 0 0 0 $key eq 'enable_symlinks_integrity_in_path' || $key eq 'keep_if_linked_in'
806 744 2 0 -f $f || -l $f
940 1 0 0 !$$self{'keep_above_epoch'} || (stat $f)[9] <= $$self{'keep_above_epoch'}