Branch Coverage

blib/lib/Chart/Graph/Xrt2d.pm
Criterion Covered Total %
branch 1 94 1.0


line true false branch
111 2 0 unless (_set_xrtpaths('xrt2d'))
118 0 0 if (ref $user_global_opts_ref ne 'HASH')
130 0 0 if ($key eq 'output file')
131 0 0 if (defined $value)
133 0 0 unless (defined $global_opts{'output type'})
140 0 0 if ($global_opts{'output type'} eq 'ps') { }
0 0 elsif ($global_opts{'output type'} eq 'gif' or $global_opts{'output type'} eq 'xwd' or $global_opts{'output type'} eq 'png' or $global_opts{'output type'} eq 'jpg') { }
158 0 0 if ($key eq 'x-axis title')
159 0 0 if (defined $value)
164 0 0 if ($key eq 'y-axis title')
165 0 0 if (defined $value)
170 0 0 if ($key eq 'header')
171 0 0 if (defined $value)
176 0 0 if ($key eq 'footer')
177 0 0 if (defined $value)
182 0 0 if ($key eq 'misc labels')
183 0 0 if (defined $value)
188 0 0 if ($key eq 'set labels')
189 0 0 if (defined $value)
194 0 0 if ($key eq 'point labels')
195 0 0 if (defined $value)
200 0 0 if ($key eq 'invert')
201 0 0 if (defined $value and $value)
206 0 0 if ($key eq 'x time')
207 0 0 if (defined $value and $value)
213 0 0 if ($key eq 'style')
214 0 0 if (defined $value)
215 0 0 if ($value eq 'stackedbar') { }
0 0 elsif ($value eq 'bar') { }
0 0 elsif ($value eq 'pie') { }
0 0 elsif ($value eq 'area') { }
0 0 elsif ($value eq 'stackedarea') { }
235 0 0 if (not $global_opts{'invert'} and $global_opts{'style'} eq 'stackedbar')
255 0 0 if (ref $data_set_ref ne 'ARRAY')
264 0 0 if (ref $user_data_opts_ref ne 'HASH')
277 0 0 if ($key eq 'color')
278 0 0 if (defined $value)
285 0 0 if (@colors)
322 0 0 unless ($handle->open(">$command_file"))
346 0 0 unless (_exec_xrt2d($command_file, $xrt_options))
352 0 0 if ($graph_format eq 'ps') { }
0 0 elsif ($graph_format eq 'xwd') { }
353 0 0 unless (_chk_status(system("cp $plot_file $output_file")))
358 0 0 unless (_chk_status(system("cp $plot_file $output_file")))
363 0 0 unless (_convert_raster($graph_format, $plot_file, $output_file))
380 0 0 if (ref $user_data_opts_ref ne 'HASH')
390 0 0 if ($key eq 'color')