| blib/lib/MooseX/ConfigFromFile.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 10 | 12 | 83.3 |
| line | true | false | branch |
|---|---|---|---|
| 34 | 0 | 16 | if (defined $opts{'configfile'}) { } |
| 47 | 12 | 4 | if not defined $configfile and $cfmeta->has_default |
| 49 | 9 | 7 | if (ref $configfile eq 'CODE') |
| 54 | 12 | 4 | if defined $configfile and defined $init_arg |
| 57 | 12 | 4 | if (defined $configfile) |
| 61 | 0 | 12 | unless ref $hash eq 'HASH' |