| lib/Rex/Interface/Connection/Local.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| condition | 3 | 9 | 33.3 |
| line | !l | l&&!r | l&&r | condition |
|---|---|---|---|---|
| 44 | 3643 | 0 | 0 | $self->{'is_sudo'} and $self->{'is_sudo'} == 1 |
| line | l | !l&&r | !l&&!r | condition |
|---|---|---|---|---|
| 19 | 0 | 101 | 0 | ref $that || $that |
| 44 | 0 | 0 | 3643 | $self->{'is_sudo'} and $self->{'is_sudo'} == 1 or Rex::is_sudo() |