blib/lib/App/Milter/Limit/Util.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 2 | 20 | 10.0 |
line | true | false | branch |
---|---|---|---|
24 | 0 | 0 | if my $pid = fork |
30 | 0 | 0 | if $pid = fork |
35 | 0 | 0 | unless chdir '/' |
48 | 0 | 0 | if ($user =~ /^\d+$/) { } |
50 | 0 | 0 | unless (defined $uid) |
65 | 0 | 0 | if ($group =~ /^\d+$/) { } |
67 | 0 | 0 | unless (defined $gid) |
82 | 0 | 4 | unless (-d $path) |
88 | 0 | 4 | if (defined @$conf{'user', 'group'}) |
89 | 0 | 0 | unless chown $conf->{'user'}, $conf->{'group'}, $path |