Branch Coverage

blib/lib/Mail/Milter/Authentication/Handler/Blocker.pm
Criterion Covered Total %
branch 15 18 83.3


line true false branch
20 17 0 if (-e $filename) { }
25 0 17 if ($error) { }
65 42 15 if exists $self->{'blocker_config'}
81 220 69 if $item->{'callback'} ne $callback
82 4 65 if $item->{'until'} and $item->{'until'} < time
84 12 53 if ($value =~ /$value_regex/u)
85 2 10 if (rand 100 > $item->{'percent'}) { }
1 9 elsif ($item->{'with'} =~ /^5/u) { }
9 0 elsif ($item->{'with'} =~ /^4/u) { }