Branch Coverage

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


line true false branch
136 0 0 if ($$self{'persist'} == 1)
145 0 0 if ($$self{'scriptfile'} eq '' or $$self{'scriptfile'} ne '' and $$self{'plot_also'} != 0)
146 0 0 unless open $$self{'__iohandle_pipe'}, '|- ', $$self{'program'} . " $persist 2> $$self{'__error_log'}"
153 0 0 if ($$self{'scriptfile'} ne '')
154 0 0 unless open $$self{'__iohandle_file'}, '>', $$self{'scriptfile'}
190 0 0 if (defined $$self{'__iohandle_pipe'} and not close $$self{'__iohandle_pipe'})
194 0 0 if (defined $$self{'__iohandle_file'} and not close $$self{'__iohandle_file'})
203 0 0 if (defined $stat[7] and $stat[7] == 0)
204 0 0 unless unlink $$self{'__error_log'}
235 0 0 if (defined $style and exists $linestyles{$style})
254 0 0 if $cmd eq ''
260 0 0 if ref $item ne 'ARRAY'
285 0 0 if $cmd eq ''
289 0 0 if ref $xref ne 'ARRAY'
295 0 0 if ref $yref[$j] ne 'ARRAY'
301 0 0 $#{$xref;} < $#{$yref[$j];} ? :
332 0 0 if $cmd eq ''
339 0 0 if ref $xxr ne 'ARRAY'
344 0 0 if ref $yyr ne 'ARRAY'
350 0 0 $#{$xxr;} < $#{$yyr;} ? :
378 0 0 unless ref $yref[$j] eq 'HASH' and exists $yref[$j]{'style_spec'} and exists $yref[$j]{'y_values'}
387 0 0 if $cmd eq ''
391 0 0 if ref $xref ne 'ARRAY'
397 0 0 if ref $yref[$j]{'y_values'} ne 'ARRAY'
405 0 0 $#{$xref;} < $#{$yref[$j]{'y_values'};} ? :
432 0 0 unless ref $rh eq 'HASH' and exists $$rh{'style_spec'} and exists $$rh{'x_values'} and exists $$rh{'y_values'}
444 0 0 if $cmd eq ''
452 0 0 if ref $xref ne 'ARRAY'
455 0 0 if ref $yref ne 'ARRAY'
460 0 0 $#{$xref;} < $#{$yref;} ? :
488 0 0 if $leftside eq ''
506 0 0 if $cmd eq ''
510 0 0 if ref $arrayref ne 'ARRAY'
538 0 0 if (defined $pause and $pause =~ /^[+-]?(\d+|\d+\.\d*|\d*\.\d+)$/x)
541 0 0 if (defined $message and $message ne '')
547 0 0 if ($$self{'__pausetime'} == 0) { }
0 0 elsif ($$self{'__pausetime'} < 0) { }
555 0 0 if ($$self{'silent_pause'} == 1)
572 0 0 if (defined $$self{'__iohandle_pipe'})
573 0 0 unless print {$$self{'__iohandle_pipe'};} @commands
576 0 0 if (defined $$self{'__iohandle_file'})
577 0 0 unless print {$$self{'__iohandle_file'};} @commands
650 0 0 if (defined $title)
664 0 0 if (defined $xlabel)
678 0 0 if (defined $ylabel)
693 0 0 if (defined $xleft and defined $xright)
708 0 0 if (defined $yleft and defined $yright)
733 0 0 if (wantarray) { }