Condition Coverage

blib/lib/SVG/Element.pm
Criterion Covered Total %
condition 13 37 35.1


and 3 conditions

line !l l&&!r l&&r condition
147 47 0 2 $self->{'-inline'} and $self->{'-name'}
422 0 0 0 defined $attrs{'-relative'} and lc $attrs{'-relative'}
434 0 0 0 defined $attrs{'-relative'} and lc $attrs{'-relative'}
437 0 0 0 defined $attrs{'-closed'} and lc $attrs{'-closed'}

or 2 conditions

line l !l condition
98 0 130 $self->{'-namespace'} || $self->{'-docref'}{'-namespace'} || undef
370 0 20 $attrs{'-type'} || 'std'
413 1 0 $attrs{'-type'} || 'path'
484 0 0 $animation_method{$method} || 'animate'
526 0 0 $self->{'style'} || {}
537 0 0 $self->{'mouseaction'} || {}
635 1 0 $allowed{lc $key} || 'error:illegal_filter_element'
659 0 0 $attrs{'-type'} || 'linear'

or 3 conditions

line l !l&&r !l&&!r condition
55 0 157 0 ref $proto || $proto
144 15 1 69 defined $self->{'-cdata'} || defined $self->{'-CDATA'} || defined $self->{'-cdata_noxmlesc'}
145 35 14 36 defined $self->{'-childs'} or $is_cdataish