Condition Coverage

blib/lib/HTML/WidgetValidator/WidgetContainer.pm
Criterion Covered Total %
condition 3 12 25.0


or 2 conditions

line l !l condition
41 48 0 $module->models || []
44 75 0 $$model[0]{'name'} || (next)
65 0 0 $$self{'pattern_tree'}{$$elements[0]->name or ''} || (return)

or 3 conditions

line l !l&&r !l&&!r condition
43 0 0 75 ref $model ne 'ARRAY' or $#{$model;} == -1
64 0 0 0 ref $elements ne 'ARRAY' or $#{$elements;} == -1