Branch Coverage

blib/lib/PDL/Graphics/Simple/PLplot.pm
Criterion Covered Total %
branch 3 68 4.4


line true false branch
49 1 0 unless defined $force
51 0 1 unless $force or not defined $PDL::Graphics::Simple::PLplot::mod->{'ok'}
54 1 0 if ($@)
64 0 0 if (my($good_dev) = $ENV{'PDL_SIMPLE_DEVICE'} || grep($PDL::Graphics::Simple::PLplot::mod->{'devices'}{$_}, @DEVICES)) { }
76 0 0 if ($PDL::Graphics::Simple::PLplot::mod->{'devices'}{$v})
83 0 0 unless ($PDL::Graphics::Simple::PLplot::filetypes->{'ps'})
109 0 0 unless (check())
110 0 0 unless check(1)
117 0 0 if ($opt->{'type'} =~ /^i/i) { }
120 0 0 if ($opt->{'output'})
126 0 0 if ($opt->{'output'} =~ /\.(\w{2,4})$/) { }
132 0 0 if ($PDL::Graphics::Simple::PLplot::filetypes->{$ext} and $PDL::Graphics::Simple::PLplot::mod->{'devices'}{$PDL::Graphics::Simple::PLplot::filetypes->{$ext}}) { }
153 0 0 if (defined $opt->{'multi'})
168 0 0 if ($me->{'opt'}{'type'} =~ /^i/i and defined $me->{'obj'})
319 0 0 if defined $ipo->{'title'}
320 0 0 if defined $ipo->{'xlabel'}
321 0 0 if defined $ipo->{'ylabel'}
322 0 0 if defined $ipo->{'crange'}
324 0 0 unless ($ipo->{'oplot'})
329 0 0 if $me->{'opt'}{'multi'}
331 0 0 if (not $me->{'multi_n'} or $me->{'multi_cur'} == 1)
332 0 0 if ($me->{'opt'}{'type'} =~ /^i/)
338 0 0 if ($ipo->{'logaxis'} =~ /x/i)
342 0 0 if ($ipo->{'logaxis'} =~ /y/i)
351 0 0 if $ipo->{'legend'}
356 0 0 if (defined $co->{'style'}) { }
363 0 0 if $co->{'width'}
365 0 0 if ($with eq "fits")
374 0 0 unless my $plpm = $PDL::Graphics::Simple::PLplot::plplot_methods->{$with}
375 0 0 if $me->{'logaxis'} =~ /x/i
376 0 0 if $me->{'logaxis'} =~ /y/i
377 0 0 if (ref $plpm eq 'CODE') { }
385 0 0 if $me->{'opt'}{'type'} =~ /^f/i and not defined $me->{'opt'}{'multi'}
387 0 0 if ($me->{'conv_fn'})