Branch Coverage

blib/lib/Babble/Match.pm
Criterion Covered Total %
branch 37 40 92.5


line true false branch
12 118 74 $_[0]->can('parent') ? :
18 14 10 $_[0]->can('parent') ? :
32 91 260 unless ref(my $top = $self->top_rule)
36 349 328 ref $_ ? :
43 155 105 unless @subrules
55 7 98 unless @values
62 60 275 unless defined $values[$idx]
76 6 61 unless (@names)
80 108 2 $_ ? :
85 104 279 unless ref $re
86 594 460 ref $_ ? :
125 192 118 unless @found
136 87 73 if (my $len_diff = length($obj->text) - $f->[1])
138 1 8 if ($later->[0] <= $f->[0]) { }
170 2 623 unless defined $submatch
171 230 393 if ($submatch->start > $start)
186 0 3 unless my(@explist_names) = eval $explist->text
188 0 3 unless @remain < @explist_names
189 1 2 unless (@remain)
190 1 0 $keep_empty ? :