| lib/Badger/Config/Schema.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 14 | 18 | 77.7 |
| line | true | false | branch |
|---|---|---|---|
| 62 | 8 | 13 | if ref $schema eq "HASH" |
| 64 | 6 | 0 | ref $v eq 'HASH' ? : |
| 71 | 20 | 1 | $extend ? : |
| 86 | 7 | 68 | if (ref $name eq 'HASH') { } |
| 15 | 53 | elsif (&is_object('Badger::Config::Item', $name)) { } | |
| 105 | 3 | 72 | if $hash->{$name} |
| 142 | 1 | 274 | unless $element->try->configure($config, $target, $class) |
| 154 | 0 | 0 | @_ ? : |
| 162 | 0 | 20 | wantarray ? : |