Branch Coverage

blib/lib/App/Milter/Limit.pm
Criterion Covered Total %
branch 7 26 26.9


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->auto_setconn($conf->{'name'})
130 0 2 if (defined $conf->{'group'})
134 0 2 if (defined $conf->{'user'})
157 0 2 if ($driver->can('child_init'))
163 0 2 if ($driver->can('child_exit'))
184 0 0 if (defined $conf->{'limit_from'})
186 0 0 if (defined $val)
196 0 0 unless (length $from)
205 0 0 if ($count > $conf->{'limit'}) { }
206 0 0 if ($reply eq 'defer') { }