| blib/lib/Doit/User.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| condition | 3 | 29 | 10.3 |
| line | !l | l&&!r | l&&r | condition |
|---|---|---|---|---|
| 37 | 3 | 0 | 3 | defined $uid and defined $gid |
| 0 | 0 | 3 | defined $uid and defined $gid and defined $homedir | |
| 109 | 0 | 0 | 0 | defined $uid and defined $got_uid && $got_uid != $uid || !defined($got_uid) |
| 133 | 0 | 0 | 0 | defined $home and defined $got_home && $got_home ne $home || !defined($got_home) |
| 147 | 0 | 0 | 0 | defined $shell and defined $got_shell && $got_shell ne $shell || !defined($got_shell) |
| line | l | !l | condition |
|---|---|---|---|
| 73 | 0 | 0 | delete $opts{'ensure'} || 'present' |
| line | l | !l&&r | !l&&!r | condition |
|---|---|---|---|---|
| 109 | 0 | 0 | 0 | defined $got_uid && $got_uid != $uid || !defined($got_uid) |
| 133 | 0 | 0 | 0 | defined $got_home && $got_home ne $home || !defined($got_home) |
| 147 | 0 | 0 | 0 | defined $got_shell && $got_shell ne $shell || !defined($got_shell) |
| 166 | 0 | 0 | 0 | $cmd eq "useradd" or @args |