Branch Coverage

blib/lib/Decision/ACL.pm
Criterion Covered Total %
branch 22 38 57.8


line true false branch
40 4 0 if (defined $rule)
42 4 0 if (UNIVERSAL::isa($rule, 'Decision::ACL::Rule')) { }
44 4 0 if $self->_VerifyRuleFields($rule)
93 0 14 unless defined $rule
96 0 14 if $self->DEBUG_LEVEL
100 0 14 if $self->DEBUG_LEVEL
101 10 4 if $rule_status == 0
103 2 2 if ($rule_status == 3)
108 2 2 if ($self->AUTO_DENY_NOW and $rule_status == 2)
110 0 2 if $self->DEBUG_LEVEL
111 2 0 if $self->AUTO_DENY_NOW
114 2 0 if ($rule->Now == 1)
116 0 2 if $self->DEBUG_LEVEL
122 0 1 if ($allowed)
124 0 1 if $self->DEBUG_LEVEL
135 20 0 if $$args{$control_field}
147 3 1 if ($$self{'_fields_loaded'}) { }
151 12 0 if exists $rule->Fields->{$field}
152 0 0 if ($self->DIE_ON_MALFORMED_RULES)