Condition Coverage

lib/Rex/User/Linux.pm
Criterion Covered Total %
condition 1 39 2.5


and 3 conditions

line !l l&&!r l&&r condition
56 0 0 0 exists $data->{'no_create_home'} and $data->{'no_create_home'} == 0
0 0 0 exists $data->{'no-create-home'} and $data->{'no-create-home'} == 0
93 0 0 0 exists $data->{'uid'} and $data->{'uid'} == $uid
115 0 0 0 not defined $uid and is_dir($data->{'home'})
200 0 0 0 exists $data->{'crypt_password'} and $data->{'crypt_password'}
220 0 0 0 $new_pw_md5 eq $old_pw_md5 and $new_sh_md5 eq $old_sh_md5
297 0 0 0 defined $wantarray and not $wantarray
425 0 0 0 exists $data->{'gid'} and $data->{'gid'} == $gid

or 3 conditions

line l !l&&r !l&&!r condition
29 0 2 0 ref $that || $that
53 0 0 0 defined $data->{'create_home'} || defined $data->{'create-home'} || defined $data->{'no_create_home'} || defined $data->{'no-create-home'}
56 0 0 0 $data->{'create_home'} or $data->{'create-home'}
0 0 0 $data->{'no_create_home'} or $data->{'no-create-home'}
0 0 0 exists $data->{'no_create_home'} and $data->{'no_create_home'} == 0 or exists $data->{'no-create-home'} and $data->{'no-create-home'} == 0