WC_Gateway_EWAY_Subscriptions A

Total Complexity 53
Dependencies 5
Dependents 0
Total lines 386
Lines of code 170
Logical lines of code 95
Comment lines 128
Methods 16
Properties 0

Methods 16

Method Rating Maintainability Complexity Lines of code
maybe_render_subscription_payment_method()
S
55 7 18
maybe_update_all_subscriptions_payment()
S
58 6 17
maybe_update_payment_method()
S
58 6 16
request_access_code()
S
56 6 16
validate_subscription_payment_meta()
S
61 6 11
process_subscription_payment()
S
59 4 14
get_subscriptions_from_order()
S
67 3 9
set_token_customer_id()
S
65 3 9
get_token_customer_id()
S
67 2 8
order_contains_subscription()
S
78 2 3
is_subscription()
S
69 2 7
scheduled_subscription_payment()
S
69 2 6
add_subscription_payment_meta()
S
63 1 11
check_customer_has_token()
S
63 1 11
__construct()
S
62 1 10
update_failing_payment_method()
S
76 1 4