SwpmMiscUtils C

Total Complexity 125
Dependencies 8
Dependents 53
Total lines 1,229
Lines of code 1,061
Logical lines of code 347
Comment lines 73
Methods 25
Properties 0

Methods 25

Method Rating Maintainability Complexity Lines of code
get_countries_dropdown()
B
23
11 233
create_mandatory_wp_pages()
B
28
13 176
get_country_name_by_country_code()
A
23
3 225
replace_dynamic_tags()
A
38 11 75
compare_url()
A
48 13 34
get_current_page_url()
A
49 11 29
get_stripe_api_keys_from_payment_button()
A
48 9 33
resend_activation_email_by_member_id()
A
41 7 55
get_current_page_url_alt()
A
53 9 19
get_after_payment_redirect_url()
S
49 6 31
redirect_to_url()
S
55 4 20
get_login_link()
S
55 4 17
get_button_type_name()
S
55 2 19
is_swpm_admin_page()
S
69 3 6
check_user_permission_and_is_admin()
S
66 3 8
get_home_url_without_http_and_www()
S
62 2 11
get_renewal_link()
S
67 2 7
has_email_merge_tag()
S
70 2 6
mail()
S
64 2 9
format_money()
S
66 2 8
load_stripe_lib()
S
69 2 6
format_raw_content_for_front_end_display()
S
61 1 13
show_temporary_message_then_redirect()
S
64 1 9
compare_url_without_http()
S
68 1 7
handle_after_payment_redirect()
S
72 1 5