Branch Coverage

blib/lib/Lingua/Stem/Patch/PL.pm
Criterion Covered Total %
branch 48 48 100.0


line true false branch
32 37 40 if ($length > 6)
33 9 28 if $word =~ s/ (?: tach | acj[a\x{105}i] # -acja -acj\x{105} -acji | [ae]ni[eu] # -anie -aniu -enie -eniu | (?<= ty ) ka # -tyka \x{2192} -ty ) $//x
41 53 15 if ($length > 5)
42 12 41 if $word =~ s/ (?: ach | ami | ce | ta | [cn]i[au] # -cia -ciu -nia -niu | (?<= c ) j[a\x{105}i] # -cja -cj\x{105} -cji \x{2192} -c ) $//x
56 21 56 if ($length > 6)
57 6 15 if $word =~ s/ (?: (?: [aiu]s | [ei]c ) zek # -aszek -eczek -iczek -iszek -uszek | (?<= e[jnr] ) ek # -ejek -enek -erek \342\206\222 -ej -en -er ) $//x
63 55 16 if ($length > 4)
64 4 51 if $word =~ s/ [ae]k # -ak -ek $//x
76 10 67 if ($length > 7)
77 3 7 if $word =~ /^ naj # naj- ( .+ ) # $1 sz (?: [ey] | ych ) # -sze -szy -szych $/x
84 11 63 if ($length > 6)
85 1 10 if $word =~ s/ czny $//x
89 31 42 if ($length > 5)
90 6 25 if $word =~ s/ (?: ego | ej | ych | ow[aey] # -owa -owe -owy ) $//x
103 25 52 if ($length > 5)
104 9 16 if $word =~ s/ (?: bym | cie | \x{142}em | [ae] (?: my | sz | \x{15b}\x{107} ) # -amy -emy -asz -esz -a\x{15b}\x{107} -e\x{15b}\x{107} ) $//x
110 54 14 if ($length > 3)
111 13 41 if $word =~ s/ (?: \x{105}c | a[\x{107}m\x{142}] # -a\x{107} -am -a\x{142} | e[\x{107}m] # -e\x{107} -em | i[\x{107}\x{142}] # -i\x{107} -i\x{142} | (?<= a ) j # -aj \x{2192} -a | (?<= [ae] ) (?: sz | \x{15b}\x{107} ) # -asz -a\x{15b}\x{107} -esz -e\x{15b}\x{107} \x{2192} -a -e ) $//x
128 29 48 if ($length > 4)
129 3 26 if $word =~ s/ (?: (?<= r ) ze # -rze \342\206\222 -r | (?<= [nw] ) ie # -nie -wie \342\206\222 -n -w ) $//x
142 26 51 if ($length > 4)
143 2 24 if $word =~ s/ (?: ami | om | ów ) $//x
155 25 52 if ($length > 4)
156 10 15 if $word =~ s/ (?: [a\x{105}\x{119}i\x{142}uy] | i[ae] # -ia -ie ) $//x