SwpmUtils D

Total Complexity 157
Dependencies 11
Dependents 70
Total lines 742
Lines of code 559
Logical lines of code 347
Comment lines 91
Methods 51
Properties 0

Methods 51

Method Rating Maintainability Complexity Lines of code
get_registration_complete_prompt_link()
A
42 10 49
get_fb_rego_email_field_value()
A
52 8 24
get_formatted_payment_gateway_name()
A
56 8 20
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
is_registration_completion_link_already_used()
S
59 6 13
crypt()
S
53 5 21
get_free_level()
S
54 5 20
csv_pattern_match()
S
59 5 14
csv_equal_match()
S
61 5 12
is_registration_completion_link_invalid()
S
61 5 12
get_user_ip_address()
S
60 4 13
get_paid_member_info()
S
60 4 11
gender_dropdown()
S
69 4 5
is_paid_registration()
S
64 4 8
get_expiration_timestamp()
S
62 3 11
is_rego_form_submitted()
S
66 3 9
get_formatted_expiry_date()
S
63 3 10
membership_level_dropdown()
S
62 3 10
account_state_dropdown()
S
65 3 8
is_multisite_install()
S
69 3 7
do_misc_initial_plugin_setup_tasks()
S
61 2 13
get_incomplete_paid_member_info_by_ip()
S
61 2 12
email_merge_tags()
S
56 1 17
crypt_fallback()
S
69 2 7
sanitize_value_by_array()
S
67 2 8
delete_account_button()
S
63 2 10
is_ajax()
S
79 2 3
get_formatted_date_according_to_wp_settings()
S
65 2 9
swpm_settings_update_capability()
S
68 2 8
has_admin_management_permission()
S
70 2 7
is_subscription_expired()
S
68 2 7
membership_level_id_exists()
S
67 2 8
get_formatted_and_translated_date_according_to_wp_settings()
S
66 2 8
swpm_username_exists()
S
69 1 6
update_wp_user_Role()
S
79 1 3
get_account_state_options()
S
65 1 9
get_all_membership_level_ids()
S
72 1 5
get_membership_level_row_by_id()
S
69 1 6
swpm_sanitize_text()
S
69 1 7
is_first_click_free()
S
68 1 7
_()
S
79 1 3
e()
S
79 1 3
get_restricted_image_url()
S
80 1 3
encrypt_password()
S
69 1 6
is_admin()
S
80 1 3
account_delete_confirmation_ui()
S
67 1 7
get_current_timestamp_for_debug_log()
S
70 1 6
get_current_date_in_wp_zone()
S
70 1 6