line |
true |
false |
branch |
31
|
1 |
7 |
unless (defined $user) |
35
|
1 |
6 |
if ($user =~ /$is_int/) { } |
41
|
1 |
5 |
unless (defined $uid) |
44
|
0 |
5 |
unless ($uid =~ /$is_int/) |
51
|
1 |
5 |
if (defined $group and $group =~ /$is_int/) { } |
53
|
1 |
0 |
unless (getgrgid $gid) |
59
|
4 |
1 |
if (not defined $group) { } |
61
|
1 |
3 |
unless (defined $gid) |
68
|
1 |
0 |
unless (defined $gid) |
73
|
0 |
3 |
unless ($gid =~ /$is_int/) |
82
|
1 |
2 |
unless (defined $sup_group) |
86
|
1 |
1 |
if ($sup_group =~ /$is_int/) { } |
88
|
0 |
1 |
if ($sup_gid == $gid or defined $sup_gids{$sup_gid}) |
92
|
1 |
0 |
unless (getgrgid $sup_gid) |
100
|
1 |
0 |
unless (defined $sup_gid) |
104
|
0 |
0 |
unless ($sup_gid =~ /$is_int/) |
108
|
0 |
0 |
if ($sup_gid == $gid or defined $sup_gids{$sup_gid}) |
115
|
2 |
0 |
if (@dont_exist) |
126
|
0 |
0 |
if (keys %sup_gids == 0) { } |
142
|
0 |
0 |
if ($< != $uid) |
146
|
0 |
0 |
if ($> != $uid) |
151
|
0 |
0 |
if ($suid != $uid) |
158
|
0 |
0 |
unless ($( =~ /^(\d+)/o) |
162
|
0 |
0 |
if ($now_gid != $gid) |
166
|
0 |
0 |
if ($) ne $egid_string) |
170
|
0 |
0 |
if ($now ne $want) |
176
|
0 |
0 |
if ($sgid != $gid) |
180
|
0 |
0 |
if (@errs) |