| blib/lib/ETL/Yertl/Command/yq.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 18 | 22 | 81.8 |
| line | true | false | branch |
|---|---|---|---|
| 19 | 9 | 1 | if (ref $_[-1] eq 'HASH') |
| 25 | 1 | 9 | unless $filter |
| 27 | 7 | 2 | unless @files |
| 31 | 7 | 3 | if ($file eq '-') { } |
| 36 | 0 | 3 | unless (open $fh, '<', $file) |
| 57 | 6 | 22 | if ($opt->{'xargs'}) |
| 64 | 0 | 13 | if is_empty($doc) |
| 65 | 0 | 13 | if (&isTrue($doc)) { } |
| 0 | 13 | elsif (&isFalse($doc)) { } | |
| 87 | 1 | 13 | if ($scope->{'sort'}) { } |
| 3 | 10 | elsif ($scope->{'group_by'}) { } |