Percentage | Lines | ||
---|---|---|---|
HasCacheTrait |
|
0 % | 91 |
SingletonTrait |
|
0 % | 15 |
InflectionOrdinalizeTrait |
|
0 % | 25 |
InflectionHyphenizeTrait |
|
0 % | 12 |
InflectionTableizeTrait |
|
0 % | 15 |
InflectorServiceProvider |
|
0 % | 21 |
InflectionSingularizeTrait |
|
0 % | 143 |
MagicMethodsTrait |
|
50 % | 24 |
InflectionPluralizeTrait |
|
83 % | 133 |
HasDictionaryTrait |
|
88 % | 35 |
CRAP Score | Lines | ||
---|---|---|---|
InflectionSingularizeTrait::doSingularize() | 56 | 22 | |
HasCacheTrait::readCache() | 42 | 12 | |
InflectionOrdinalizeTrait::doOrdinalize() | 30 | 17 | |
HasCacheTrait::getCacheTTL() | 12 | 10 | |
HasCacheTrait::writeCache() | 12 | 6 | |
HasCacheTrait::isCached() | 12 | 9 | |
inflector() | 12 | 6 | |
InflectionPluralizeTrait::doPluralize() | 7 | 23 | |
HasCacheTrait::__destruct() | 6 | 4 | |
HasCacheTrait::hasCacheFile() | 6 | 3 | |