Branch Coverage

blib/lib/Gnuplot/Builder/Process.pm
Criterion Covered Total %
branch 4 38 10.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
79 0 0 unless defined $code
80 0 0 defined $args{'async'} ? :
81 0 0 defined $args{'no_stderr'} ? :
87 0 0 if (not $async)
124 0 0 $capture ? :
0 0 $no_stderr ? :
145 0 0 unless defined $self->{'write_handle'}
150 0 0 if defined $ENCODING
151 0 0 if defined $TAP
173 0 0 unless defined $self->{'write_handle'}
186 0 0 $blocking ? :
187 0 0 if ($result == $self->{'pid'} or $result == -1)
203 0 0 if (defined $read_handle)
218 0 0 if ($end_position != -1)
254 0 0 if (index($line, $END_SCRIPT_MARK) != -1)