Branch Coverage

blib/lib/Lingua/Zompist/Barakhinei.pm
Criterion Covered Total %
branch 223 328 67.9


line true false branch
229 11 12 if exists $demeric{$verb}
231 0 12 if (not defined $class and exists $$Lingua::Zompist::Barakhinei::classtab{$verb})
235 0 12 if not defined $class and $verb =~ /a$/
236 0 12 if not defined $class and $verb =~ /\352$/
237 0 12 if not defined $class and $verb =~ /i$/
238 0 12 unless defined $class
240 2 10 if ($class == 1 and $stem =~ s/\352$//) { }
3 7 elsif ($stem =~ s/a$//) { }
2 5 elsif ($class == 3 and $stem =~ s/\352$//) { }
2 3 elsif ($stem =~ s/i$//) { }
3 0 elsif ($class == 5 and $stem =~ s/\352$//) { }
255 7 5 if ($class == 1 or $class == 4 or $class == 5) { }
5 0 elsif ($class == 2 or $class == 3) { }
257 4 24 if (exists $$Lingua::Zompist::Barakhinei::cadhctab{$verb}) { }
8 16 elsif (exists $$Lingua::Zompist::Barakhinei::cadhgtab{$verb}) { }
264 2 12 if (exists $$Lingua::Zompist::Barakhinei::cadhctab{$verb}) { }
4 8 elsif (exists $$Lingua::Zompist::Barakhinei::cadhgtab{$verb}) { }
272 1 4 if (exists $$Lingua::Zompist::Barakhinei::cadhctab{$verb}) { }
1 3 elsif (exists $$Lingua::Zompist::Barakhinei::cadhgtab{$verb}) { }
279 2 8 if (exists $$Lingua::Zompist::Barakhinei::cadhctab{$verb}) { }
2 6 elsif (exists $$Lingua::Zompist::Barakhinei::cadhgtab{$verb}) { }
295 1 11 if ($class == 4 || $class == 5 and $verb =~ /${vow}[dtp][\352ai]$/o)
310 2 10 if (exists $$Lingua::Zompist::Barakhinei::cadhutab{$verb})
332 3 12 if exists $scrifel{$verb}
334 0 12 if (not defined $class and exists $$Lingua::Zompist::Barakhinei::classtab{$verb})
338 0 12 if not defined $class and $verb =~ /a$/
339 0 12 if not defined $class and $verb =~ /\352$/
340 0 12 if not defined $class and $verb =~ /i$/
341 0 12 unless defined $class
343 4 8 if ($class == 1 and $stem =~ s/\352$//) { }
2 6 elsif ($stem =~ s/a$//) { }
2 4 elsif ($class == 3 and $stem =~ s/\352$//) { }
2 2 elsif ($stem =~ s/i$//) { }
2 0 elsif ($class == 5 and $stem =~ s/\352$//) { }
358 8 4 if ($class == 1 or $class == 2 or $class == 3) { }
2 2 elsif ($class == 4) { }
360 6 42 if (exists $$Lingua::Zompist::Barakhinei::cadhctab{$verb}) { }
12 30 elsif (exists $$Lingua::Zompist::Barakhinei::cadhgtab{$verb}) { }
370 1 1 if (exists $$Lingua::Zompist::Barakhinei::cadhctab{$verb}) { }
0 1 elsif (exists $$Lingua::Zompist::Barakhinei::cadhgtab{$verb}) { }
386 4 8 if ($class == 1)
390 1 3 if ($verb =~ /${vow}[dtp][\352ai]$/o)
399 1 11 if (exists $$Lingua::Zompist::Barakhinei::cadhutab{$verb})
419 1 5 if exists $izhcrifel{$verb}
421 0 5 if (not defined $class and exists $$Lingua::Zompist::Barakhinei::classtab{$verb})
425 0 5 if not defined $class and $verb =~ /a$/
426 0 5 if not defined $class and $verb =~ /\352$/
427 0 5 if not defined $class and $verb =~ /i$/
428 0 5 unless defined $class
430 1 4 if ($class == 1 and $stem =~ s/\352$//) { }
1 3 elsif ($stem =~ s/a$//) { }
1 2 elsif ($class == 3 and $stem =~ s/\352$//) { }
1 1 elsif ($stem =~ s/i$//) { }
1 0 elsif ($class == 5 and $stem =~ s/\352$//) { }
457 1 5 if exists $budemeric{$verb}
459 0 5 if exists $$Lingua::Zompist::Barakhinei::subjtab{$verb}
461 0 5 if (not defined $class and exists $$Lingua::Zompist::Barakhinei::classtab{$verb})
465 0 5 if not defined $class and $verb =~ /a$/
466 0 5 if not defined $class and $verb =~ /\352$/
467 0 5 if not defined $class and $verb =~ /i$/
468 0 5 unless defined $class
470 1 4 if ($class == 1 and $stem =~ s/\352$/t/) { }
1 3 elsif ($stem =~ s/a$/m/) { }
1 2 elsif ($class == 3 and $stem =~ s/\352$/m/) { }
1 1 elsif ($stem =~ s/i$/t/) { }
1 0 elsif ($class == 5 and $stem =~ s/\352$/t/) { }
507 1 5 if exists $buscrifel{$verb}
509 0 5 if exists $$Lingua::Zompist::Barakhinei::subjtab{$verb}
511 0 5 if (not defined $class and exists $$Lingua::Zompist::Barakhinei::classtab{$verb})
515 0 5 if not defined $class and $verb =~ /a$/
516 0 5 if not defined $class and $verb =~ /\352$/
517 0 5 if not defined $class and $verb =~ /i$/
518 0 5 unless defined $class
520 1 4 if ($class == 1 and $stem =~ s/\352$/k/) { }
1 3 elsif ($stem =~ s/a$/n/) { }
1 2 elsif ($class == 3 and $stem =~ s/\352$/n/) { }
1 1 elsif ($stem =~ s/i$/r/) { }
1 0 elsif ($class == 5 and $stem =~ s/\352$/r/) { }
556 0 6 if exists $befel{$verb}
558 0 6 if (not defined $class and exists $$Lingua::Zompist::Barakhinei::classtab{$verb})
562 0 6 if not defined $class and $verb =~ /a$/
563 0 6 if not defined $class and $verb =~ /\352$/
564 0 6 if not defined $class and $verb =~ /i$/
565 0 6 unless defined $class
567 1 5 if ($class == 1 and $stem =~ s/\352$//) { }
2 3 elsif ($stem =~ s/a$//) { }
1 2 elsif ($class == 3 and $stem =~ s/\352$//) { }
1 1 elsif ($stem =~ s/i$//) { }
1 0 elsif ($class == 5 and $stem =~ s/\352$//) { }
583 0 36 if (exists $$Lingua::Zompist::Barakhinei::cadhctab{$verb}) { }
0 36 elsif (exists $$Lingua::Zompist::Barakhinei::cadhgtab{$verb}) { }
597 3 3 if ($verb =~ /a$/ or $class == 3)
628 0 10 if (exists $part{$verb}) { }
631 0 10 if (not defined $class and exists $$Lingua::Zompist::Barakhinei::classtab{$verb})
635 0 10 if not defined $class and $verb =~ /a$/
636 0 10 if not defined $class and $verb =~ /\352$/
637 0 10 if not defined $class and $verb =~ /i$/
638 0 10 unless defined $class
640 2 8 if ($class == 1 and $stem =~ s/\352$//) { }
2 6 elsif ($stem =~ s/a$//) { }
2 4 elsif ($class == 3 and $stem =~ s/\352$//) { }
2 2 elsif ($stem =~ s/i$//) { }
2 0 elsif ($class == 5 and $stem =~ s/\352$//) { }
657 0 20 if (exists $$Lingua::Zompist::Barakhinei::cadhctab{$verb}) { }
0 20 elsif (exists $$Lingua::Zompist::Barakhinei::cadhgtab{$verb}) { }
668 5 5 wantarray ? :
729 1 63 if $noun eq "s\373"
730 1 62 if $noun eq "l\352"
731 1 61 if $noun eq "\342t"
732 1 60 if $noun eq 'tot'
733 1 59 if $noun eq "k\352t"
734 1 58 if $noun eq 'ta'
735 1 57 if $noun eq 'mukh'
736 1 56 if $noun eq "k\342"
737 1 55 if $noun eq "z\352"
738 1 54 if $noun eq 'za'
743 0 54 if $noun eq "p\373"
745 26 28 if (not defined $gender and exists $$Lingua::Zompist::Barakhinei::gendertab{$noun})
749 0 54 unless (defined $gender)
751 0 0 if ($noun =~ /a$/) { }
0 0 elsif ($noun =~ /\352$/) { }
0 0 elsif ($noun =~ /$consend/o and defined $plural and $plural =~ /i$/) { }
0 0 elsif ($noun =~ /(?:$cons|i)$/o and defined $plural and $plural =~ /[ou]$/) { }
0 0 elsif ($noun =~ /\342$/ and defined $plural and $plural =~ /ao$/) { }
0 0 elsif ($noun =~ /(?:$cons|i)$/o and defined $plural and $plural =~ /[\342\352]$/) { }
0 0 elsif ($noun =~ /\342$/ and defined $plural and $plural =~ /ach$/) { }
771 26 28 if (not defined $plural and exists $$Lingua::Zompist::Barakhinei::pluraltab{$noun})
775 0 54 unless (defined $plural)
777 0 0 if ($noun =~ /$consend/o and $gender eq 'masc') { }
0 0 elsif ($noun =~ /a$/ and $gender eq 'masc') { }
0 0 elsif ($noun =~ /u$/ and $gender eq 'masc') { }
0 0 elsif ($noun =~ /$consend/o and $gender eq 'neut') { }
0 0 elsif ($noun =~ /i$/ and $gender eq 'neut') { }
0 0 elsif ($noun =~ /u$/ and $gender eq 'neut') { }
0 0 elsif ($noun =~ /\342$/ and $gender eq 'neut') { }
0 0 elsif ($noun =~ /$consend/o and $gender eq 'fem') { }
0 0 elsif ($noun =~ /u$/ and $gender eq 'fem') { }
0 0 elsif ($noun =~ /i$/ and $gender eq 'fem') { }
0 0 elsif ($noun =~ /\352$/ and $gender eq 'fem') { }
0 0 elsif ($noun =~ /\342$/ and $gender eq 'fem') { }
809 14 40 if ($gender eq 'masc') { }
20 20 elsif ($gender eq 'neut') { }
20 0 elsif ($gender eq 'fem') { }
810 0 14 if ($sgstem =~ /u$/ and $plstem =~ s/li$//) { }
10 4 elsif ($plstem =~ s/i$//) { }
4 0 elsif ($sgstem =~ s/a$// and $plstem =~ s/\342$//) { }
823 4 16 if ($sgstem =~ /$consend/o and $plstem =~ s/o$//) { }
4 12 elsif ($sgstem =~ /$consend/o and $plstem =~ s/u$//) { }
4 8 elsif ($sgstem =~ s/i$// and $plstem =~ s/u$//) { }
4 4 elsif ($sgstem =~ s/u$// and $plstem =~ s/i$//) { }
4 0 elsif ($sgstem =~ s/\342$// and $plstem =~ s/ao$//) { }
842 4 16 if ($sgstem =~ /$consend/o and $plstem =~ s/\342$//) { }
4 12 elsif ($sgstem =~ /$consend/o and $plstem =~ s/\352$//) { }
4 8 elsif ($sgstem =~ /i$/ and $plstem =~ s/i\352/i/) { }
4 4 elsif ($sgstem =~ s/\352$// and $plstem =~ s/\352$//) { }
4 0 elsif ($sgstem =~ s/\342$// and $plstem =~ s/\342$//) { }
0 0 elsif ($sgstem =~ /u$/ and $plstem =~ s/l\342$//) { }
0 0 elsif ($sgstem =~ /u$/ and $plstem =~ s/\342$//) { }
899 1 7 if (not defined $rootcons and exists $$Lingua::Zompist::Barakhinei::rootconstab{$adj})
903 3 5 unless defined $rootcons
905 4 4 if ($stem =~ /$consend/o or length $rootcons) { }
2 2 elsif ($stem =~ s/\352$//) { }
2 0 elsif ($stem =~ s/i$//) { }
0 0 elsif ($stem =~ s/\342$//) { }