| blib/lib/Mail/Milter/Authentication/Config.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| condition | 5 | 10 | 50.0 |
| line | l | !l | condition |
|---|---|---|---|
| 142 | 21 | 0 | $config->{'protocol'} || 'milter' |
| 157 | 72 | 0 | $file || die("Could not open configuration file $file") |
| 167 | 0 | 0 | TOML::from_toml($text) || die("Error parsing config file $file") |
| 173 | 72 | 0 | $json->decode($text) || die("Error parsing config file $file") |
| 230 | 19 | 53 | $config->{'protocol'} || 'milter' |