Total Complexity | 24 |
Dependencies | 2 |
Dependents | 0 |
Total lines | 245 |
Lines of code | 94 |
Logical lines of code | 44 |
Comment lines | 108 |
Methods | 10 |
Properties | 3 |
Method | Rating | Maintainability | Complexity | Lines of code |
---|---|---|---|---|
validate_setting() | 52 | 9 | 23 | |
get_error_message() | 63 | 3 | 10 | |
sanitize() | 65 | 3 | 9 | |
get_setting_validations() | 71 | 2 | 5 | |
get_custom_validations() | 69 | 2 | 7 | |
set_error_messages() | 62 | 1 | 12 | |
set_custom_validations() | 64 | 1 | 11 | |
__construct() | 79 | 1 | 3 | |
initialize_settings() | 70 | 1 | 6 | |
set_validations() | 68 | 1 | 8 |