| Percentage | Lines | ||
|---|---|---|---|
| Language |
|
0 % | 11 |
| GenericLanguageInflectorFactory |
|
45 % | 55 |
| Inflector |
|
55 % | 482 |
| Substitution |
|
100 % | 22 |
| NoopWordInflector |
|
100 % | 5 |
| Transformations |
|
100 % | 19 |
| Uninflected |
|
100 % | 28 |
| Uninflected |
|
100 % | 26 |
| CachedWordInflector |
|
100 % | 16 |
| Substitutions |
|
100 % | 43 |
| CRAP Score | Lines | ||
|---|---|---|---|
| Inflector::seemsUtf8() | 29 | 29 | |
| GenericLanguageInflectorFactory::withSingularRules() | 12 | 11 | |
| GenericLanguageInflectorFactory::withPluralRules() | 12 | 11 | |
| Inflector::unaccent() | 7 | 103 | |
| InflectorFactory::createForLanguage() | 7 | 19 | |
| RulesetInflector::inflect() | 6 | 25 | |
| Inflector::urlize() | 4 | 34 | |
| Transformations::inflect() | 3 | 9 | |
| Substitutions::inflect() | 3 | 17 | |
| Pattern::__construct() | 3 | 8 | |