Branch Coverage

blib/lib/PDL/Graphics/Simple/PGPLOT.pm
Criterion Covered Total %
branch 3 86 3.4


line true false branch
35 1 0 unless defined $force
36 0 1 unless $force or not defined $PDL::Graphics::Simple::PGPLOT::mod->{'ok'}
38 1 0 if ($@)
53 0 0 if ($@)
59 0 0 if ($ENV{'PDL_SIMPLE_DEVICE'} or $ENV{'PGPLOT_DEV'}) { }
64 0 0 if ($PDL::Graphics::Simple::PGPLOT::mod->{'devices'}{$try})
70 0 0 unless (exists $PDL::Graphics::Simple::PGPLOT::mod->{'disp_dev'})
75 0 0 unless ($PDL::Graphics::Simple::PGPLOT::mod->{'devices'}{'VCPS'})
107 0 0 unless (check())
108 0 0 unless check(1)
116 0 0 if ($opt->{'type'} =~ /^i/i) { }
121 0 0 if ($PDL::VERSION < 3 and $PDL::VERSION > 2.1 || $PDL::VERSION < 2.005)
125 0 0 if ($opt->{'output'} =~ /\.(\w{2,4})$/) { }
132 0 0 if ($PDL::Graphics::Simple::PGPLOT::filetypes->{$ext} and $PDL::Graphics::Simple::PGPLOT::mod->{'devices'}{$PDL::Graphics::Simple::PGPLOT::filetypes->{$ext}}) { }
149 0 0 if defined $opt->{'multi'}
198 0 0 if defined $ipo->{'title'}
199 0 0 if defined $ipo->{'xlabel'}
200 0 0 if defined $ipo->{'ylabel'}
201 0 0 if defined $ipo->{'justify'}
204 0 0 if (defined $ipo->{'crange'})
205 0 0 if defined $ipo->{'crange'}[0]
206 0 0 if defined $ipo->{'crange'}[1]
209 0 0 if ($ipo->{'oplot'} and $me->{'opt'}{'type'} =~ /^f/i)
213 0 0 unless ($ipo->{'oplot'})
217 0 0 if ($ipo->{'logaxis'} =~ /x/i)
221 0 0 if ($ipo->{'logaxis'} =~ /y/i)
227 0 0 if grep defined($_), @range_vals
238 0 0 if (defined $co->{'style'}) { }
245 0 0 if $co->{'width'}
248 0 0 unless $pgpm
250 0 0 if ($pgpm eq "fits_imag")
253 0 0 if ($pgpm eq "imag")
278 0 0 if $me->{'logaxis'} =~ /x/i
279 0 0 if $me->{'logaxis'} =~ /y/i
280 0 0 if (ref $pgpm eq 'CODE') { }
285 0 0 if @ppo_added
292 0 0 if ($ipo->{'legend'})
295 0 0 if ($ipo->{'legend'} =~ /l/i) { }
0 0 elsif ($ipo->{'legend'} =~ /r/i) { }
304 0 0 if ($ipo->{'legend'} =~ /t/i) { }
0 0 elsif ($ipo->{'legend'} =~ /b/i) { }
330 0 0 if (defined $me->{'type'} and $me->{'type'} =~ /^f/i)
332 0 0 if ($me->{'conv_fn'})