Condition Coverage

blib/lib/Hash/Compact.pm
Criterion Covered Total %
condition 22 28 78.5


and 3 conditions

line !l l&&!r l&&r condition
12 5 0 11 @_ > 1 && (ref $_[-1] || '') eq 'HASH'
62 0 2 17 defined $value and not ref $value
2 12 5 defined $value and not ref $value and $value eq ($$option{'default'} || '')
92 14 0 1 blessed $value and $value->can('to_hash')

or 2 conditions

line l !l condition
14 14 2 shift() || {}
16 16 0 ref $args || ''
59 12 7 $self->options->{$key} || {}
62 8 9 $$option{'default'} || ''
72 12 4 $self->options->{$key} || {}

or 3 conditions

line l !l&&r !l&&!r condition
60 7 12 0 $$option{'alias_for'} || $key
74 9 7 0 $$self{$$option{'alias_for'} or $key} || $$option{'default'}