Branch Coverage

blib/lib/SVG/XML.pm
Criterion Covered Total %
branch 20 28 71.4


line true false branch
53 0 14 unless defined $s
54 0 14 if ref $s eq "ARRAY"
91 24 69 unless scalar keys %attrs
101 0 39 $ns ? :
113 0 54 $ns ? :
134 26 1 /^\n/ ? :
26 1 /\n[\t]?$/ ? :
152 0 54 $ns ? :
166 31 1 if ($self->{'-pubid'}) { }
1 0 elsif ($self->{'-sysid'}) { }
168 31 0 if $self->{'-sysid'}
186 0 32 exists $self->{'-internal'} ? :
187 1 31 if (exists $self->{'-extension'} and $self->{'-extension'})
193 1 31 if $extension