blib/lib/App/rshasum.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 12 | 16 | 75.0 |
line | true | false | branch |
---|---|---|---|
26 | 1 | 2 | unless $args->{'prune_re'} |
36 | 12 | 6 | if (@prunes) |
38 | 2 | 10 | if (&any(sub { $path =~ /$_/u; } , @prunes)) |
44 | 10 | 6 | if ($r->is_file) |
47 | 0 | 10 | unless (open $fh, "<", $r->path) |
72 | 0 | 1 | unless &GetOptions("digest=s", \$digest, "skip=s", \@skips, "start-path=s", \$start_path) |
77 | 0 | 1 | unless (defined $digest) |
81 | 1 | 0 | if (@ARGV) |