| blib/lib/App/Fasops/Command/names.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 15 | 20 | 75.0 |
| line | true | false | branch |
|---|---|---|---|
| 41 | 1 | 3 | unless (@{$args;}) |
| 48 | 0 | 3 | if lc $_ eq 'stdin' |
| 49 | 1 | 2 | unless (Path::Tiny::path($_)->is_file) |
| 54 | 0 | 2 | if (not exists $opt->{'outfile'}) |
| 65 | 0 | 2 | if (lc $infile eq 'stdin') { } |
| 74 | 2 | 54 | if $in_fh->eof and $content eq '' |
| 76 | 54 | 0 | unless ($in_fh->eof) |
| 79 | 6 | 48 | if ($line eq '' || $line =~ /^\s+$/ and $content ne '') { } |
| 97 | 2 | 0 | if (lc $opt->{'outfile'} eq 'stdout') { } |
| 105 | 4 | 4 | if $opt->{'count'} |