blib/lib/Mail/MtPolicyd/Plugin/Condition.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 15 | 20 | 75.0 |
line | true | false | branch |
---|---|---|---|
36 | 4 | 1 | if (defined $self->match and $value eq $self->match) |
42 | 0 | 1 | if (defined $regex and $value =~ /$regex/) |
46 | 0 | 1 | if (defined $self->lt_match and $value < $self->lt_match) |
51 | 0 | 1 | if (defined $self->gt_match and $value > $self->gt_match) |
65 | 1 | 5 | unless (defined $value) |
70 | 1 | 4 | if ($self->invert) |
74 | 3 | 2 | if ($matched) |
77 | 0 | 3 | if (defined $score) |
81 | 2 | 1 | if (defined $action) |
87 | 1 | 0 | if (defined $self->chain) |