Branch Coverage

blib/lib/SVG.pm
Criterion Covered Total %
branch 16 22 72.7


line true false branch
1296 7 14 if ($attr) { }
7 7 elsif (exists $default_attrs{$_}) { }
1304 0 7 if /^-/
1311 1 26 if ($default_attrs{'-auto'})
1420 525 8 unless exists $attrs{$attr}
1423 33 0 unless ($self->{'-docref'})
1427 33 0 unless ($attrs{'-namespace'})
1444 33 0 unless ($attrs{'-nostub'})
1491 17 5 unless ($self->{'-docref'}{'-nocredits'} or $self->{'-docref'}{'-creditsinserted'})
1501 0 2 unless $key =~ /^-/
1506 0 551 unless $key =~ /^-/