WC_Novalnet_Subscription D

Total Complexity 376
Dependencies 6
Dependents 0
Total lines 1,819
Lines of code 1,112
Logical lines of code 618
Comment lines 502
Methods 49
Properties 1

Methods 49

Method Rating Maintainability Complexity Lines of code
handle_admin_payment_process()
D
27
32 141
generate_subscription_parameters()
C
36 29 67
perform_subscription_post_process()
B
37 23 66
reactivate_subscription_process()
B
44 19 39
update_recurring_payment()
B
39 17 58
novalnet_subscription_renewal_switch_checkout_validation()
B
47 18 30
perform_action_api()
A
39 11 61
check_zero_amount_booking()
A
58 13 14
unset_post_meta()
A
57 11 15
handle_subscription_switch_completed()
A
51 10 24
update_next_payment_date()
A
47 9 34
replace_nn_failed_order_payment_url()
A
55 10 18
customize_myaccount_subscription_process()
A
48 9 32
set_subscription_data()
A
51 9 23
cancel_subscription_process()
A
54 9 19
admin_enqueue_scripts()
A
53 8 19
check_subscription_payment_method_update()
S
54 7 20
get_order_subscription_length()
S
55 7 18
perform_subscription_recurring_amount_update()
S
56 7 17
update_change_payment_methods_desc()
S
61 8 10
check_subscription_status()
S
74 8 3
customize_admin_subscription_process()
S
57 7 14
get_subscription_supports()
S
52 6 25
novalnet_subscription_address_validation()
S
60 6 11
maybe_restrict_edit_address_endpoint()
S
60 6 11
novalnet_subscription_cc_fields()
S
43 3 55
suspend_subscription_process()
S
63 6 9
is_shop_based_subs()
S
60 5 12
set_flag_for_shopbased_subs()
S
62 5 11
stop_gateway_based_subscription()
S
60 4 14
get_subscription_id()
S
61 4 13
check_payment_title()
S
62 4 11
__construct()
S
42 1 49
add_novalnet_payment_meta_details()
S
49 2 34
is_shop_based_subs_enabled()
S
67 4 8
get_subscription_success_url()
S
73 4 4
novalnet_fields_after_billing_address()
S
65 4 8
get_subscription_change_payment_return_url()
S
65 4 9
calculate_subscription_period()
S
63 3 11
novalnet_subscription_ach_fields()
S
58 2 18
is_subscription()
S
77 3 3
subscription_error_process()
S
63 3 10
novalnet_wcs_order_recalculate_success()
S
69 3 6
disable_subscription_switch()
S
65 3 10
novalnet_change_payment_input()
S
68 2 6
novalnet_subscription_sepa_fields()
S
68 2 7
create_renewal_order()
S
71 2 6
cart_contains_subscription()
S
79 2 3
instance()
S
72 2 6