Total Complexity | 23 |
Dependencies | 2 |
Dependents | 0 |
Total lines | 122 |
Lines of code | 95 |
Logical lines of code | 55 |
Comment lines | 0 |
Methods | 11 |
Properties | 2 |
Method | Rating | Maintainability | Complexity | Lines of code |
---|---|---|---|---|
wc_api_request_payment() | 49 | 8 | 28 | |
wc_api_payment_complete() | 60 | 3 | 13 | |
__construct() | 59 | 2 | 13 | |
payment_window_mode() | 71 | 2 | 7 | |
add_approval_request_params() | 67 | 2 | 8 | |
get_merchant_id() | 79 | 1 | 3 | |
get_merchant_key() | 79 | 1 | 3 | |
add_register_order_request_params() | 68 | 1 | 7 | |
add_cancel_request_params() | 68 | 1 | 7 | |
get_subscription_meta_key() | 80 | 1 | 3 | |
issue_bill_key_when_change_payment_method() | 83 | 1 | 3 |