Branch Coverage

blib/lib/XML/Toolkit/Loader/Filter.pm
Criterion Covered Total %
branch 11 16 68.7


line true false branch
33 4 4 if ($self->objects_count >= 2)
36 4 0 if $self->objects_count == 1
63 10 0 if (my $class = $self->load_class($classname))
72 4 0 if (my $method = $parent->can("add_$$el{'LocalName'}"))
79 8 0 if $self->current_object->can('text')
85 8 0 if $self->has_text
86 4 4 if (my $parent = $self->parent_object)
89 2 4 unless $self->at_root_object