SwedbankPay\Checkout\WooCommerce\WC_Swedbank_Subscriptions A

Total Complexity 62
Dependencies 7
Dependents 0
Total lines 476
Lines of code 275
Logical lines of code 137
Comment lines 135
Methods 15
Properties 0

Methods 15

Method Rating Maintainability Complexity Lines of code
add_subscription_card_id()
A
47 8 36
filter_tokens()
A
54 8 22
validate_subscription_payment_meta()
S
54 7 20
scheduled_subscription_payment()
S
49 6 31
maybe_render_subscription_payment_method()
S
53 6 23
save_subscription_payment_meta()
S
57 6 16
save_new_payment_method_option_html()
S
55 5 18
wcs_cart_has_subscription()
S
61 5 12
payment_meta_input()
S
53 3 20
__construct()
S
46 1 49
get_payment_gateway()
S
68 2 7
wcs_is_payment_change()
S
75 2 4
add_subscription_payment_meta()
S
63 1 11
update_failing_payment_method()
S
89 1 2
delete_resubscribe_meta()
S
77 1 4