Total Complexity | 54 |
Dependencies | 7 |
Dependents | 5 |
Total lines | 335 |
Lines of code | 215 |
Logical lines of code | 100 |
Comment lines | 90 |
Methods | 15 |
Properties | 1 |
Method | Rating | Maintainability | Complexity | Lines of code |
---|---|---|---|---|
sync_payment_methods() | 43 | 14 | 46 | |
handle_before_process_payment() | 48 | 9 | 32 | |
wp_loaded() | 55 | 8 | 20 | |
user_has_id() | 54 | 6 | 21 | |
checkout_update_customer() | 64 | 4 | 10 | |
get_customer_args() | 53 | 2 | 23 | |
get_customer_args_from_order() | 56 | 1 | 18 | |
instance() | 71 | 2 | 6 | |
should_update_customer() | 68 | 2 | 7 | |
get_attribute_keys() | 63 | 1 | 12 | |
__construct() | 72 | 1 | 5 | |
should_create_when_account_exists() | 79 | 1 | 3 | |
should_create_when_payment() | 79 | 1 | 3 | |
create_customer() | 78 | 1 | 3 | |
update_customer() | 70 | 1 | 6 |