Branch Coverage

blib/lib/Lingua/Stem/UniNE/BG.pm
Criterion Covered Total %
branch 34 36 94.4


line true false branch
23 0 24 if $length < 4
26 19 5 if ($length > 5)
27 0 19 if $word =~ s/ \x{438}\x{449}\x{430} $//x
35 23 1 if ($length > 3)
44 11 13 if ($length > 4)
50 6 18 if ($length > 5)
61 13 11 if ($length > 6)
63 1 12 if $word =~ s/ \x{438}\x{44f}\x{442} $//x
67 18 5 if ($length > 5)
68 9 9 if $word =~ s/ (?: \x{438}\x{44f} # definite articles for nouns: | \x{44a}\x{442} # \x{2219} masculine | \x{442}\x{430} # \x{2219} feminine | \x{442}\x{43e} # \x{2219} neutral | \x{442}\x{435} # \x{2219} plural ) $//x
78 12 2 if ($length > 4)
79 1 11 if $word =~ s/ \x{44f}\x{442} $//x
91 8 16 if ($length > 6)
92 1 6 if $word =~ s/ \x{43e}\x{432}\x{435} $//x or $word =~ s/ \x{435}\x{432}\x{435} $/\x{439}/x or $word =~ s/ \x{43e}\x{432}\x{446}\x{438} $/\x{43e}/x
98 12 10 if ($length > 5)
99 4 6 if $word =~ s/ \x{437}\x{438} $/\x{433}/x or $word =~ s/ \x{435} ( \p{Cyrl} ) \x{438} $/\x{44f}$1/x or $word =~ s/ \x{446}\x{438} $/\x{43a}/x or $word =~ s/ (?: \x{442}\x{430} | \x{438}\x{449}\x{430} ) $//x
106 11 5 if ($length > 4)
107 3 8 if $word =~ s/ \x{441}\x{438} $/\x{445}/x or $word =~ s/ \x{438} $//x