Branch Coverage

blib/lib/Lingua/Stem/UniNE/CS.pm
Criterion Covered Total %
branch 79 120 65.8


line true false branch
46 8 75 if ($length > 7)
47 1 7 if $word =~ s/ atech $//x
51 22 60 if ($length > 6)
52 1 21 if $word =~ s/ at\x{16f}m $//x
55 1 20 if $word =~ s/ (?<= \x{11b} ) tem $//x
59 43 37 if ($length > 5)
60 9 34 if $word =~ s/ (?: ými # -ými | am[ai] # -ama -ami | at[ay] # -ata -aty | ov[éi] # -ové -ovi | [áý]ch # -ách -ých ) $//x
69 15 19 if $word =~ s/ (?: (?<= [e\x{11b}] ) t[ei] # -ete -eti -\x{11b}te -\x{11b}ti \x{2192} -e -\x{11b} | (?<= [éi] ) mu # -ému -imu \x{2192} -é -i | (?<= [eií] ) ch # -ech -ich -ích \x{2192} -e -i -í | (?<= [e\x{11b}í] ) mi # -emi -\x{11b}mi -ími \x{2192} -e -\x{11b} -í | (?<= [éií] ) ho # -ého -iho -ího \x{2192} -é -i -í ) $//x
79 39 17 if ($length > 4)
80 9 30 if $word =~ s/ (?: at # -at | mi # -mi | us # -us | o[su] # -os -ou | [á\x{16f}ý]m # -ám -\x{16f}m -ým ) $//x
89 7 23 if $word =~ s/ (?: es # -es | [éí]m # -ém -ím | (?<= e ) m # -em \x{2192} -e ) $//x
97 38 2 if ($length > 3)
98 11 27 if $word =~ s/ [aáéou\x{16f}yý] $//x
101 25 2 if $word =~ / [e\x{11b}ií] $/x
112 74 9 if length $word < 6
115 2 7 if $word =~ s/ [o\x{16f}]v $//x
118 1 6 if $word =~ s/ (?<= i ) n $//x
127 4 1 if length $word < 6
130 0 1 if $word =~ s/ (?<= [e\x{11b}] ) j\x{161} $//x
140 0 5 if ($length > 7)
141 0 0 if $word =~ s/ ou\x{161}ek $//x
145 0 5 if ($length > 6)
147 0 0 if $word =~ s/ [aáou][\x{10d}n]ek $//x
151 0 0 if $word =~ s/ (?<= [eéií] ) [\x{10d}n]ek $//x
155 1 4 if ($length > 5)
157 0 1 if $word =~ s/ (?: [aáou][\x{10d}n] | át | u\x{161} ) k $//x
161 0 1 if $word =~ s/ [eéií][\x{10d}n]k $//x
165 1 4 if ($length > 4)
167 0 1 if $word =~ s/ (?<= [aáou] ) k $//x
171 0 1 if $word =~ s/ (?<= [eéií] ) k $//x
175 2 3 if ($length > 3)
176 0 2 if $word =~ s/ k $//x
187 0 5 if ($length > 6)
188 0 0 if $word =~ s/ ajzn $//x
192 1 4 if ($length > 5)
193 0 1 if $word =~ s/ (?<= i ) (?: sk | zn ) $//x
197 1 4 if ($length > 4)
198 0 1 if $word =~ s/ ák $//x
209 0 5 if ($length > 8)
210 0 0 if $word =~ s/ obinec $//x
214 0 5 if ($length > 7)
216 0 0 if $word =~ s/ ov (?: isk | i\x{161}t | ník | stv ) $//x
220 0 0 if $word =~ s/ (?<= i ) oná\x{159} $//x
224 0 5 if ($length > 6)
225 0 0 if $word =~ s/ (?: ásek | loun | nost | \x{161}tin | teln | ov (?: ec | ík | in | tv ) # -ovec -ovík -ovin -ovtv ) $//x
232 0 0 if $word =~ s/ (?: (?<= e ) nic | (?<= i ) (?: nec | tel ) ) $//x
236 1 4 if ($length > 5)
237 0 1 if $word =~ s/ árn $//x
240 0 1 if $word =~ s/ (?<= \x{11b} ) nk $//x
244 0 1 if $word =~ s/ (?<= i ) (?: án | sk | st | \x{161}t | tb ) $//x
248 0 1 if $word =~ s/ (?<= í ) rn $//x
252 0 1 if $word =~ s/ o (?: ch | st | un | u\x{161} | ut | vn ) $//x
255 0 1 if $word =~ s/ (?: \x{10d}an | ctv | ká\x{159} | kyn | né\x{159} | ník | stv | u\x{161}k ) $//x
261 1 4 if ($length > 4)
263 0 1 if $word =~ s/ (?: a[\x{10d}ns] | á[\x{10d}n\x{159}] ) $//x
267 0 1 if $word =~ s/ (?: (?<= e ) [cn] | (?<= \x{11b} ) n | (?<= é ) \x{159} | (?<= i ) [cntv] | (?<= í ) [n\x{159}] ) $//x
277 0 1 if $word =~ s/ (?: \x{10d}[kn] | o[b\x{148}tv] | t[kv] | [du]l | [nv]k | yn ) $//x
283 2 3 if ($length > 3)
284 1 1 if $word =~ s/ [c\x{10d}klnt] $//x
294 11 30 if $word =~ s/ \x{10d}t[\x{11b}ií] $/ck/x or $word =~ s/ \x{161}t[\x{11b}ií] $/sk/x or $word =~ s/ [c\x{10d}][ei] $/k/x or $word =~ s/ [z\x{17e}][ei] $/h/x