SwpmMiscUtils C

Total Complexity 120
Dependencies 6
Dependents 53
Total lines 1,174
Lines of code 1,016
Logical lines of code 315
Comment lines 71
Methods 25
Properties 1

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
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
has_tag()
S
70 2 6
get_renewal_link()
S
67 2 7
output_stripe_sca_frontend_scripts_once()
S
64 2 10
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