blib/lib/Mail/MtPolicyd/Plugin/Condition.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 13 | 18 | 72.2 |
line | true | false | branch |
---|---|---|---|
34 | 2 | 1 | if (defined $self->match and $value eq $self->match) |
40 | 0 | 1 | if (defined $regex and $value =~ /$regex/) |
44 | 0 | 1 | if (defined $self->lt_match and $value < $self->lt_match) |
49 | 0 | 1 | if (defined $self->gt_match and $value > $self->gt_match) |
63 | 1 | 3 | unless (defined $value) |
67 | 2 | 1 | if ($self->_match($value)) |
70 | 0 | 2 | if (defined $score) |
74 | 1 | 1 | if (defined $action) |
80 | 1 | 0 | if (defined $self->chain) |