SwpmMiscUtils C

Total Complexity 111
Dependencies 5
Dependents 45
Total lines 1,097
Lines of code 971
Logical lines of code 287
Comment lines 51
Methods 23
Properties 1

Methods 23

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
compare_url()
A
48 13 34
replace_dynamic_tags()
A
39 10 70
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
redirect_to_url()
S
55 4 20
get_login_link()
S
59 3 13
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
format_money()
S
66 2 8
load_stripe_lib()
S
69 2 6
mail()
S
64 2 9
output_stripe_sca_frontend_scripts_once()
S
64 2 10
has_tag()
S
70 2 6
format_raw_content_for_front_end_display()
S
61 1 13
compare_url_without_http()
S
68 1 7
show_temporary_message_then_redirect()
S
64 1 9