| blib/lib/Redis/ScriptCache.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 0 | 30 | 0.0 |
| line | true | false | branch |
|---|---|---|---|
| 31 | 0 | 0 | unless $self->redis_conn |
| 42 | 0 | 0 | if $script_dir_to_set |
| 52 | 0 | 0 | if $args{'script_dir'} |
| 54 | 0 | 0 | if ($self->script_dir) { } |
| 66 | 0 | 0 | if ref $script |
| 82 | 0 | 0 | $args ? : |
| 85 | 0 | 0 | if ($wantarray) { } |
| 0 | 0 | elsif (defined $wantarray) { } | |
| 94 | 0 | 0 | if ($@) |
| 95 | 0 | 0 | unless $@ =~ /NOSCRIPT/ |
| 96 | 0 | 0 | $args ? : |
| 99 | 0 | 0 | unless defined $wantarray |
| 100 | 0 | 0 | $wantarray ? : |
| 105 | 0 | 0 | unless open my $fh, '<', 'File::Spec'->catdir($self->script_dir, $path_to_file) |
| 125 | 0 | 0 | if ($@) |