Branch Coverage

blib/lib/Pod/Abstract/Path.pm
Criterion Covered Total %
branch 57 154 37.0


line true false branch
212 10 10 if ($parse_tree) { }
236 10 40 if ($expression =~ m[^//]) { }
10 30 elsif ($expression =~ m[^/]) { }
0 30 elsif ($expression =~ /^\|/) { }
0 30 elsif ($expression =~ /^\&/) { }
10 20 elsif ($expression =~ /^\[/) { }
10 10 elsif ($expression =~ /^\]/) { }
0 10 elsif ($expression =~ /^(eq|lt|gt|le|ge|ne)/) { }
10 0 elsif ($expression =~ /^([#_\:a-zA-Z0-9]+)/) { }
0 0 elsif ($expression =~ /^\@([a-zA-Z0-9]+)/) { }
0 0 elsif ($expression =~ /^\(([0-9]+)\)/) { }
0 0 elsif ($expression =~ /^\{(([^\}]|\\\})+)\}([i]?)/) { }
0 0 elsif ($expression =~ /^'(([^']|\\')+)'/) { }
0 0 elsif ($expression =~ /^\=\~/) { }
0 0 elsif ($expression =~ /^\.\./) { }
0 0 elsif ($expression =~ /^\^/) { }
0 0 elsif ($expression =~ /^\./) { }
0 0 elsif ($expression =~ /^\<\
0 0 elsif ($expression =~ /^\>\>/) { }
0 0 elsif ($expression =~ /^(==|!=|<=|>=)/) { }
0 0 elsif ($expression =~ /^(<|>)/) { }
0 0 elsif ($expression =~ /^\!/) { }
0 0 elsif ($expression =~ /^\%/) { }
0 0 elsif ($expression =~ /^'([\^']*)'/) { }
0 0 elsif ($expression =~ /(\s+)/) { }
267 0 0 $3 eq 'i' ? :
337 48 0 unless $seen{$node->serial}
355 36 36 if ($$pt{'arguments'})
358 72 0 if ($self->can($action)) { }
378 3 13 if ($names{$$ilist[$i]->type})
422 0 0 if $seen{$b->serial}
436 0 0 if ($pv)
448 0 0 if ($index < scalar @$ilist) { }
471 0 26 if (eval { do { $r_exp->can('process') } }) { }
477 0 26 if $invert
478 3 23 if ($t_result)
491 0 0 if (scalar @$r_exp == 0 or eval { do { $$r_exp[0]->isa('Pod::Abstract::Node') } }) { }
0 0 elsif ($$r_exp[0] == 8) { }
496 0 0 unless $lb
499 0 0 unless $rb
501 0 0 if $@
511 0 0 unless $lb
513 0 0 if $@
527 0 0 if ($case) { }
536 0 0 unless defined $body
537 0 0 if ($body =~ /$regexp/)
571 0 0 if ($next)
586 0 0 if ($prev)
599 0 0 if ($n->parent)
667 10 10 if ($next) { }
669 0 10 if ($tok == 23) { }
0 10 elsif ($tok == 24) { }
694 50 10 if $next
695 50 10 if $next
698 10 50 if (not defined $next) { }
10 40 elsif (grep {$tok == $_;} 17, 9, 25, 7, 23, 24) { }
10 30 elsif ($tok == 1) { }
10 20 elsif ($tok == 2) { }
0 20 elsif ($tok == 21) { }
0 20 elsif ($tok == 20) { }
0 20 elsif ($tok == 16) { }
0 20 elsif ($tok == 22) { }
0 20 elsif ($tok == 19) { }
10 10 elsif ($tok == 3) { }
0 10 elsif ($tok == 6) { }
0 10 elsif ($tok == 4) { }
10 0 elsif ($tok == 5) { }
0 0 elsif ($tok == 6) { }
799 0 10 unless $$l_select[0] == 5
803 0 10 if ($$l[0][0] == 15)
819 0 10 if ($op_tok == 17) { }
0 10 elsif ($op_tok == 25 or $op_tok == 7) { }
10 0 elsif ($op_tok == 9) { }
825 0 0 if ($re_tok == 18) { }
840 0 0 if ($rh_tok == 8) { }
865 0 10 unless $$r_select[0] == 9
867 0 10 unless $exp