| blib/lib/App/Rangeops/Command/filter.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 13 | 20 | 65.0 |
| line | true | false | branch |
|---|---|---|---|
| 36 | 0 | 2 | unless (@{$args;}) |
| 40 | 0 | 2 | if lc $_ eq 'stdin' |
| 41 | 0 | 2 | unless (Path::Tiny::path($_)->is_file) |
| 46 | 0 | 2 | if (not exists $opt->{'outfile'}) |
| 62 | 12 | 0 | if (defined $opt->{'number'}) |
| 66 | 6 | 6 | unless $intspan->contains(scalar @parts) |
| 69 | 2 | 4 | if (defined $opt->{'ratio'}) |
| 73 | 0 | 6 | unless App::RL::Common::info_is_valid($info) |
| 79 | 1 | 1 | if $diff_ratio < $opt->{'ratio'} |
| 91 | 2 | 0 | if (lc $opt->{'outfile'} eq 'stdout') { } |