Condition Coverage

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


and 3 conditions

line !l l&&!r l&&r condition
154 36 126 0 defined $bin and defined $function
341 0 0 0 $sigterm_sent and ($code & 127) == &POSIX::SIGTERM
410 11 0 122 $out =~ /^execing into daemon$/m and $out =~ /^pidfile written$/m
443 0 5 0 $piddata->{'format'} and $piddata->{'format'} eq 'old'

or 2 conditions

line l !l condition
35 41 0 $ENV{'UBIC_DAEMON_OS'} || $module{$^O} || 'POSIX'
162 50 0 $bin || 'anonymous'
379 4 0 close $daemon_pipes{$_}{'read'} or die "Can't close $_ read: $!"

or 3 conditions

line l !l&&r !l&&!r condition
151 126 0 36 defined $bin or defined $function