Condition Coverage

blib/lib/Decision/ACL/Rule.pm
Criterion Covered Total %
condition 19 29 65.5


and 3 conditions

line !l l&&!r l&&r condition
37 60 0 4 defined $fields and UNIVERSAL::isa($fields, 'HASH')
67 22 4 0 defined $action and $action =~ /^ALLOW$/i || $action =~ /^DENY$/i || $action =~ /^PERMIT$/i || $action =~ /^BLOCK$/i
122 19 1 13 $field_value ne $$args{$field} and $field_value
20 3 10 $field_value ne $$args{$field} and $field_value and $field_value ne 'ALL'
4 0 10 $field_value ne $$args{$field} and $field_value and $field_value ne 'ALL' and $$args{$field} ne 'ALL'
3 0 10 $field_value ne $$args{$field} and $field_value and $field_value ne 'ALL' and $$args{$field} ne 'ALL' and $$args{$field}

or 2 conditions

line l !l condition
47 64 0 $$self{'_fields'} || {}

or 3 conditions

line l !l&&r !l&&!r condition
67 2 0 0 $action =~ /^ALLOW$/i || $action =~ /^DENY$/i || $action =~ /^PERMIT$/i || $action =~ /^BLOCK$/i
100 2 0 2 $self->Action =~ /^ALLOW$/i or $self->Action =~ /^PERMIT/i
102 2 0 0 $self->Action =~ /^DENY$/i or $self->ACtion =~ /^BLOCK$/i