Branch Coverage

blib/lib/Mail/MtPolicyd/Plugin/DBL.pm
Criterion Covered Total %
branch 16 24 66.6


line true false branch
50 1 4 if ($enabled eq 'off')
56 0 9 unless (defined $hostname)
62 4 5 unless (defined $ip_result)
70 5 0 if (defined $self->$score_attr and not $r->is_already_done($self->name . '-' . $check . '-score'))
76 2 3 if ($mode eq 'reject')
90 0 9 unless (defined $value)
94 0 9 if ($value eq 'unknown' or $value eq '')
98 0 9 if ($value =~ /^\d+\.\d+\.\d+\.\d+$/)
102 0 9 if ($value =~ /:/)
106 0 9 unless ($value =~ /\./)
110 4 5 if ($field eq 'sender')
121 2 0 if (defined $info) { }