Goopter_WC_Gateway_PPCP D

Total Complexity 248
Dependencies 8
Dependents 2
Total lines 1,151
Lines of code 1,037
Logical lines of code 591
Comment lines 27
Methods 40
Properties 24

Methods 40

Method Rating Maintainability Complexity Lines of code
generate_checkbox_enable_paypal_apple_pay_html()
C
31 26 115
process_payment()
C
32 26 102
generate_checkbox_enable_paypal_google_pay_html()
B
35 15 88
payment_fields()
B
48 18 32
goopter_get_settings()
A
41 14 52
goopter_ppcp_admin_notices()
A
41 13 58
enqueue_scripts()
A
50 14 22
generate_checkbox_enable_paypal_vault_html()
A
38 10 77
process_refund()
A
46 12 38
generate_goopter_ppcp_onboarding_html()
A
50 10 25
goopter_get_signup_link()
A
49 9 30
process_admin_options()
A
47 7 34
goopter_ppcp_display_order_fee()
S
49 6 31
get_saved_payment_method_option_html()
S
50 5 29
form()
S
47 4 37
get_title()
S
57 5 17
can_refund_order()
S
63 5 11
subscription_change_payment()
S
54 4 20
free_signup_order_payment()
S
56 4 17
generate_goopter_ppcp_text_html()
S
51 3 29
__construct()
S
55 3 19
goopter_defined_hooks()
S
61 3 11
generate_copy_text_html()
S
50 1 32
track_option_changes()
S
68 3 7
generate_color_picker_html()
S
58 1 17
get_icon()
S
72 2 4
validate_color_picker_field()
S
77 2 3
validate_checkbox_enable_paypal_apple_pay_field()
S
78 2 3
validate_checkbox_enable_paypal_vault_field()
S
78 2 3
payment_gateways_support_tooltip()
S
67 2 7
is_available()
S
79 2 3
init_form_fields()
S
66 2 8
goopter_ppcp_process_free_signup_with_free_trial()
S
71 2 6
add_payment_method()
S
72 2 6
get_transaction_url()
S
65 2 9
process_subscription_payment()
S
69 2 7
validate_checkbox_enable_paypal_google_pay_field()
S
78 2 3
save_payment_method_checkbox()
S
64 1 11
setup_properties()
S
67 1 7
is_valid_for_use()
S
65 1 7