Branch Coverage

lib/Rex/User/SunOS.pm
Criterion Covered Total %
branch 0 38 0.0


line true false branch
43 0 0 if ($data->{'create_home'} or $data->{'create-home'}) { }
0 0 elsif ($data->{'no_create_home'} or $data->{'no-create-home'}) { }
0 0 elsif (exists $data->{'no_create_home'} and $data->{'no_create_home'} == 0 or exists $data->{'no-create-home'} and $data->{'no-create-home'} == 0) { }
55 0 0 if (not defined $uid) { }
59 0 0 if (exists $data->{'system'})
69 0 0 if (exists $data->{'uid'})
73 0 0 if (exists $data->{'home'})
77 0 0 if ($should_create_home and not defined $uid)
81 0 0 if (exists $data->{'shell'})
85 0 0 if (exists $data->{'comment'})
89 0 0 if (exists $data->{'expire'})
93 0 0 if (exists $data->{'groups'})
99 0 0 if (@groups)
111 0 0 if ($? == 0) { }
121 0 0 if (exists $data->{'password'})
124 0 0 if (can_run('/usr/local/bin/expect')) { }
0 0 elsif (can_run('/usr/bin/expect')) { }
131 0 0 if ($expect_path) { }
164 0 0 if ($? != 0)