WPBDPStrpConnectHelper D

Total Complexity 128
Dependencies 5
Dependents 6
Total lines 806
Lines of code 443
Logical lines of code 243
Comment lines 266
Methods 56
Properties 1

Methods 56

Method Rating Maintainability Complexity Lines of code
get_oauth_redirect_url()
S
51 7 27
post_to_connect_server()
S
51 7 27
check_server_for_oauth_account_id()
S
51 7 27
check_for_stripe_connect_ajax_actions()
S
55 6 18
post_with_authenticated_body()
S
54 4 23
verify()
S
58 4 15
check_server_for_connected_account_status()
S
58 4 15
get_event()
S
61 4 12
render_settings()
S
56 3 18
handle_reauth()
S
59 3 16
get_mode_value_from_post()
S
66 4 7
maybe_fix_wpml_url()
S
67 4 7
check_for_stripe_connect_webhooks()
S
69 4 7
create_subscription()
S
62 3 11
get_customer_id()
S
62 3 11
get_events()
S
67 3 7
validate_response()
S
77 3 3
create_checkout_session()
S
67 3 7
get_unprocessed_event_ids()
S
68 3 7
build_headers_for_post()
S
59 2 14
get_plan()
S
73 2 4
strip_lang_from_url()
S
68 2 7
get_active_mode_option_name_suffix()
S
71 2 6
create_coupon()
S
73 2 4
validate_customer()
S
73 2 4
get_uuid()
S
65 2 9
maybe_get_pro_license()
S
75 2 4
latest_error_message()
S
79 2 3
get_charge()
S
68 2 7
at_least_one_mode_is_setup()
S
78 2 3
try_to_extend_server_timeout()
S
73 2 5
process_event()
S
78 1 3
generate_client_password()
S
72 1 5
cancel_subscription()
S
71 1 5
user_landed_on_the_oauth_return_url()
S
79 1 3
create_plan()
S
78 1 3
get_account_id()
S
79 1 3
handle_disconnect()
S
74 1 5
register_settings_scripts()
S
74 1 4
handle_oauth()
S
71 1 6
disconnect()
S
71 1 6
get_url_to_connect_server()
S
81 1 3
get_standard_authenticated_body()
S
66 1 8
redirect_oauth()
S
72 1 5
get_stripe_details_submitted_option_name()
S
78 1 3
set_stripe_details_as_submitted()
S
78 1 3
get_server_side_token_option_name()
S
78 1 3
stripe_icon()
S
80 1 5
get_client_side_token_option_name()
S
78 1 3
stripe_connect_is_setup()
S
79 1 3
pull_response_body()
S
72 1 5
get_account_id_option_name()
S
78 1 3
get_strp_connect_option_name()
S
78 1 3
get_url_for_stripe_settings()
S
78 1 3
reset_stripe_connect_integration()
S
69 1 7
render_stripe_connect_settings_container()
S
70 1 8