Condition Coverage

blib/lib/HTML/Widget.pm
Criterion Covered Total %
condition 21 35 60.0


and 3 conditions

line !l l&&!r l&&r condition
513 195 0 8 $element->isa('HTML::Widget::Element::Block') and not $$element{'_pseudo_block'}
585 107 93 0 $self->implicit_subcontainer and $_[0]
91 0 2 $self->implicit_subcontainer and $_[0] and $_[0] ne $$self{'attributes'}{'id'}
1394 3 2 0 $dest and not $dest->isa('HTML::Widget::Element::NullContainer')
1404 0 0 5 $source and $source->isa('HTML::Widget::Element::NullContainer')
1478 0 0 171 blessed $query and $query->can('param')
1515 97 9 5 @render and not grep({$name eq $_;} @render)

or 2 conditions

line l !l condition
1453 130 86 $self->attributes->{'method'} ||= 'post'

or 3 conditions

line l !l&&r !l&&!r condition
216 0 106 0 ref $self || $self
595 91 0 1 $$self{'attributes'}{'id'} || $self
1448 171 0 46 $query ||= $self->query
1449 0 0 217 $uploads ||= $self->uploads