Branch Coverage

blib/lib/Parser/Combinators.pm
Criterion Covered Total %
branch 116 214 54.2


line true false branch
50 17 0 if $V
56 31 14 if (ref $p eq 'CODE') { }
14 0 elsif (ref $p eq 'HASH') { }
67 2 43 unless ($st)
72 0 15 if (defined $proc) { }
73 0 0 if (ref $proc eq 'CODE') { }
76 0 0 if $V
90 0 0 if $V
94 0 0 if ($st1) { }
97 0 0 if (ref $m2 eq 'ARRAY') { }
0 0 elsif (defined $m2) { }
122 2 0 if $V
125 1 2 if (ref $p eq 'CODE') { }
2 0 elsif (ref $p eq 'HASH') { }
135 2 1 if ($status)
136 2 0 if $V
137 2 0 if $V
150 0 0 if $V
152 0 0 if ($status) { }
153 0 0 if $V
154 0 0 if $V
157 0 0 if $V
170 9 0 if $V
172 6 3 if ($status) { }
173 6 0 if $V
176 3 0 if $V
188 6 0 if $V
190 6 0 if ($str =~ s/($regex_str)\s*//) { }
195 6 0 if $V
196 6 0 if $V
199 0 0 if $V
209 7 0 if $V
212 6 1 if ($status == 1) { }
215 6 0 if $V
216 6 0 if $V
218 6 0 if ($status == 1) { }
220 6 0 if ($st == 1)
224 6 0 if ($status == 1) { }
225 6 0 if $V
244 25 2 if $V
245 19 8 if (substr($str, 0, 1) eq $ch) { }
246 18 1 if $V
247 18 1 if $V
259 6 0 if $V
262 6 0 if ($status) { }
264 6 0 if $V
266 6 6 if ($status)
271 6 0 if $V
283 10 3 if $V
285 12 1 if ($str =~ /^(\w+)/) { }
292 10 2 if $V
293 10 2 if $V
296 0 1 if $V
306 3 3 if $V
308 4 2 if ($str =~ /^(\d+)/) { }
315 2 2 if $V
316 2 2 if $V
319 1 1 if $V
332 9 6 if $V
334 14 1 if ($str =~ /^\s*$lit_str\s*/) { }
341 9 5 if $V
342 9 5 if $V
345 0 1 if $V
358 0 1 if $V
359 1 0 if ($str =~ /^(.*)\s*$lit_str\s*/) { }
364 0 1 $m eq '' ? :
366 0 1 if $V
367 0 1 if $V
370 0 0 if $V
383 0 1 if $V
384 1 0 if ($str =~ /^(.*?)\s*$lit_str\s*/) { }
388 0 1 $m eq '' ? :
390 0 1 if $V
391 0 1 if $V
394 0 0 if $V
407 0 0 if $V
409 0 0 if ($status) { }
415 0 0 if $V
416 0 0 if $V
419 0 0 if $V
432 0 0 if $V
434 0 0 if ($status) { }
440 0 0 if $V
441 0 0 if $V
443 0 0 if $V
453 6 1 if $V
455 5 2 if ($st) { }
456 4 1 if $V
458 2 0 if $V
467 0 0 if $V
480 3 3 if $V
492 0 0 if $V
495 0 0 if ($status)
496 0 0 if $V
497 0 0 if $V
518 0 0 @{$elt_in_array;} ? :
526 8 33 if (ref $elt eq 'ARRAY' and scalar @{$elt;} > 0) { }
15 18 elsif (ref $elt eq 'HASH') { }
530 6 9 if (ref $v ne 'ARRAY') { }
2 7 elsif (@{$v;} == 1) { }
537 1 15 if (ref $_ eq 'ARRAY') { }
4 11 elsif (ref $_ eq 'HASH') { }
10 1 elsif (defined $_) { }
548 13 3 scalar @{$hlist;} == 1 ? :
552 7 7 if (ref $mlo eq 'ARRAY') { }
555 5 2 scalar @l ? :
565 2 12 is_list_of_objects($_) ? :