Branch Coverage

script/generate-commands
Criterion Covered Total %
branch 16 22 72.7


line true false branch
14 0 3 unless &GetOptions("input=s", \$input, "output=s", \$output, "help", \$help)
19 0 3 if $help
24 1 2 unless -f $input
27 0 2 unless open my $fh, "<", $input
38 0 2 if $dir and not -d $dir
40 0 2 unless open my $out, ">", $output
64 0 740 if $seen{$method}++
128 2 738 if ($method eq 'hgetall') { }
2 736 elsif ($method eq 'info') { }
2 734 elsif ($method eq 'time') { }
139 258 476 if (@subcmd) { }