| line | % | coverage | branch |
| 137 | 50 | T | F | unless &GetOptions("help|h", \$help, "input|i=s", \$infile, "dry-run|n", \$dry_run, "output|o=s", \$outfile, "run|r", \$run, "strict-documented", \$strict_documented, "mutation-results=s", \$mutation_results, "verbose|v", \$verbose, "version|V", \$version, "replay-corpus|R=s", \$replay_corpus) |
| 150 | 100 | T | F | if $help |
| 152 | 100 | T | F | if ($version) |
| 161 | 50 | T | F | if ($replay_corpus) |
| 162 | 0 | T | F | if $dry_run |
| 163 | 0 | T | F | if $infile |
| 166 | 0 | T | F | unless @corpus_files |
| 170 | 0 | T | F | if ($outfile) { } |
| 171 | 0 | T | F | unless &main::open(my $fh, ">", $outfile) |
| 177 | 0 | T | F | if ($run) |
| 186 | 50 | T | F | if ($infile and @ARGV) |
| 190 | 100 | T | F | if ($infile) |
| 192 | 100 | T | F | if ($@) |
| 195 | 50 | T | F | unless (ref $schema eq "HASH") |
| 198 | 50 | T | F | unless ($schema->{'function'}) |
| 203 | 50 | T | F | unless $infile ||= shift @ARGV |
| 205 | 50 | T | F | if ($dry_run and $run) |
| 209 | 100 | T | F | if ($dry_run and $outfile) |
| 213 | 50 | T | F | if ($verbose) |
| 217 | 50 | T | F | if ($run and not $outfile) |
| 226 | 100 | T | F | if ($dry_run) { } |
| 50 | T | F | elsif ($outfile and -e $outfile and not $run) { } |
| 233 | 50 | T | F | unless (eval {
do {
_generate_harness($infile, $tmp, $strict_documented, $mutation_results);
1
}
}) |
| 246 | 50 | T | F | if ($outfile) |
| 247 | 50 | T | F | if $outfile =~ /\.(pl|cgi)$/ |
| 248 | 50 | T | F | if ($run) |
| 279 | 100 | T | F | if (defined $mutation_results) |
| 283 | 100 | T | F | $strict ? : |
| 100 | T | F | defined $mutation_results ? : |
| 308 | 50 | T | F | defined $schema->{'module'} ? : |
| 324 | 100 | T | F | unless $proposal->{'kind'} eq "manual" |
| 359 | 0 | T | F | if (-f $path) { } |
| 0 | T | F | elsif (-d $path) { } |
| 412 | 0 | T | F | if eval {
do {
require $mod;
1
}
} and $json_module = $mod |
| 414 | 0 | T | F | unless $json_module |
| 421 | 0 | T | F | unless &main::open(my $fh, "<", $file) |
| 428 | 0 | T | F | if ($@) |
| 434 | 0 | T | F | unless @{$bugs;} |
| 470 | 0 | T | F | if ($test_count == 0) |
| 478 | 0 | T | F | if $mod eq "UNKNOWN::Module" |
| 531 | 0 | T | F | unless defined $input |
| 534 | 0 | T | F | if $input =~ /^-?(?:\d+\.?\d*|\.\d+)$/ |
| 586 | 0 | T | F | unless -f $schema_file |
| 588 | 0 | T | F | unless &main::open(my $fh, "<", $schema_file) |
| 590 | 0 | T | F | if (/^module:\s*(\S+)/) |