Condition Coverage

blib/lib/POE/XUL/State.pm
Criterion Covered Total %
condition 13 22 59.0


and 3 conditions

line !l l&&!r l&&r condition
41 0 14 28 &blessed($node) and $node->can('getAttribute')
14 0 28 &blessed($node) and $node->can('getAttribute') and $node->getAttribute('id')
79 132 44 0 $is_new and $is_destroyed
139 0 42 0 $self->{'buffer'} and $self->{'buffer'}[-1]
257 38 1 0 $key eq 'id' and ($self->{'orig_id'} || '') eq $value

or 2 conditions

line l !l condition
116 21 5 $self->get_parent_id || ''
257 1 0 $self->{'orig_id'} || ''

or 3 conditions

line l !l&&r !l&&!r condition
51 0 14 0 $node->{'attributes'}{'id'} ||= $id