Branch Coverage

blib/lib/Mail/SpamAssassin/DBBasedAddrList.pm
Criterion Covered Total %
branch 6 18 33.3


line true false branch
59 0 6 unless ($dbm_module)
67 6 0 if (defined $main->{'conf'}{'auto_whitelist_path'})
71 6 0 if ($main->{'locker'}->safe_lock($path, 30, $main->{'conf'}{'auto_whitelist_file_mode'})) { }
85 0 6 if $self->{'is_locked'} and $dbm_module eq 'DB_File'
88 0 6 unless (tie %{$$self{'accum'};}, $dbm_module, $path, $mod2, oct $main->{'conf'}{'auto_whitelist_file_mode'} & 438)
92 0 0 if ($self->{'is_locked'})
111 6 0 if ($self->{'is_locked'})
162 0 0 if ($addr =~ /^(.*)\|ip=none$/)
170 0 0 if ($key =~ /^\Q$mailaddr\E\|/)