| File: | blib/lib/Geo/Coder/Free/Config.pm |
| Coverage: | 29.6% |
| line | % | coverage | condition | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 122 | 33 |
| exists $params->{'logger'} and defined $$params{"logger"} | ||||||||||||
| 124 | 0 |
| ref $$params{"logger"} and $$params{"logger"}->can("debug") | ||||||||||||
| 131 | 67 |
| exists $params->{'config'} and defined $$params{"config"} | ||||||||||||
| 135 | 33 |
| ref $proto || $proto | ||||||||||||
| 136 | 33 |
| $$params{'info'} || 'CGI::Info'->new | ||||||||||||
| 142 | 0 |
| -d $ENV{"CONFIG_DIR"} and -r $ENV{"CONFIG_DIR"} | ||||||||||||
| 186 | 33 |
| $language ||= $info->lang | ||||||||||||
| 219 | 33 |
| $@ or not defined $config | ||||||||||||
| 267 | 33 |
| $$params{"debug"} and $$params{"logger"} |