SwpmMiscUtils B

Total Complexity 99
Dependencies 5
Dependents 37
Total lines 792
Lines of code 687
Logical lines of code 254
Comment lines 42
Methods 20
Properties 1

Methods 20

Method Rating Maintainability Complexity Lines of code
get_countries_dropdown()
B
24
11 231
create_mandatory_wp_pages()
B
31 11 149
compare_url()
A
48 13 34
replace_dynamic_tags()
A
40 9 66
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 20
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
66 2 9
format_raw_content_for_front_end_display()
S
61 1 13
show_temporary_message_then_redirect()
S
64 1 9