blib/lib/JIP/Daemon.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 25 | 27 | 92.5 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
59 | 35 | 0 | 1 | exists $param{'dry_run'} && $param{'dry_run'} |
65 | 1 | 1 | 2 | defined $uid and $uid =~ /^\d+$/x |
73 | 1 | 1 | 2 | defined $gid and $gid =~ /^\d+$/x |
81 | 1 | 1 | 2 | defined $cwd and length $cwd |
89 | 1 | 1 | 2 | defined $umask and length $umask |
97 | 1 | 1 | 1 | defined $logger and ref $logger |
2 | 0 | 1 | defined $logger and ref $logger and $logger->can('info') | |
105 | 1 | 1 | 4 | defined $log_callback and ref $log_callback eq 'CODE' |
118 | 1 | 1 | 1 | defined $on_fork_callback and ref $on_fork_callback eq 'CODE' |