Branch Coverage

blib/lib/XML/Grammar/FictionBase/FromProto/Parser/XmlIterator.pm
Criterion Covered Total %
branch 5 80 6.2


line true false branch
102 0 0 if (@_)
191 0 0 @_ ? :
194 0 0 $open->name eq 'innerdesc' ? :
0 0 $open->name eq 'desc' ? :
226 0 0 unless $contents
0 0 if (&List::MoreUtils::any(sub { &$predicate($_); } , @{[] unless $contents;}))
239 0 0 if ref $_ ne ''
319 0 2 if ($self->eof)
324 0 2 unless (defined $self->curr_pos)
342 0 2 unless ($$l =~ /\G<($id_regex)/cg)
355 0 2 if ($$l =~ m[\G\s*/\s*>]cg) { }
0 2 elsif (not $$l =~ /\G>/g) { }
383 0 0 unless ($$l =~ m[\G]g)
401 0 0 if ($self->_tags_stack_is_empty)
437 0 0 if (not $self->_check_and_handle_tag_event($event) and $self->_is_event_elem($event))
452 0 0 $event->is_open ? :
465 0 0 if ($event->tag and exists $self->_tag_names_to_be_handled->{$event->tag}) { }
480 0 0 $event->is_open ? :
519 0 0 if ($is_close) { }
0 0 elsif ($is_tag_cond) { }
545 0 0 if (not $self->_tags_stack_is_empty) { }
564 0 0 if ($open->name ne $close->name)
580 0 0 if ($self->curr_line_continues_with(qr/