Condition Coverage

blib/lib/Plack/Middleware/Greylist.pm
Criterion Covered Total %
condition 19 25 76.0


and 3 conditions

line !l l&&!r l&&r condition
33 0 0 2 $self->retry_after =~ /^[1-9][0-9]*$/u and $self->retry_after > 60
112 46 2 5 $rate == 0 and $rule->[1]
2 2 3 $rate == 0 and $rule->[1] and $rule->[1] eq "norobots"

or 2 conditions

line l !l condition
38 2 0 $self->file // die("No cache was set")
56 32 9 $count //= 0
87 4 6 $type //= "ip"
91 10 0 $rate //= "rejected"
127 9 1 $name || 'default'

or 3 conditions

line l !l&&r !l&&!r condition
88 8 2 0 $types{$type} // $type
122 17 24 0 $rule->[1] || $ip