| blib/lib/SVG/XML.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 18 | 28 | 64.2 |
| line | true | false | branch |
|---|---|---|---|
| 53 | 0 | 13 | unless defined $s |
| 54 | 0 | 13 | if ref $s eq "ARRAY" |
| 91 | 24 | 61 | unless scalar keys %attrs |
| 101 | 0 | 36 | $ns ? : |
| 113 | 0 | 49 | $ns ? : |
| 134 | 22 | 0 | /^\n/ ? : |
| 22 | 0 | /\n[\t]?$/ ? : | |
| 152 | 0 | 49 | $ns ? : |
| 166 | 25 | 1 | if ($self->{'-pubid'}) { } |
| 1 | 0 | elsif ($self->{'-sysid'}) { } | |
| 168 | 25 | 0 | if $self->{'-sysid'} |
| 186 | 0 | 26 | exists $self->{'-internal'} ? : |
| 187 | 1 | 25 | if (exists $self->{'-extension'} and $self->{'-extension'}) |
| 193 | 1 | 25 | if $extension |