WC_Novalnet_Subscription D

Total Complexity 371
Dependencies 7
Dependents 0
Total lines 1,813
Lines of code 1,086
Logical lines of code 619
Comment lines 510
Methods 49
Properties 1

Methods 49

Method Rating Maintainability Complexity Lines of code
handle_admin_payment_process()
D
29 31 118
generate_subscription_parameters()
C
36 29 67
perform_subscription_post_process()
B
37 23 65
reactivate_subscription_process()
B
44 19 39
update_recurring_payment()
B
39 17 58
novalnet_subscription_renewal_switch_checkout_validation()
B
47 18 30
check_zero_amount_booking()
A
58 13 14
perform_action_api()
A
41 10 56
handle_subscription_switch_completed()
A
51 10 24
update_next_payment_date()
A
47 9 35
replace_nn_failed_order_payment_url()
A
55 10 18
customize_myaccount_subscription_process()
A
48 9 32
update_change_payment_methods_desc()
A
58 10 12
set_subscription_data()
A
51 9 23
cancel_subscription_process()
A
54 9 19
unset_post_meta()
S
59 8 13
check_subscription_payment_method_update()
S
54 7 20
perform_subscription_recurring_amount_update()
S
56 7 17
check_subscription_status()
S
74 8 3
customize_admin_subscription_process()
S
57 7 14
get_subscription_supports()
S
52 6 25
admin_enqueue_scripts()
S
53 6 20
set_flag_for_shopbased_subs()
S
59 6 14
maybe_restrict_edit_address_endpoint()
S
60 6 11
novalnet_subscription_address_validation()
S
60 6 11
admin_transaction_success()
S
51 5 25
novalnet_subscription_cc_fields()
S
43 3 55
suspend_subscription_process()
S
63 6 9
is_shop_based_subs()
S
60 5 12
get_order_subscription_length()
S
58 4 15
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 48
novalnet_fields_after_billing_address()
S
64 4 9
is_shop_based_subs_enabled()
S
67 4 8
get_subscription_change_payment_return_url()
S
65 4 9
add_novalnet_payment_meta_details()
S
50 2 30
get_subscription_success_url()
S
73 4 4
calculate_subscription_period()
S
63 3 11
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_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
novalnet_change_payment_input()
S
72 1 4