Condition Coverage

blib/lib/Script/Daemonizer.pm
Criterion Covered Total %
condition 7 21 33.3


and 3 conditions

line !l l&&!r l&&r condition
157 1 0 0 exists $$self{'setsid'} and $$self{'setsid'} eq 'SKIP'
178 2 0 0 defined $pidfd and $pidfd =~ /^\d+$/
267 0 0 0 $$self{'stdout_file'} and $$self{'stderr_file'}
397 14 0 0 exists $params{'fork'} && $params{'fork'} =~ /^[012]$/
425 13 0 0 $$self{'restart_on'} and ref $$self{'restart_on'} eq 'ARRAY'
436 13 0 0 $$self{'sigunmask'} and ref $$self{'sigunmask'} eq 'ARRAY'

or 3 conditions

line l !l&&r !l&&!r condition
396 1 13 0 delete $params{'name'} || ('File::Spec'->splitpath($0))[-1]