bin/unburden-home-dir | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 33 | 35 | 97.1 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
226 | 78 | 2 | 0 | not $which_lsof and -x '/usr/sbin/lsof' |
495 | 30 | 12 | 6 | $is_file and not -f $itemexpanded |
501 | 12 | 26 | 4 | $is_dir and not -d $itemexpanded |
514 | 8 | 34 | 2 | $USE_LSOF and files_in_use($itemexpanded) |
683 | 2 | 2 | 104 | defined $item and defined $replacement |
4 | 2 | 102 | defined $item and defined $replacement and $replacement ne '' | |
693 | 4 | 32 | 64 | $action ne 'd' and $action ne 'r' |
36 | 62 | 2 | $action ne 'd' and $action ne 'r' and $action ne 'm' |
line | l | !l | condition |
---|---|---|---|
437 | 2 | 0 | unlink $itemexpanded or die "Couldn't delete ${itemexpanded}: $!" |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
521 | 4 | 4 | 28 | $action eq 'r' or $action eq 'd' |
600 | 46 | 8 | 12 | -e $itemexpanded || -l $itemexpanded |
689 | 66 | 34 | 2 | type_is_directory($type) or type_is_file($type) |