| Percentage | Lines | ||
|---|---|---|---|
| Setting |
|
91 % | 344 |
| SettingsServiceProvider |
|
100 % | 15 |
| CRAP Score | Lines | ||
|---|---|---|---|
| Setting::setValue() | 15 | 23 | |
| Setting::getValueAttribute() | 11 | 27 | |
| Setting::getValueAsStringAttribute() | 11 | 26 | |
| Setting::setTypeAttribute() | 9 | 23 | |
| Setting::hasValue() | 6 | 8 | |
| Setting::getValueAsString() | 3 | 9 | |
| Setting::getValue() | 3 | 11 | |
| Setting::asJson() | 3 | 7 | |
| Setting::getValidationRules() | 3 | 15 | |
| Setting::remove() | 2 | 7 | |