Condition Coverage

blib/lib/Mojolicious/Plugin/DomIdHelper.pm
Criterion Covered Total %
condition 13 23 56.5


and 3 conditions

line !l l&&!r l&&r condition
93 2 2 6 not $config{'keep_namespace'} and @namespace > 1
112 0 10 0 $type and $HAVE_INFLECT
10 0 0 $type and $HAVE_INFLECT and $type eq 'ARRAY'
10 0 0 $type and $HAVE_INFLECT and $type eq 'ARRAY' and blessed($$obj[0])

or 2 conditions

line l !l condition
25 2 0 $defaults ||= {}

or 3 conditions

line l !l&&r !l&&!r condition
26 1 1 0 $$defaults{'method'} ||= $METHOD
27 1 1 0 $$defaults{'delimiter'} ||= $DELIMITER
28 1 0 1 $$defaults{'keep_namespace'} ||= $KEEP_NAMESPACE