Total Complexity | 101 |
Dependencies | 4 |
Dependents | 1 |
Total lines | 482 |
Lines of code | 310 |
Logical lines of code | 216 |
Comment lines | 101 |
Methods | 11 |
Properties | 1 |
Method | Rating | Maintainability | Complexity | Lines of code |
---|---|---|---|---|
create_ipn_data_array_from_create_subscription_txn_data() | 40 | 26 | 44 | |
create_ipn_data_array_from_create_order_txn_data() | 42 | 23 | 39 | |
validate_subscription_checkout_txn_data() | 42 | 13 | 47 | |
swpm_onapprove_create_order() | 44 | 8 | 49 | |
swpm_onapprove_create_subscription() | 44 | 8 | 48 | |
validate_buy_now_checkout_txn_data() | 48 | 7 | 31 | |
create_membership_and_save_txn_data() | 51 | 7 | 26 | |
is_txn_already_processed() | 60 | 4 | 11 | |
is_trial_payment() | 69 | 3 | 6 | |
__construct() | 79 | 1 | 3 | |
setup_ajax_request_actions() | 70 | 1 | 6 |