| bin/unburden-home-dir | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| condition | 31 | 32 | 100.0 |
| line | !l | l&&!r | l&&r | condition |
|---|---|---|---|---|
| 461 | 13 | 5 | 3 | $is_file and not -f $itemexpanded |
| 467 | 5 | 11 | 2 | $is_dir and not -d $itemexpanded |
| 480 | 4 | 14 | 1 | $USE_LSOF and files_in_use($itemexpanded) |
| 645 | 1 | 1 | 49 | defined $item and defined $replacement |
| 2 | 1 | 48 | defined $item and defined $replacement and $replacement ne '' | |
| 655 | 2 | 16 | 29 | $action ne 'd' and $action ne 'r' |
| 18 | 28 | 1 | $action ne 'd' and $action ne 'r' and $action ne 'm' |
| line | l | !l | condition |
|---|---|---|---|
| 403 | 1 | 0 | unlink $itemexpanded or die "Couldn't delete ${itemexpanded}: $!" |
| line | l | !l&&r | !l&&!r | condition |
|---|---|---|---|---|
| 487 | 2 | 2 | 11 | $action eq 'r' or $action eq 'd' |
| 566 | 20 | 4 | 6 | -e $itemexpanded || -l $itemexpanded |
| 651 | 31 | 16 | 1 | type_is_directory($type) or type_is_file($type) |