Condition Coverage

blib/lib/File/CleanupTask.pm
Criterion Covered Total %
condition 51 72 70.8


and 3 conditions

line !l l&&!r l&&r condition
314 2120 0 0 not $can_symlink and $key eq 'enable_symlinks_integrity_in_path' || $key eq 'keep_if_linked_in'
420 23 1 0 $all_or_nothing_path and not -d $all_or_nothing_path
431 23 1 0 $all_or_nothing_path and index($all_or_nothing_path, $path) < 0
802 134 747 0 $action eq 'delete' and -f $f || -l $f
863 210 73 11 $$self{'keep_above_epoch'} and $d_time >= $$self{'keep_above_epoch'}
936 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'}
1009 883 10 99 -d $f and not -l $f
1057 698 59 3 $$self{'keep_above_epoch'} and $f_time >= $$self{'keep_above_epoch'}
1198 2 0 6 $backup_gzip and $$self{'cmd_gzip'}
1202 0 3 3 $from and not $from =~ /[.](gz|tgz)$/i
3 0 3 $from and not $from =~ /[.](gz|tgz)$/i and not readlink $from
1249 3 9 0 -e $path and -d $path
1255 0 12 0 -e $path and -d $path
1406 886 10 374 -d $f and not -l $f
1451 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'
1462 31 4 5 $propagate_action and $f ne $propagate_action
1616 0 0 24 $ra_plan && scalar @$ra_plan

or 3 conditions

line l !l&&r !l&&!r condition
314 0 0 0 $key eq 'enable_symlinks_integrity_in_path' || $key eq 'keep_if_linked_in'
802 745 2 0 -f $f || -l $f
936 1 0 0 !$$self{'keep_above_epoch'} || (stat $f)[9] <= $$self{'keep_above_epoch'}