Condition Coverage

lib/Ubic/Daemon.pm
Criterion Covered Total %
condition 10 21 47.6


and 3 conditions

line !l l&&!r l&&r condition
152 38 144 0 defined $bin and defined $function
339 0 0 0 $sigterm_sent and ($code & 127) == &POSIX::SIGTERM
408 12 0 136 $out =~ /^execing into daemon$/m and $out =~ /^pidfile written$/m
441 0 5 0 $piddata->{'format'} and $piddata->{'format'} eq 'old'

or 2 conditions

line l !l condition
35 42 0 $ENV{'UBIC_DAEMON_OS'} || $module{$^O} || 'POSIX'
160 55 0 $bin || 'anonymous'
377 4 0 close $daemon_pipes{$_}{'read'} or die "Can't close $_ read: $!"

or 3 conditions

line l !l&&r !l&&!r condition
149 144 0 38 defined $bin or defined $function