Branch Coverage

File:bin/extract-schemas2
Coverage:50.0%

line%coveragebranch
6650TFunless &GetOptions("output-dir|o=s", \$opts{'output_dir'}, "emit-tests|e", \$opts{'emit_tests'}, "test-dir|t=s", \$opts{'test_dir'}, "strict-pod|s=s", \$opts{'strict_pod'}, "verbose|v", \$opts{'verbose'}, "help|h", \$cli_opts{'help'}, "man|m", \$cli_opts{'man'})
6850TFif $cli_opts{'help'}
6950TFif $cli_opts{'man'}
7150TFunless ($opts{'strict_pod'} =~ /^(off|warn|fatal)$/)
7550TFunless my $input_file = shift @ARGV
7850TFunless -f $input_file
8750TFunless -d $opts{'output_dir'}
14150TFif ($opts{'emit_tests'})
14650TFunless -d $opts{'test_dir'}
15250TFunless open my $fh, "<", $input_file
15750TFif (/^\s*package\s+([\w:]+)\s*;/)
16450TFunless $package_name
17850TF$accessor eq 'getter' ? :
50TF$accessor eq 'setter' ? :
50TF$accessor eq 'getset' ? :
50TF$accessor eq 'setter' ? :
19350TFif $opts{'verbose'}
21750TFunless open my $out, ">", $test_file
22750TFif ($opts{'verbose'})