Condition Coverage

blib/lib/Attribute/GlobalEnable.pm
Criterion Covered Total %
condition 11 20 55.0


and 3 conditions

line !l l&&!r l&&r condition
190 0 24 0 $key =~ /^\w+$/ and $$args{'ENABLE_ATTR'}{$key} =~ /^\w+$/

or 2 conditions

line l !l condition
383 2 10 $$ENABLE_CHK{$attribute}{$$ENABLE_ATTR{$attribute} . "_$flag"} || 0

or 3 conditions

line l !l&&r !l&&!r condition
48 0 0 12 not $PACKAGE or $PACKAGE eq 'Attribute::GlobalEnable'
54 0 0 12 not $$args{'ENABLE_CHK'} or ref $$args{'ENABLE_CHK'} ne 'HASH'
116 9 5 10 %{$$ENABLE_CHK{$attribute};} or %{$$ENABLE_FLAG{$attribute};}
142 6 0 6 $1 or $2
185 0 0 12 not $$args{'ENABLE_ATTR'} or ref $$args{'ENABLE_ATTR'} ne 'HASH'