WC_Xendit_CC_Addons B

Total Complexity 89
Dependencies 4
Dependents 0
Total lines 505
Lines of code 274
Logical lines of code 173
Comment lines 147
Methods 19
Properties 1

Methods 19

Method Rating Maintainability Complexity Lines of code
maybe_render_subscription_payment_method()
B
47 18 30
process_pre_order_release_payment()
A
45 9 39
process_subscription_payment()
A
46 9 37
save_source()
A
54 8 19
process_pre_order()
S
50 6 27
process_subscription_payment_by_default_token()
S
55 5 18
validate_subscription_payment_meta()
S
61 4 11
__construct()
S
56 3 16
is_subscription()
S
73 4 4
delete_renewal_meta()
S
67 4 7
process_payment()
S
61 3 12
add_subscription_payment_meta()
S
61 2 12
update_failing_payment_method()
S
66 2 8
delete_resubscribe_meta()
S
71 2 5
remove_order_customer_before_retry()
S
74 2 4
remove_order_source_before_retry()
S
71 2 5
scheduled_subscription_payment()
S
67 2 7
is_pre_order()
S
74 2 4
log()
S
64 2 9