Condition Coverage

blib/lib/POE/XUL/Node.pm
Criterion Covered Total %
condition 32 46 69.5


and 3 conditions

line !l l&&!r l&&r condition
100 2 68 7 ($params[0] || '') eq 'tag' and lc($params[1] || '') eq 'window'
261 0 2 1 $old and ref $text
560 1 0 3 $child and $index < @{$self->{'children'};}
715 0 0 22 $self->{'default_id'} and $attributes{'id'} eq $self->{'default_id'}

or 2 conditions

line l !l condition
100 77 0 $params[0] || ''
75 0 $params[1] || ''
531 22 0 lc $self->{'attributes'}{'tag'} or ''
699 12 10 shift() || 0
730 22 0 shift() || 0

or 3 conditions

line l !l&&r !l&&!r condition
118 15 7 131 $param =~ /\s/ or 0 == @params
148 42 15 151 ref $param or $param =~ /\s/
57 7 144 ref $param or $param =~ /\s/ or 0 == @params
279 0 1 3 not defined $index or $index < 0
288 7 0 6 $t eq 'listitem' or $t eq 'menuitem'
353 2 1 6 not $value or $value eq 'false'
510 0 0 2 $index < 0 or $index > $child_count
647 5 0 0 $listener || $name