Branch Coverage

blib/lib/Mail/MtPolicyd/Plugin/RBLAction.pm
Criterion Covered Total %
branch 8 16 50.0


line true false branch
40 0 2 if ($enabled eq 'off')
45 0 2 if (not defined $session->{$result_key} or ref $session->{$result_key} ne 'ARRAY')
51 0 2 unless (defined $ip_result)
56 1 1 unless ($ip_result->addr =~ /$regex/)
62 1 0 if (defined $self->score and not $r->is_already_done('rbl-' . $self->name . '-score'))
66 1 0 if ($mode eq 'reject')
72 0 0 if ($mode eq 'accept')
83 1 0 if (defined $info and $info ne '') { }