Condition Coverage

blib/lib/Plack/Middleware/Greylist.pm
Criterion Covered Total %
condition 25 37 67.5


and 3 conditions

line !l l&&!r l&&r condition
42 0 0 5 $self->retry_after =~ /^[1-9][0-9]*$/u and $self->retry_after > $expiry
136 94 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
34 0 0 $config //= {}
36 5 0 $config->{'init_file'} //= 0
38 0 5 $config->{'serializer'} //= ""
39 3 2 $config->{'expire_time'} //= 60
61 74 15 $count //= 0
92 9 6 $type //= "ip"
96 15 0 $rate //= "rejected"
151 15 2 $name || 'default'

or 3 conditions

line l !l&&r !l&&!r condition
37 5 0 0 $config->{'unlink_on_exit'} //= !$config->{'init_file'}
47 3 2 0 $self->file // $config->{'share_file'}
93 11 4 0 $types{$type} // $type
146 43 46 0 $rule->[1] || $ip