Condition Coverage

blib/lib/Banal/Utils/Data.pm
Criterion Covered Total %
condition 0 38 0.0


and 3 conditions

line !l l&&!r l&&r condition
86 0 0 0 reftype($datum) eq 'ARRAY' and $on_ArrayRef =~ /^flatten|dereference$/io
0 0 0 reftype($datum) eq 'HASH' and $on_HashRef =~ /^flatten|dereference$/io
0 0 0 reftype($datum) eq 'SCALAR' and $on_ScalarRef =~ /^flatten|dereference$/io
112 0 0 0 scalar @_ > 0 && !$_[0]
138 0 0 0 defined $$opts{'path'} && ($keys eq $$opts{'path'} || $keys == $$opts{'path'})
247 0 0 0 defined $index and not defined $element

or 2 conditions

line l !l condition
35 0 0 $$args{'options'} || {}
80 0 0 $$opts{'on_ArrayRef'} || 'flatten'
81 0 0 $$opts{'on_HashRef'} || 'flatten'
82 0 0 $$opts{'on_ScalarRef'} || 'flatten'
118 0 0 $$args{'keys'} || $$args{'key'} || $$args{'path'} || []
120 0 0 $$args{'context'} || []
121 0 0 $$args{'options'} || {}
122 0 0 $$opts{'path_separator'} || $$opts{'separator'} || '/'
128 0 0 $$opts{'lower_case'} || $$opts{'lc'} || 0
129 0 0 $$opts{'trim'} || 0