SwpmMiscUtils C

Total Complexity 102
Dependencies 5
Dependents 37
Total lines 814
Lines of code 700
Logical lines of code 261
Comment lines 45
Methods 21
Properties 1

Methods 21

Method Rating Maintainability Complexity Lines of code
get_countries_dropdown()
B
23
11 232
create_mandatory_wp_pages()
B
31 11 149
compare_url()
A
48 13 34
replace_dynamic_tags()
A
39 10 70
get_stripe_api_keys_from_payment_button()
A
48 9 33
get_current_page_url_alt()
A
53 9 19
get_current_page_url()
A
53 8 21
redirect_to_url()
S
55 4 20
get_login_link()
S
59 3 13
get_button_type_name()
S
57 2 17
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
68 2 7
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
show_temporary_message_then_redirect()
S
64 1 9