| blib/lib/App/Fasops/Command/join.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 17 | 22 | 77.2 |
| line | true | false | branch |
|---|---|---|---|
| 42 | 1 | 2 | unless (@{$args;}) |
| 49 | 0 | 4 | if lc $_ eq 'stdin' |
| 50 | 1 | 3 | unless (Path::Tiny::path($_)->is_file) |
| 55 | 0 | 1 | if (not exists $opt->{'outfile'}) |
| 65 | 1 | 0 | if (lc $opt->{'outfile'} eq 'stdout') { } |
| 75 | 0 | 3 | if (lc $infile eq 'stdin') { } |
| 84 | 3 | 15 | if $in_fh->eof and $content eq '' |
| 86 | 12 | 3 | unless ($in_fh->eof) |
| 89 | 3 | 12 | if ($line eq '' || $line =~ /^\s+$/ and $content ne '') { } |
| 94 | 0 | 3 | unless (defined $opt->{'name'}) |
| 101 | 2 | 1 | if (exists $block_of{$header}) { } |