Branch Coverage

blib/lib/Lingua/LinkParser/MatchPath/SM.pm
Criterion Covered Total %
branch 0 114 0.0


line true false branch
29 0 0 if ($$wordpattern[0] eq 'W') { }
0 0 elsif ($$wordpattern[0] eq 'WR') { }
0 0 elsif ($$wordpattern[0] eq 'P') { }
0 0 elsif ($$wordpattern[0] eq 'NW') { }
0 0 elsif ($$wordpattern[0] eq 'NWR') { }
0 0 elsif ($$wordpattern[0] eq 'NP') { }
30 0 0 if $$content_ref eq $$wordpattern[1]
34 0 0 if ($$content_ref =~ /$$wordpattern[1]/)
36 0 0 if $#+ >= 1
41 0 0 if $pos eq $$wordpattern[1]
45 0 0 if $$content_ref ne $$wordpattern[1]
49 0 0 unless ($$content_ref =~ /$$wordpattern[1]/)
55 0 0 if $pos ne $$wordpattern[1]
64 0 0 if ($$labelpattern[0] eq 'L') { }
0 0 elsif ($$labelpattern[0] eq 'LR') { }
65 0 0 if $content eq $$labelpattern[1]
68 0 0 if $content =~ /$$labelpattern[1]/
77 0 0 ref $$self{'_arc'}{$curr_state} ? :
83 0 0 if ($$arc{'label'}) { }
0 0 elsif ($$arc{'word'}) { }
0 0 elsif ($$arc{'branch'}) { }
90 0 0 if $$arc{'branch'} eq 'E'
91 0 0 if $$arc{'branch'} eq 'L'
112 0 0 if (check_wordmatch($$arc{'word'}, \$content, $pos))
118 0 0 if ($$arc{'word'}[2])
130 0 0 if (not $$self{'_wordptr'}) { }
0 0 elsif ($$self{'_wordptr'}) { }
132 0 0 if ($$self{'_wordptr'}) { }
145 0 0 if ($link and check_wordmatch($$arc{'word'}, \$content, $pos)) { }
152 0 0 if ($$arc{'word'}[2])
176 0 0 if $$self{'_visited'}{$$link{'index'}}
178 0 0 if (check_labelmatch($$arc{'label'}, $link->linklabel))
188 0 0 if ($match) { }
214 0 0 unless ($$self{'_built_arc_stack'}{$curr_state})
217 0 0 if (@arcs > 1)
226 0 0 unless ($arc)
229 0 0 unless (defined $curr_state)
240 0 0 if ($arctype eq 'W') { }
0 0 elsif ($arctype eq 'L') { }
0 0 elsif ($arctype eq 'EB') { }
0 0 elsif ($arctype eq 'LB') { }
0 0 elsif ($arctype eq 'N') { }
249 0 0 if ($branchtype == 1 or $branchtype == 2)
259 0 0 if ($branchtype == 1 or $branchtype == 2)
275 0 0 unless ($result)
276 0 0 if ($branchtype_stack[-1] != 2) { }
278 0 0 unless (defined $next_state)
289 0 0 if $self->accepted($curr_state)
290 0 0 if $self->failed
305 0 0 ref $_[0] ? :
315 0 0 if $linkage_count > 1
319 0 0 if $PRINT_DIAGRAM
322 0 0 if (ref $$self{'_fh'} and $PRINT_DIAGRAM_TO_FILE)
331 0 0 if ($cool) { }
333 0 0 if $PRINT_SUCCESSFUL_DIAGRAM
334 0 0 if ref $$self{'_fh'} and $PRINT_SUCCESSFUL_DIAGRAM_TO_FILE
359 0 0 @_ ? :