Condition Coverage

blib/lib/SVG/Element.pm
Criterion Covered Total %
condition 15 40 37.5


and 3 conditions

line !l l&&!r l&&r condition
113 122 0 27 $self->{'-name'} eq "comment" and $self->{'-comment'}
142 52 0 2 $self->{'-inline'} and $self->{'-name'}
417 0 0 0 defined $attrs{'-relative'} and lc $attrs{'-relative'}
429 0 0 0 defined $attrs{'-relative'} and lc $attrs{'-relative'}
432 0 0 0 defined $attrs{'-closed'} and lc $attrs{'-closed'}

or 2 conditions

line l !l condition
94 0 149 $self->{'-namespace'} || $self->{'-docref'}{'-namespace'} || undef
365 0 20 $attrs{'-type'} || 'std'
408 1 0 $attrs{'-type'} || 'path'
479 0 0 $animation_method{$method} || 'animate'
521 0 0 $self->{'style'} || {}
532 0 0 $self->{'mouseaction'} || {}
630 1 0 $allowed{lc $key} || 'error:illegal_filter_element'
654 0 0 $attrs{'-type'} || 'linear'

or 3 conditions

line l !l&&r !l&&!r condition
51 0 182 0 ref $proto || $proto
139 16 1 76 defined $self->{'-cdata'} || defined $self->{'-CDATA'} || defined $self->{'-cdata_noxmlesc'}
140 39 15 39 defined $self->{'-childs'} or $is_cdataish