| blib/lib/SVG/Element.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| condition | 13 | 37 | 35.1 |
| line | !l | l&&!r | l&&r | condition |
|---|---|---|---|---|
| 143 | 47 | 0 | 2 | $self->{'-inline'} and $self->{'-name'} |
| 418 | 0 | 0 | 0 | defined $attrs{'-relative'} and lc $attrs{'-relative'} |
| 430 | 0 | 0 | 0 | defined $attrs{'-relative'} and lc $attrs{'-relative'} |
| 433 | 0 | 0 | 0 | defined $attrs{'-closed'} and lc $attrs{'-closed'} |
| line | l | !l | condition |
|---|---|---|---|
| 94 | 0 | 130 | $self->{'-namespace'} || $self->{'-docref'}{'-namespace'} || undef |
| 366 | 0 | 20 | $attrs{'-type'} || 'std' |
| 409 | 1 | 0 | $attrs{'-type'} || 'path' |
| 480 | 0 | 0 | $animation_method{$method} || 'animate' |
| 522 | 0 | 0 | $self->{'style'} || {} |
| 533 | 0 | 0 | $self->{'mouseaction'} || {} |
| 631 | 1 | 0 | $allowed{lc $key} || 'error:illegal_filter_element' |
| 655 | 0 | 0 | $attrs{'-type'} || 'linear' |
| line | l | !l&&r | !l&&!r | condition |
|---|---|---|---|---|
| 51 | 0 | 157 | 0 | ref $proto || $proto |
| 140 | 15 | 1 | 69 | defined $self->{'-cdata'} || defined $self->{'-CDATA'} || defined $self->{'-cdata_noxmlesc'} |
| 141 | 35 | 14 | 36 | defined $self->{'-childs'} or $is_cdataish |