Branch Coverage

File:bin/fuzz-harness-generator
Coverage:31.2%

line%coveragebranch
10550TFunless &GetOptions("help|h", \$help, "input|i=s", \$infile, "dry-run|n", \$dry_run, "output|o=s", \$outfile, "run|r", \$run, "verbose|v", \$verbose, "version|V", \$version, "replay-corpus|R=s", \$replay_corpus)
116100TFif $help
118100TFif ($version)
12750TFif ($replay_corpus)
1280TFif $dry_run
1290TFif $infile
1320TFunless @corpus_files
1360TFif ($outfile) { }
1370TFunless &main::open(my $fh, ">", $outfile)
1430TFif ($run)
15250TFif ($infile and @ARGV)
15650TFif ($infile)
158100TFif ($@)
16150TFunless (ref $schema eq "HASH")
16450TFunless ($schema->{'function'})
16950TFunless $infile ||= shift @ARGV
17150TFif ($dry_run and $run)
175100TFif ($dry_run and $outfile)
17950TFif ($verbose)
18350TFif ($run and not $outfile)
192100TFif ($dry_run) { }
50TFelsif ($outfile and -e $outfile and not $run) { }
19950TFunless (eval {         do {         "App::Test::Generator"->generate($infile, $tmp); 1 } })
21250TFif ($outfile)
21350TFif $outfile =~ /\.(pl|cgi)$/
21450TFif ($run)
2520TFif (-f $path) { }
0TFelsif (-d $path) { }
3050TFif eval {         do {         require $mod; 1 } } and $json_module = $mod
3070TFunless $json_module
3140TFunless &main::open(my $fh, "<", $file)
3210TFif ($@)
3270TFunless @{$bugs;}
3630TFif ($test_count == 0)
3710TFif $mod eq "UNKNOWN::Module"
4240TFunless defined $input
4270TFif $input =~ /^-?(?:\d+\.?\d*|\.\d+)$/
4790TFunless -f $schema_file
4810TFunless &main::open(my $fh, "<", $schema_file)
4830TFif (/^module:\s*(\S+)/)