Branch Coverage

File:bin/pod-example-tester
Coverage:45.7%

line%coveragebranch
8050TFunless &GetOptions("output|o=s", \$opts{'output'}, "annotated!", \$opts{'annotated'}, "help|h", \$opts{'help'}, "man|m", \$opts{'man'})
8250TFif $opts{'help'}
8350TFif $opts{'man'}
8550TFunless my $input_file = shift @ARGV
8650TFunless -f $input_file
8950TFunless my $package = _detect_package($input_file)
9550TFunless (@$examples)
10150TFunless ($opts{'annotated'})
10550TFunless (@$examples)
11250TFif $out_dir and not -d $out_dir
11550TFunless open my $fh, ">", $opts{'output'}
16550TFif ($is_annotated) { }
1730TFdefined $expected ? :
1760TFif ($ctor and $expr =~ /\$obj\s*->/)
1830TFif (defined $expected)
19350TFif (@stubs)
197100TFif (my $neutralized = _neutralize_exec($line)) { }
22250TFif $line =~ /^\s*#/
223100TFunless $line =~ m<\b(?:system|exec)\s*\(|`|\bqx\s*[{(\[/|]>
27150TFunless open my $fh, "<", $file
27350TFif /^package\s+([\w:]+)\s*[;{]/
28750TFif $@
2880TFif $package->can("new")