| lib/Rex/CMDB/YAML.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 15 | 18 | 83.3 |
| line | true | false | branch |
|---|---|---|---|
| 29 | 8 | 2 | if (not defined $self->{'merge_behavior'}) { } |
| 54 | 0 | 2 | if (ref $self->{'merge_behavior'} eq 'HASH') { } |
| 76 | 10 | 33 | if ($self->__cache->valid($self->__cache_key)) { } |
| 89 | 37 | 0 | unless (exists $template_vars{$key}) |
| 97 | 94 | 38 | if (-f $file) |
| 111 | 17 | 26 | if (defined $item) { } |
| 127 | 35 | 4 | if (not ref $self->{'path'}) { } |
| 2 | 2 | elsif (ref $self->{'path'} eq 'CODE') { } | |
| 2 | 0 | elsif (ref $self->{'path'} eq 'ARRAY') { } |