blib/lib/Locale/Maketext/Lexicon/Slurp.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 23 | 28 | 82.1 |
line | true | false | branch |
---|---|---|---|
19 | 0 | 11 | unless open my $fh, '<', $file |
21 | 0 | 11 | if exists $args{'binmode'} |
35 | 5 | 4 | $$args{'dir'} && -d $$args{'dir'} ? : |
37 | 4 | 5 | if (my $files = $$args{'files'}) { } |
2 | 3 | elsif ($dir) { } | |
3 | 0 | elsif ($$args{'dir'}) { } | |
38 | 3 | 1 | if ($dir) { } |
39 | 2 | 1 | if ((ref $files || '') ne 'ARRAY') { } |
45 | 0 | 1 | if ((ref $files || '') ne 'ARRAY') { } |
58 | 2 | 7 | if (my $re = $$args{'regex'}) |
62 | 1 | 8 | if (my $filter = $$args{'filter'}) |
66 | 9 | 0 | if (@files) |
67 | 5 | 4 | if ($dir) { } |
81 | 8 | 1 | if @args % 2 == 1 |