Branch Coverage

blib/lib/Ubic/Service/Hypnotoad.pm
Criterion Covered Total %
branch 0 38 0.0


line true false branch
20 0 0 unless ref $$opt{'bin'} eq 'ARRAY'
21 0 0 unless @$bin
23 0 0 unless length $app
25 0 0 unless length $pid_file
61 0 0 unless open my $fh, $$self{'pid_file'}
73 0 0 if ($$self{'start_time'} and $$self{'start_time'} + $$self{'wait_status'}{'time_to_wait'} > time)
74 0 0 unless $pid
78 0 0 unless ($pid)
83 0 0 if ($$self{'stop_time'} and $$self{'stop_time'} + $$self{'wait_status'}{'time_to_wait'} > time)
92 0 0 unless $pid = $self->_read_pid
95 0 0 unless $pid == $old_pid
97 0 0 $running ? :
105 0 0 if (defined $$self{'cwd'})
106 0 0 unless chdir $$self{'cwd'}
119 0 0 if (defined $$self{'cwd'})
120 0 0 unless chdir $$self{'cwd'}
127 0 0 if length $stderr
137 0 0 unless my $pid = $self->_read_pid
139 0 0 $ret ? :