Branch Coverage

lib/Rex/User/NetBSD.pm
Criterion Covered Total %
branch 0 48 0.0


line true false branch
44 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) { }
56 0 0 if (not defined $uid) { }
60 0 0 if (exists $data->{'system'})
70 0 0 if (exists $data->{'uid'})
74 0 0 if (exists $data->{'home'})
78 0 0 if ($should_create_home and not defined $uid)
82 0 0 if (exists $data->{'shell'})
86 0 0 if (exists $data->{'comment'})
90 0 0 if (exists $data->{'expire'})
94 0 0 if (exists $data->{'groups'})
100 0 0 if (@groups)
112 0 0 if ($? == 0) { }
122 0 0 if (exists $data->{'password'})
133 0 0 if ($? != 0)
140 0 0 if (exists $data->{'crypt_password'})
151 0 0 if ($? != 0)
160 0 0 if ($new_pw_md5 eq $old_pw_md5) { }
185 0 0 if (exists $data->{'delete_home'})
190 0 0 if ($? == 67) { }
0 0 elsif ($? != 0) { }
197 0 0 if (exists $data->{'delete_home'} and is_dir($user_info{'home'}))
203 0 0 if ($? != 0)