| bin/rm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| condition | 14 | 15 | 93.3 |
| line | !l | l&&!r | l&&r | condition |
|---|---|---|---|---|
| 157 | 23 | 3 | 6 | exists $args{'-f'} and exists $args{'-i'} |
| 258 | 2 | 2 | 7 | not $self->is_force and -e $filename |
| 4 | 7 | 0 | not $self->is_force and -e $filename and not -w $filename |
| line | l | !l&&r | !l&&!r | condition |
|---|---|---|---|---|
| 167 | 3 | 3 | 6 | $last eq '-f' && $_ eq '-i' || $last ne '-f' && $_ eq '-f' |
| 235 | 2 | 2 | 2 | $file eq "." or $file eq ".." |