Condition Coverage

blib/lib/Doit/User.pm
Criterion Covered Total %
condition 3 29 10.3


and 3 conditions

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)

or 2 conditions

line l !l condition
73 0 0 delete $opts{'ensure'} || 'present'

or 3 conditions

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