blib/lib/File/Open/ReadOnly/NoCache.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 11 | 18 | 61.1 |
line | true | false | branch |
---|---|---|---|
48 | 0 | 2 | unless defined $class |
51 | 0 | 2 | if (ref $_[0] eq 'HASH') { } |
0 | 2 | elsif (ref $_[0] or not defined $_[0]) { } | |
1 | 1 | elsif (scalar(@_) % 2 == 0) { } | |
61 | 2 | 0 | if (my $filename = $params{'filename'}) |
62 | 1 | 1 | if (open my $fd, '<', $filename) |
88 | 1 | 0 | if (defined $^V and $^V ge 'v5.14.0') |
89 | 0 | 1 | if ${^GLOBAL_PHASE} eq 'DESTRUCT' |
93 | 1 | 0 | if (my $fd = $self->{'fd'}) |