Branch Coverage

blib/lib/Weasel/WidgetHandlers.pm
Criterion Covered Total %
branch 2 16 12.5


line true false branch
119 0 0 exists $cache->{$att} ? :
145 0 0 unless $tag eq $conditions->{'tag_name'}
148 0 0 if (exists $conditions->{'classes'})
150 0 0 unless defined $elem_classes
157 0 0 unless exists $elem_classes->{$class}
165 0 0 unless _att_eq($conditions->{'attributes'}{$att}, _cached_elem_att($elem_att_cache, $driver, $_id, $att))
180 0 4 if scalar @matches > 1
184 0 4 $best_match ? :