| blib/lib/Mail/Milter/Authentication/Config.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| condition | 5 | 10 | 50.0 |
| line | l | !l | condition |
|---|---|---|---|
| 83 | 9 | 0 | $config->{'protocol'} || 'milter' |
| 100 | 56 | 0 | $file || die("Could not open configuration file $file") |
| 110 | 0 | 0 | TOML::from_toml($text) || die("Error parsing config file $file") |
| 116 | 56 | 0 | $json->decode($text) || die("Error parsing config file $file") |
| 173 | 14 | 42 | $config->{'protocol'} || 'milter' |