Branch Coverage

blib/lib/NNexus/Morphology.pm
Criterion Covered Total %
branch 37 90 41.1


line true false branch
53 174 7 unless $word =~ s/'s(\s|$)/$1/
70 0 0 if ($_[0] =~ /($concept_word_rex)(\s+(of|by)\s+.+)/) { }
0 0 elsif ($_[0] =~ /(.+ri)x$/) { }
0 0 elsif ($_[0] =~ /(.+t)ex$/) { }
0 0 elsif ($_[0] =~ /(.+[aeiuo])x$/) { }
0 0 elsif ($_[0] =~ /(.+[^aeiou])y$/) { }
0 0 elsif ($_[0] =~ /(.+)ee$/) { }
0 0 elsif ($_[0] =~ /(.+)us$/) { }
0 0 elsif ($_[0] =~ /(.+)ch$/) { }
0 0 elsif ($_[0] =~ /(.+)ss$/) { }
86 4 10 if ($_[0] =~ /(^\w[\w\s]+\w)(\s+(of|by)\s+.+)$/) { }
0 10 elsif ($_[0] =~ /(.+ri)ces$/) { }
0 10 elsif ($_[0] =~ /(.+t)ices$/) { }
0 10 elsif ($_[0] =~ /(.+[aeiuo]x)es$/) { }
0 10 elsif ($_[0] =~ /(.+)ies$/) { }
0 10 elsif ($_[0] =~ /(.+)ees$/) { }
0 10 elsif ($_[0] =~ /(.+)ches$/) { }
0 10 elsif ($_[0] =~ /(.+o)ci$/) { }
0 10 elsif ($_[0] =~ /(.+)sses$/) { }
0 10 elsif ($_[0] =~ /(.+ie)s$/) { }
6 4 elsif ($_[0] =~ /(.+[^eiuos])s$/) { }
2 2 elsif ($_[0] =~ /(.+[^aeio])es$/) { }
103 153 25 if (not $_[0] =~ /oci|s$/) { }
0 25 elsif ($_[0] =~ /(.+ri)ces$/) { }
0 25 elsif ($_[0] =~ /(.+t)ices$/) { }
0 25 elsif ($_[0] =~ /(.+[aeiuo]x)es$/) { }
0 25 elsif ($_[0] =~ /(.+)ies$/) { }
0 25 elsif ($_[0] =~ /(.+)ees$/) { }
0 25 elsif ($_[0] =~ /(.+)ches$/) { }
0 25 elsif ($_[0] =~ /(.+)sses$/) { }
0 25 elsif ($_[0] =~ /(.+ie)s$/) { }
17 8 elsif ($_[0] =~ /(.+[^eiuos])s$/) { }
5 3 elsif ($_[0] =~ /(.+[^aeio])es$/) { }
0 3 elsif ($_[0] =~ /(.+o)ci$/) { }
121 0 0 if ($_[0] =~ /(.+ri)ces$/) { }
0 0 elsif ($_[0] =~ /(.+[aeiuo]x)es$/) { }
0 0 elsif ($_[0] =~ /(.+)ies$/) { }
0 0 elsif ($_[0] =~ /(.+)ches$/) { }
0 0 elsif ($_[0] =~ /(.+o)ci$/) { }
0 0 elsif ($_[0] =~ /(.+)sses$/) { }
0 0 elsif ($_[0] =~ /(.+[^eiuos])s$/) { }
0 0 elsif ($_[0] =~ /(.+[^aeio])es$/) { }
144 18 160 if $normalized_concept
157 21 0 if ($concept =~ /^($concept_word_rex)\s?(.*)$/)
169 32 14 if ($pathname =~ s[^($PROTOCOL_RE)://][])