Condition Coverage

blib/lib/Plack/Middleware/Greylist.pm
Criterion Covered Total %
condition 13 20 65.0


and 3 conditions

line !l l&&!r l&&r condition
33 0 0 1 $self->retry_after =~ /^[1-9][0-9]*$/u and $self->retry_after > 60

or 2 conditions

line l !l condition
38 1 0 $self->file // die("No cache was set")
56 29 7 $count //= 0
90 4 3 $type //= "ip"
117 6 1 $name || 'default'

or 3 conditions

line l !l&&r !l&&!r condition
87 7 0 0 $rate //= $codes{'blacklist'}
91 5 2 0 $types{$type} // $type
112 12 24 0 $rule->[1] || $ip