Branch Coverage

blib/lib/App/Milter/Limit.pm
Criterion Covered Total %
branch 7 30 23.3


line true false branch
32 0 4 unless defined $driver
90 0 4 if ($@)
106 2 0 if ($conf->{'connection'}) { }
112 0 0 unless $milter->setconn($path)
119 0 0 unless chown $conf->{'user'}, $conf->{'group'}, $path
138 0 2 if (defined $conf->{'group'})
142 0 2 if (defined $conf->{'user'})
165 0 2 if ($driver->can("child_init"))
171 0 2 if ($driver->can("child_exit"))
192 0 0 if (defined $conf->{'limit_from'})
194 0 0 if (defined $val)
204 0 0 unless (length $from)
212 0 0 if (index(',' . $ignore . ',', ',' . $from . ',') != -1)
220 0 0 if ($count > $conf->{'limit'}) { }
221 0 0 if ($reply eq 'defer') { }