Branch Coverage

blib/lib/Gnuplot/Builder/Process.pm
Criterion Covered Total %
branch 4 42 9.5


line true false branch
15 5 223 if (defined $ENV{$name} and $ENV{$name} ne '') { }
18 37 186 wantarray ? :
40 0 0 if defined $null_handle
42 0 0 unless open $null_handle, ">", $devnull
81 0 0 unless defined $code
82 0 0 defined $args{'async'} ? :
83 0 0 defined $args{'no_stderr'} ? :
89 0 0 if (not $async)
118 0 0 if (defined $on_exit and ref $on_exit ne "CODE")
133 0 0 $capture ? :
0 0 $no_stderr ? :
155 0 0 unless defined $self->{'write_handle'}
160 0 0 if defined $ENCODING
161 0 0 if defined $TAP
183 0 0 unless defined $self->{'write_handle'}
196 0 0 $blocking ? :
198 0 0 if ($result == $self->{'pid'} or $result == -1)
201 0 0 if ($result == $self->{'pid'} and defined $self->{'on_exit'})
217 0 0 if (defined $read_handle)
232 0 0 if ($end_position != -1)
268 0 0 if (index($line, $END_SCRIPT_MARK) != -1)