Branch Coverage

blib/lib/Hook/Filter/RulePool.pm
Criterion Covered Total %
branch 10 10 100.0


line true false branch
36 12 15 unless (defined $pool)
55 2 26 if (not defined $obj or ref $obj ne 'Hook::Filter::Rule' and ref \$obj ne 'SCALAR' or scalar @_ != 2)
60 19 7 if (ref \$obj eq 'SCALAR') { }
105 7 50 unless @rules
109 28 52 if $rule->eval