Branch Coverage

blib/lib/Lingua/Zompist/Kebreni.pm
Criterion Covered Total %
branch 73 118 61.8


line true false branch
61 40 16 if (ref $self) { }
64 40 0 if (@_)
65 40 0 if (@_)
206 4 109 if ($c{$phonemes[$i]} and $i < $#phonemes and $c{$phonemes[$i + 1]})
226 1115 19187 ref $_ ? :
255 0 207 unless ref $$word[$position]
260 207 0 if $position < 0
262 207 0 if (@{$$word[$position];} == 2) { }
0 0 elsif (@{$$word[$position];} > 2) { }
276 461 14260 ref $_ ? :
282 0 0 ref $_ ? :
291 0 601 if ($$self{'flags'} & 32) { }
0 601 elsif ($$self{'flags'} & 64) { }
297 0 601 unless ($v{$$word[-1]} and $v{$$word[-3]})
315 0 601 if ($$self{'flags'} & 8) { }
0 601 elsif ($$self{'flags'} & 32) { }
0 601 elsif ($$self{'flags'} & 64) { }
327 2 599 if ($self->base eq q[es'u] and not $self->flags & 256) { }
18 581 elsif ($v{$$word[0]}) { }
334 441 160 if exists $voice{$$word[0]}
340 0 601 unless ($v{$$word[0]} and $v{$$word[2]})
346 24 577 if $$word[-1] eq 'y'
368 40 562 if ($polite{$self->base}) { }
381 0 601 if ($$self{'flags'} & 64)
384 0 601 unless ($$self{'flags'} & 256)
391 40 561 if $$self{'flags'} & 128
395 69 492 $$word[-1] eq 'u' ? :
398 0 561 unless ($v{$$word[-1]} and $v{$$word[-3]})
401 0 561 unless (ref $$word[-2] or $c{$$word[-2]})
407 72 489 if (ref $$word[-2]) { }
423 0 483 if ($$self{'flags'} & 2) { }
0 483 elsif ($$self{'flags'} & 4) { }
0 483 elsif ($$self{'flags'} & 8) { }
0 483 elsif ($$self{'flags'} & 32) { }
0 483 elsif ($$self{'flags'} & 64) { }
436 0 483 unless ($v{$$word[-1]})
439 0 483 unless (ref $$word[-2] or $c{$$word[-2]})
442 0 483 unless ($$word[-1] eq 'u' or $$word[-1] eq 'y')
465 0 482 unless ($$self{'flags'} & 1 or $$self{'flags'} & 2)
472 0 482 unless ($v{$$word[-1]} and $v{$$word[-3]})
475 0 482 unless (ref $$word[-2] or $c{$$word[-2]})
483 96 386 if (ref $$word[-2]) { }
501 0 482 if ($$self{'flags'} & 1) { }
0 482 elsif ($$self{'flags'} & 4) { }
0 482 elsif ($$self{'flags'} & 8) { }
0 482 elsif ($$self{'flags'} & 32) { }
0 482 elsif ($$self{'flags'} & 64) { }
514 0 482 unless ($v{$$word[-1]})
517 0 482 unless (ref $$word[-2] or $c{$$word[-2]})
520 0 482 unless ($$word[-1] eq 'u' or $$word[-1] eq 'y')
544 0 601 unless ($v{$$word[-1]} and $v{$$word[-3]})
547 0 601 unless (ref $$word[-2] or $c{$$word[-2]})
557 36 565 if (ref $$word[-2]) { }
604 0 16 unless ($v{$$word[-1]} and $v{$$word[-3]})
607 0 16 unless (ref $$word[-2] or $c{$$word[-2]})
616 3 13 if (ref $$word[-2]) { }
620 3 10 $$word[-3] eq 'i' ? :
633 0 16 unless ($v{$$word[-1]} and $v{$$word[-3]})
636 0 16 unless (ref $$word[-2] or $c{$$word[-2]})