Branch Coverage

blib/lib/NNexus/Morphology.pm
Criterion Covered Total %
branch 34 90 37.7


line true false branch
53 17 6 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 12 8 if (not $_[0] =~ /oci|s$/) { }
0 8 elsif ($_[0] =~ /(.+ri)ces$/) { }
0 8 elsif ($_[0] =~ /(.+t)ices$/) { }
0 8 elsif ($_[0] =~ /(.+[aeiuo]x)es$/) { }
0 8 elsif ($_[0] =~ /(.+)ies$/) { }
0 8 elsif ($_[0] =~ /(.+)ees$/) { }
0 8 elsif ($_[0] =~ /(.+)ches$/) { }
0 8 elsif ($_[0] =~ /(.+)sses$/) { }
0 8 elsif ($_[0] =~ /(.+ie)s$/) { }
6 2 elsif ($_[0] =~ /(.+[^eiuos])s$/) { }
1 1 elsif ($_[0] =~ /(.+[^aeio])es$/) { }
0 1 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 0 2 if $normalized_concept
157 2 0 if ($concept =~ /^($concept_word_rex)\s?(.*)$/)
169 0 0 if ($pathname =~ s[^($PROTOCOL_RE)://][])