Condition Coverage

blib/lib/JIP/Daemon.pm
Criterion Covered Total %
condition 32 36 88.8


and 3 conditions

line !l l&&!r l&&r condition
65 44 0 1 exists $param{'dry_run'} && $param{'dry_run'}
71 1 1 2 defined $uid and $uid =~ /^\d+$/x
79 1 1 2 defined $gid and $gid =~ /^\d+$/x
87 1 1 2 defined $cwd and length $cwd
95 1 1 2 defined $umask and length $umask
103 1 1 1 defined $logger and ref $logger
2 0 1 defined $logger and ref $logger and $logger->can('info')
111 1 1 4 defined $log_callback and ref $log_callback eq 'CODE'
124 1 1 1 defined $on_fork_callback and ref $on_fork_callback eq 'CODE'
134 1 1 0 defined $stdout and length $stdout
142 1 1 0 defined $stderr and length $stderr
150 1 1 2 defined $program_name and length $program_name