Condition Coverage

blib/lib/Lingua/RU/Inflect.pm
Criterion Covered Total %
condition 16 21 76.1


and 2 conditions

line l !l condition
218 6 0 $ambiguous++ and last

and 3 conditions

line !l l&&!r l&&r condition
290 10 8 1 !defined($gender) || $gender == 0 and $firstname =~ /[\x{431}\x{432}\x{433}\x{434}\x{436}\x{437}\x{43a}\x{43b}\x{43c}\x{43d}\x{439}\x{43f}\x{440}\x{441}\x{442}\x{444}\x{445}\x{446}\x{447}\x{448}\x{449}]$/i
329 12 0 5 $lastname =~ /(\x{438}\x{43d}|\x{44b}\x{43d}|\x{435}\x{432}|\x{451}\x{432}|\x{43e}\x{432})\x{430}$/ and $lastname =~ s/\x{430}$/('ой', 'ой', 'у', 'ой', 'ой')[$case];/e
336 8 0 4 $lastname =~ /(\x{438}\x{43d}|\x{44b}\x{43d}|\x{435}\x{432}|\x{451}\x{432}|\x{43e}\x{432})$/ and $lastname .= ('а', 'у', 'а', 'ым', 'е')[$case]

or 2 conditions

line l !l condition
198 90 39 $_ ||= ''
262 47 19 $_ ||= ''

or 3 conditions

line l !l&&r !l&&!r condition
258 0 0 22 $case < 0 or $case > 4
290 1 8 10 !defined($gender) || $gender == 0