| blib/lib/Mail/Milter/Authentication/Config.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 8 | 22 | 36.3 |
| line | true | false | branch |
|---|---|---|---|
| 63 | 0 | 0 | if ($handler_module->can('default_config')) { } |
| 94 | 0 | 56 | unless (-e $file) |
| 109 | 0 | 56 | if ($file =~ /\.toml$/) { } |
| 126 | 0 | 2567 | if (exists $CONFIG->{'_external_callback_processor'}) |
| 127 | 0 | 0 | if ($CONFIG->{'_external_callback_processor'}->can('process_config')) |
| 138 | 2511 | 56 | if ($CONFIG) |
| 144 | 0 | 56 | if (-e $file . '.toml') { } |
| 152 | 0 | 56 | if (-d $folder) |
| 177 | 0 | 56 | if (exists $config->{'external_callback_processor'}) |
| 180 | 0 | 0 | unless (&is_loaded($handler)) |
| 186 | 0 | 0 | if (my $error = $@) |