| blib/lib/Config/Layered.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 21 | 28 | 75.0 |
| line | true | false | branch |
|---|---|---|---|
| 15 | 12 | 129 | unless $self->can($_) |
| 19 | 1 | 74 | unless $self->can($arg) |
| 21 | 24 | 51 | if ($arg eq 'sources') { } |
| 29 | 0 | 47 | unless $self->default |
| 31 | 23 | 24 | unless $self->sources |
| 45 | 47 | 47 | unless ref $self eq 'Config::Layered' |
| 64 | 0 | 38 | if (ref @{$$self{'sources'};}[0] eq 'HASH') { } |
| 78 | 98 | 388 | if @_ |
| 94 | 0 | 107 | if ($@) |
| 96 | 0 | 0 | if ($@) { } |
| 110 | 0 | 116 | if ref $self->merge eq 'CODE' |
| 112 | 116 | 0 | if (ref $content eq 'HASH') |
| 114 | 9 | 270 | if (ref $$content{$key} eq 'HASH') { } |
| 118 | 92 | 178 | if exists $$data{$key} |