Total Complexity | 29 |
Dependencies | 2 |
Dependents | 1 |
Total lines | 192 |
Lines of code | 140 |
Logical lines of code | 69 |
Comment lines | 13 |
Methods | 11 |
Properties | 1 |
Method | Rating | Maintainability | Complexity | Lines of code |
---|---|---|---|---|
validate_and_sanitize_contact_data() | 47 | 8 | 36 | |
process_contact_save() | 49 | 5 | 31 | |
get_existing_contact_data() | 52 | 3 | 25 | |
maybe_send_welcome_email() | 57 | 2 | 16 | |
update_contact_lists() | 64 | 3 | 9 | |
get_instance() | 71 | 2 | 6 | |
update_contact() | 70 | 2 | 6 | |
__construct() | 82 | 1 | 3 | |
init() | 82 | 1 | 3 | |
register_hooks() | 91 | 1 | 2 | |
save_contact() | 80 | 1 | 3 |