Condition Coverage

bin/unburden-home-dir
Criterion Covered Total %
condition 31 32 100.0


and 3 conditions

line !l l&&!r l&&r condition
461 13 4 3 $is_file and not -f $itemexpanded
467 4 11 2 $is_dir and not -d $itemexpanded
480 4 14 1 $USE_LSOF and files_in_use($itemexpanded)
655 1 1 44 defined $item and defined $replacement
2 1 43 defined $item and defined $replacement and $replacement ne ''
665 2 12 28 $action ne 'd' and $action ne 'r'
14 27 1 $action ne 'd' and $action ne 'r' and $action ne 'm'

or 2 conditions

line l !l condition
403 1 0 unlink $itemexpanded or die "Couldn't delete ${itemexpanded}: $!"

or 3 conditions

line l !l&&r !l&&!r condition
487 2 2 11 $action eq 'r' or $action eq 'd'
575 20 3 5 -e $itemexpanded || -l $itemexpanded
661 30 12 1 type_is_directory($type) or type_is_file($type)