SwpmUtils C

Total Complexity 111
Dependencies 9
Dependents 64
Total lines 569
Lines of code 419
Logical lines of code 262
Comment lines 73
Methods 42
Properties 0

Methods 42

Method Rating Maintainability Complexity Lines of code
get_registration_complete_prompt_link()
A
42 10 49
calculate_subscription_period_days()
S
54 7 22
create_wp_user()
S
49 6 34
update_wp_user()
S
55 6 21
subscription_type_dropdown()
S
64 7 8
crypt()
S
53 5 21
get_user_ip_address()
S
60 4 13
gender_dropdown()
S
69 4 5
get_paid_member_info()
S
61 3 11
get_expiration_timestamp()
S
62 3 11
get_free_level()
S
64 3 9
is_multisite_install()
S
69 3 7
is_paid_registration()
S
65 3 8
membership_level_dropdown()
S
62 3 10
account_state_dropdown()
S
65 3 8
get_formatted_expiry_date()
S
63 3 10
do_misc_initial_plugin_setup_tasks()
S
61 2 13
get_incomplete_paid_member_info_by_ip()
S
61 2 12
delete_account_button()
S
63 2 10
get_formatted_date_according_to_wp_settings()
S
65 2 9
sanitize_value_by_array()
S
67 2 8
crypt_fallback()
S
69 2 7
get_formatted_and_translated_date_according_to_wp_settings()
S
66 2 8
is_ajax()
S
79 2 3
has_admin_management_permission()
S
70 2 7
swpm_settings_update_capability()
S
68 2 8
is_subscription_expired()
S
68 2 7
membership_level_id_exists()
S
67 2 8
get_current_timestamp_for_debug_log()
S
70 1 6
encrypt_password()
S
69 1 6
is_first_click_free()
S
68 1 7
get_account_state_options()
S
65 1 9
get_restricted_image_url()
S
80 1 3
account_delete_confirmation_ui()
S
70 1 6
get_all_membership_level_ids()
S
72 1 5
get_current_date_in_wp_zone()
S
70 1 6
get_membership_level_row_by_id()
S
69 1 6
update_wp_user_Role()
S
79 1 3
_()
S
79 1 3
swpm_username_exists()
S
69 1 6
is_admin()
S
80 1 3
e()
S
79 1 3