Condition Coverage

lib/XML/SAX/SVGTransformer.pm
Criterion Covered Total %
condition 28 53 52.8


and 3 conditions

line !l l&&!r l&&r condition
26 10 0 3 $name eq "svg" and not $self->_seen($name)
7 0 3 $self->_stash("svg") and not $self->_stash("grouped")
32 0 2 1 $name eq "g" and (_attr($elem, 'id') || '') eq $self->_group_id
80 0 1 2 $self->_seen($name) == 1 and $self->_stash("added_group")
1 0 2 $self->_seen($name) == 1 and $self->_stash("added_group") and $prev eq "g"
161 0 2 1 @ops and $ops[-1][0] eq "rotate"
169 0 0 0 @ops and $ops[-1][0] eq "matrix"
176 0 0 0 @ops and $ops[-1][0] eq "matrix"
188 0 0 0 @ops and $ops[-1] eq "matrix"
242 1 0 2 $args[0] == 1 and $args[1] == 1
283 1 0 5 $set->{'min_x'} and $set->{'min_x'} < 0
288 5 0 1 $set->{'min_y'} and $set->{'min_y'} < 0
326 2 1 0 $x and $y
390 0 0 12 defined $value and $value ne ""

or 2 conditions

line l !l condition
32 1 2 _attr($elem, 'id') || ''
78 13 0 $self->{'_stack'}[-1] || ''
202 3 0 $args[0] || 0
364 3 3 $count || 0

or 3 conditions

line l !l&&r !l&&!r condition
245 3 0 0 $args[0] or $args[1]