Branch Coverage

blib/lib/XML/DOM2/Element.pm
Criterion Covered Total %
branch 13 28 46.4


line true false branch
51 1 9 unless $indent
52 1 9 unless $level
58 10 0 if ($self->hasChildren or $self->hasCDATA) { }
60 4 6 if ($self->hasChildren) { }
88 24 18 if (defined $self->getParent) { }
18 0 elsif ($self->document) { }
145 3 7 $self->hasAttributes ? :
146 0 10 unless defined $name
159 0 0 $self->hasAttributes ? :
193 0 0 unless $command and $error
194 0 0 if ($self->document)
195 0 0 if ($self->document->{-'raiseerror'}) { }
0 0 elsif ($self->document->{-'printerror'}) { }
210 0 0 $_[0]->hasCDATA ? :