Branch Coverage

blib/lib/Chart/Graph/Xrt3d.pm
Criterion Covered Total %
branch 2 90 2.2


line true false branch
106 0 4 if (@_)
114 4 0 unless (_set_xrtpaths('xrt3d'))
120 0 0 if (ref $user_global_opts_ref ne 'HASH')
132 0 0 if ($key eq 'output file')
134 0 0 unless (defined $global_opts{'output type'})
142 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') { }
160 0 0 if ($key eq 'x-axis title')
161 0 0 if (defined $value)
166 0 0 if ($key eq 'y-axis title')
167 0 0 if (defined $value)
172 0 0 if ($key eq 'z-axis title')
173 0 0 if (defined $value)
178 0 0 if ($key eq 'x-min')
179 0 0 if (defined $value)
184 0 0 if ($key eq 'y-min')
185 0 0 if (defined $value)
190 0 0 if ($key eq 'x-step')
191 0 0 if (defined $value)
196 0 0 if ($key eq 'y-step')
197 0 0 if (defined $value)
202 0 0 if ($key eq 'x-ticks')
203 0 0 if (defined $value)
208 0 0 if ($key eq 'y-ticks')
209 0 0 if (defined $value)
214 0 0 if ($key eq 'header')
215 0 0 if (defined $value)
220 0 0 if ($key eq 'footer')
221 0 0 if (defined $value)
231 0 0 if ($key eq 'type')
232 0 0 if ($value eq 'matrix') { }
0 0 elsif ($value eq 'file') { }
252 0 0 if (defined $matrix_data_ref) { }
261 0 0 if ($tmp != $#{$i;} + 1)
275 0 0 unless (_verify_ticks($x_cnt, $global_opts{'x-ticks'}))
280 0 0 unless (_verify_ticks($y_cnt, $global_opts{'y-ticks'}))
291 0 0 if ($x_cnt > 0 and $words > 0) { }
339 0 0 unless ($handle->open(">$command_file"))
352 0 0 if (defined $matrix_data_ref) { }
369 0 0 unless (_exec_xrt3d($command_file))
374 0 0 if ($graph_format eq 'ps') { }
0 0 elsif ($graph_format eq 'xwd') { }
375 0 0 unless (_chk_status(system("cp $plot_file $output_file")))
380 0 0 unless (_chk_status(system("cp $plot_file $output_file")))
385 0 0 unless (_convert_raster($graph_format, $plot_file, $output_file))