Branch Coverage

blib/lib/Mail/Milter/Authentication/Config.pm
Criterion Covered Total %
branch 15 40 37.5


line true false branch
75 0 0 if ($handler_module->can('default_config')) { }
97 0 174 if ($dir) { }
100 0 0 unless -e $dir
101 0 0 unless -d $dir
102 0 0 unless -w $dir
105 174 0 if ($Mail::Milter::Authentication::Config::EUID == 0) { }
108 12 162 unless -e $dir
111 15 159 unless -e $dir
114 0 174 if ($user)
127 0 0 unless -e $dir
151 0 72 unless (-e $file)
166 0 72 if ($file =~ /\.toml$/u) { }
183 0 27217 if (exists $CONFIG->{'_external_callback_processor'})
184 0 0 if ($CONFIG->{'_external_callback_processor'}->can("process_config"))
195 27145 72 if ($CONFIG)
201 0 72 if (-e $file . '.toml') { }
209 0 72 if (-d $folder)
234 0 72 if (exists $config->{'external_callback_processor'})
237 0 0 unless (&is_loaded($handler))
243 0 0 if (my $error = $@)