STM_LMS_Helpers D

Total Complexity 218
Dependencies 10
Dependents 47
Total lines 934
Lines of code 749
Logical lines of code 402
Comment lines 20
Methods 54
Properties 0

Methods 54

Method Rating Maintainability Complexity Lines of code
masterstudy_lms_check_membership_status()
B
46 21 30
load_content()
B
35 17 81
check_recaptcha()
A
43 8 49
sort_query()
A
43 6 61
send_email()
A
50 8 27
get_client_ip()
A
57 8 17
format_date()
S
53 6 23
get_course_levels()
S
54 6 21
masterstudy_lms_get_user_full_name_or_login()
S
58 6 15
masterstudy_lms_is_post_author_stm_lms_instructor()
S
58 6 15
simplify_db_array()
S
60 6 14
simplify_meta_array()
S
62 6 11
get_posts()
S
53 5 24
array_sanitize()
S
58 5 17
masterstudy_lms_get_post_author_email_by_post_id()
S
59 5 15
in_array_r()
S
65 6 8
masterstudy_lms_get_user_by_email()
S
61 5 13
is_stripe_enabled()
S
62 5 11
display_price()
S
54 4 21
get_course_page_styles()
S
51 3 29
stm_rgba_change_alpha_dynamically()
S
60 4 13
only_array_numbers()
S
62 4 12
set_value_as_key()
S
62 4 11
is_sale_price_active()
S
61 4 11
masterstudy_lms_get_user_email_by_user_id()
S
64 4 10
masterstudy_lms_get_user_email()
S
64 4 10
masterstudy_lms_is_admin_by_email()
S
63 4 10
masterstudy_lms_get_post_author_id_by_post_id()
S
64 4 10
load_modal()
S
60 3 12
masterstudy_lms_get_site_url()
S
64 3 9
course_player_user_dark_mode()
S
66 3 7
masterstudy_lms_is_course_coming_soon()
S
77 3 3
sanitize_fields()
S
64 3 10
masterstudy_lms_get_site_name()
S
67 2 8
masterstudy_lms_send_course_email_once()
S
66 2 8
current_screen()
S
74 2 4
g_recaptcha_enabled()
S
74 2 4
transform_to_wpml_curriculum()
S
73 2 5
get_error_translate()
S
63 2 10
get_current_url()
S
76 2 3
wpcfto_save_settings()
S
70 2 6
masterstudy_lms_get_email_branding_footer_copyright_tags()
S
59 1 14
is_theme_activated()
S
62 1 12
print_svg()
S
70 1 6
safe_output()
S
79 1 3
remove_non_numbers()
S
78 1 3
g_recaptcha_keys()
S
70 1 6
set_html_content_type()
S
81 1 3
get_currency()
S
79 1 3
parse_meta_field()
S
75 1 4
is_pro_plus()
S
80 1 3
is_pro()
S
80 1 3
masterstudy_lms_get_login_url()
S
77 1 3
init()
S
66 1 8