| blib/lib/SVG/XML.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 18 | 28 | 64.2 |
| line | true | false | branch |
|---|---|---|---|
| 58 | 0 | 13 | unless defined $s |
| 59 | 0 | 13 | if ref $s eq 'ARRAY' |
| 96 | 24 | 61 | unless scalar keys %attrs |
| 106 | 0 | 36 | $ns ? : |
| 118 | 0 | 49 | $ns ? : |
| 139 | 22 | 0 | /^\n/ ? : |
| 22 | 0 | /\n[\t]?$/ ? : | |
| 157 | 0 | 49 | $ns ? : |
| 171 | 25 | 1 | if ($self->{'-pubid'}) { } |
| 1 | 0 | elsif ($self->{'-sysid'}) { } | |
| 173 | 25 | 0 | if $self->{'-sysid'} |
| 191 | 0 | 26 | exists $self->{'-internal'} ? : |
| 192 | 1 | 25 | if (exists $self->{'-extension'} and $self->{'-extension'}) |
| 198 | 1 | 25 | if $extension |