Total Complexity | 70 |
Dependencies | 8 |
Dependents | 1 |
Total lines | 1,021 |
Lines of code | 426 |
Logical lines of code | 201 |
Comment lines | 436 |
Methods | 16 |
Properties | 4 |
Method | Rating | Maintainability | Complexity | Lines of code |
---|---|---|---|---|
send_purchase_data() | 30 | 13 | 147 | |
subscribe_customer() | 38 | 15 | 80 | |
maybe_subscribe_customer() | 41 | 10 | 56 | |
custom_field_data() | 49 | 9 | 31 | |
get_orders_not_sent_to_convertkit() | 50 | 4 | 33 | |
name() | 59 | 3 | 15 | |
__construct() | 62 | 3 | 11 | |
should_opt_in_customer() | 63 | 3 | 11 | |
purchase_data_sent() | 64 | 3 | 10 | |
send_purchase_data_action() | 79 | 1 | 3 | |
mark_purchase_data_sent() | 73 | 1 | 5 | |
mark_customer_opted_in() | 73 | 1 | 5 | |
email() | 73 | 1 | 5 | |
first_name() | 73 | 1 | 5 | |
last_name() | 73 | 1 | 5 | |
remove_name_from_address() | 75 | 1 | 4 |