Branch Coverage

blib/lib/Chart/Graph/Utils.pm
Criterion Covered Total %
branch 15 30 50.0


line true false branch
127 0 57 if @_
130 57 0 if (not defined $ENV{'TMPDIR'}) { }
138 0 57 unless (mkdir $Chart::Graph::Utils::tmpdir, 504)
161 0 1249 if ($Chart::Graph::save_tmpfiles) { }
57 1192 elsif (defined $tmp_dir and -d $tmp_dir) { }
162 0 0 if (defined $tmp_dir and -d $tmp_dir)
167 0 57 unless (rmtree($tmp_dir, 0, 1))
184 106 7 if (not defined $ext) { }
7 0 elsif ($ext ne '') { }
207 0 63 if (-x $program)
224 47 4 if ($status)
252 222 1362 if (exists $user_opts{$key}) { }
284 0 0 if ($number == 1) { }
0 0 elsif ($number == 2) { }
0 0 elsif ($number == 3) { }