Branch Coverage

blib/lib/Graphics/GnuplotIF.pm
Criterion Covered Total %
branch 0 104 0.0


line true false branch
151 0 0 unless $self->{'program'} =~ /\A"/
152 0 0 unless $self->{'program'} =~ /"\z/
158 0 0 if ($self->{'persist'} == 1)
183 0 0 if ($self->{'scriptfile'} eq '' or $self->{'scriptfile'} ne '' and $self->{'plot_also'} != 0)
184 0 0 if ($self->{'no_error_log'}) { }
185 0 0 unless open $self->{'__iohandle_pipe'}, '|- ', $self->{'program'} . " $persist"
188 0 0 unless open $self->{'__iohandle_pipe'}, '|- ', $self->{'program'} . " $persist 2> $self->{'__error_log'}"
196 0 0 if ($self->{'scriptfile'} ne '')
198 0 0 unless open $self->{'__iohandle_file'}, '>', $self->{'scriptfile'}
233 0 0 if (defined $self->{'__iohandle_pipe'} and not close $self->{'__iohandle_pipe'})
237 0 0 if (defined $self->{'__iohandle_file'} and not close $self->{'__iohandle_file'})
246 0 0 if (defined $stat[7] and $stat[7] == 0)
248 0 0 unless unlink $self->{'__error_log'}
278 0 0 if (defined $style and exists $linestyles{$style})
297 0 0 if $cmd eq ''
303 0 0 if ref $item ne 'ARRAY'
328 0 0 if $cmd eq ''
332 0 0 if ref $xref ne 'ARRAY'
338 0 0 if ref $yref[$j] ne 'ARRAY'
344 0 0 $#{$xref;} < $#{$yref[$j];} ? :
375 0 0 if $cmd eq ''
382 0 0 if ref $xxr ne 'ARRAY'
387 0 0 if ref $yyr ne 'ARRAY'
393 0 0 $#{$xxr;} < $#{$yyr;} ? :
424 0 0 unless ref $yref[$j] eq 'HASH' and exists $yref[$j]{'style_spec'} and exists $yref[$j]{'y_values'}
430 0 0 if $cmd eq ''
434 0 0 if ref $xref ne 'ARRAY'
442 0 0 if ref $yref[$j]{'y_values'} ne 'ARRAY'
448 0 0 $#{$xref;} < $#{$yref[$j]{'y_values'};} ? :
480 0 0 unless ref $rh eq 'HASH' and exists $rh->{'style_spec'} and exists $rh->{'x_values'} and exists $rh->{'y_values'}
487 0 0 if $cmd eq ''
495 0 0 if ref $xref ne 'ARRAY'
498 0 0 if ref $yref ne 'ARRAY'
503 0 0 $#{$xref;} < $#{$yref;} ? :
531 0 0 if $leftside eq ''
549 0 0 if $cmd eq ''
553 0 0 if ref $arrayref ne 'ARRAY'
581 0 0 if (defined $pause and $pause =~ /^[+-]?(\d+|\d+\.\d*|\d*\.\d+)$/x)
584 0 0 if (defined $message and $message ne '')
590 0 0 if ($self->{'__pausetime'} == 0) { }
0 0 elsif ($self->{'__pausetime'} < 0) { }
598 0 0 if ($self->{'silent_pause'} == 1)
615 0 0 if (defined $self->{'__iohandle_pipe'})
616 0 0 unless print {$self->{'__iohandle_pipe'};} @commands
619 0 0 if (defined $self->{'__iohandle_file'})
620 0 0 unless print {$self->{'__iohandle_file'};} @commands
693 0 0 if (defined $title)
707 0 0 if (defined $xlabel)
721 0 0 if (defined $ylabel)
736 0 0 if (defined $xleft and defined $xright)
751 0 0 if (defined $yleft and defined $yright)
776 0 0 if (wantarray) { }