Condition Coverage

blib/lib/Parse/Eyapp/Node.pm
Criterion Covered Total %
condition 18 80 22.5


and 3 conditions

line !l l&&!r l&&r condition
74 0 0 1 UNIVERSAL::can($self, 'children') and @{$self->{'children'};}
76 0 1 0 defined $self->{'children'}[$i] and UNIVERSAL::isa($self->{'children'}[$i], 'CODE')
83 0 0 0 UNIVERSAL::can($self, 'children') and @{$self->{'children'};}
116 0 0 0 /\d+/ and $_ < $t->children
218 0 0 0 ref $node and UNIVERSAL::can($node, 'children')
295 0 0 0 defined $handler and UNIVERSAL::isa($handler, 'CODE')
374 0 0 152 defined $class and $class =~ /^[a-zA-Z_][\w:]*$/
397 51 0 10 defined $handler and UNIVERSAL::isa($handler, 'CODE')
560 0 0 3 UNIVERSAL::can($self, 'children') and $self->children > 0
580 0 0 0 $child =~ /\d+/ and $child < $numchildren
624 0 0 2 UNIVERSAL::can($self, 'children') and $self->children > 0
645 0 0 0 $child =~ /\d+/ and $child < $numchildren
656 0 0 0 UNIVERSAL::can($self, 'children') and $self->children > 0
677 0 0 0 $child =~ /\d+/ and $child < $numchildren
689 0 0 1 ref $match eq 'CODE' and @_ > 0
743 0 0 9 defined $DELIMITER and exists $match_del{$DELIMITER}
763 0 98 0 $INDENT >= 0 and UNIVERSAL::can($self, 'footnote')
776 0 45 53 $INDENT >= 0 and UNIVERSAL::can($self, 'info')
778 0 98 0 $INDENT >= 0 and $res
786 0 0 0 $INDENT > 1 and $class =~ tr/\n// > $LINESEP
800 0 0 0 $INDENT >= 0 and $root->can('info')
926 0 0 1 exists $tree1->{$_} and not exists $tree2->{$_}
927 0 0 0 exists $tree2->{$_} and not exists $tree1->{$_}
930 0 0 0 defined $tree1->{$_} and not defined $tree2->{$_}
931 0 0 0 defined $tree2->{$_} and not defined $tree1->{$_}

or 2 conditions

line l !l condition
756 89 9 CORE::shift() || 0

or 3 conditions

line l !l&&r !l&&!r condition
697 0 11 5 not defined $_ or &$match($_)