Branch Coverage

blib/lib/Alien/Gnuplot.pm
Criterion Covered Total %
branch 29 44 65.9


line true false branch
169 0 2 unless $version
170 1 1 unless ($req_v <= $version)
190 1 3 if ($ENV{'GNUPLOT_BINARY'}) { }
212 1 3 unless (-x $exec_path)
236 0 3 if ($^O =~ /MSWin32/i) { }
238 0 0 if ($exec_path =~ /([\"\*\?\<\>\|])/)
257 3 0 if (defined $pid) { }
258 0 3 if (not $pid) { }
276 0 3 if ($DEBUG)
278 0 12 if ($DEBUG)
279 3 9 if (waitpid $pid, 1)
285 0 3 if ($DEBUG)
287 0 3 if ($pid)
288 0 0 if ($DEBUG)
310 0 3 unless $lines =~ s/\s+G N U P L O T\s*//
316 0 3 unless $lines =~ /Version (\d+\.\d+) (patchlevel (\d+))?/
333 3 120 if $line =~ /CcColors/
334 42 78 if (not $reading_terms) { }
335 3 39 if ($line =~ /^Available terminal types\:/)
340 0 78 unless $line =~ /^\s*(\w+)\s(.*[^\s])\s*$/
352 3 462 if $line =~ /FfFinished/
353 129 333 unless $line =~ /\s+([\w\-0-9]+)\s+(\#......)/