Branch Coverage

blib/lib/Mojolicious/Plugin/DomIdHelper.pm
Criterion Covered Total %
branch 9 14 64.2


line true false branch
58 0 6 unless $dom_id
61 5 1 if (blessed $obj)
62 4 1 if (ref $methods ne 'ARRAY')
73 5 0 if (@suffix)
87 0 10 unless $type
93 6 4 if (not $config{'keep_namespace'} and @namespace > 1)
112 0 0 if ($type and $HAVE_INFLECT and $type eq 'ARRAY' and blessed($$obj[0]))