| blib/lib/Mojito/Role/Config.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 7 | 16 | 43.7 |
| line | true | false | branch |
|---|---|---|---|
| 38 | 0 | 1 | if $ENV{'MOJITO_DEBUG'} |
| 41 | 1 | 0 | if -e $conf_file |
| 45 | 0 | 1 | if -e $local_conf_file |
| 48 | 0 | 1 | if $ENV{'MOJITO_DEBUG'} and $ENV{'MOJITO_CONFIG'} |
| 71 | 1 | 2 | if ($conf_file and -r $conf_file) |
| 72 | 0 | 1 | unless ($config = do $conf_file) |
| 73 | 0 | 0 | if $@ |
| 74 | 0 | 0 | unless defined $config |