SWPM_PayPal_Utility_Functions S

Total Complexity 28
Dependencies 5
Dependents 9
Total lines 228
Lines of code 162
Logical lines of code 89
Comment lines 40
Methods 15
Properties 0

Methods 15

Method Rating Maintainability Complexity Lines of code
create_billing_plan_for_button()
S
47 4 37
has_plan_details_changed_for_button()
S
55 3 20
check_billing_plan_exists()
S
61 2 12
get_api_environment_mode_from_settings()
S
64 2 10
get_api_base_url_by_environment_mode()
S
70 2 7
get_signup_url_by_environment_mode()
S
70 2 7
get_partner_id_by_environment_mode()
S
70 2 7
get_partner_client_id_by_environment_mode()
S
70 2 7
get_seller_merchant_id_by_environment_mode()
S
64 2 10
get_seller_client_id_by_environment_mode()
S
64 2 10
create_subscription_args_from_button()
S
59 1 14
create_product_params_from_button()
S
67 1 8
create_billing_plan_fresh_new()
S
68 1 7
check_and_create_webhooks_for_this_site()
S
76 1 4
check_current_mode_and_set_notice_if_webhook_not_set()
S
89 1 2