Total Complexity | 224 |
Dependencies | 9 |
Dependents | 19 |
Total lines | 1,526 |
Lines of code | 1,085 |
Logical lines of code | 637 |
Comment lines | 41 |
Methods | 47 |
Properties | 0 |
Method | Rating | Maintainability | Complexity | Lines of code |
---|---|---|---|---|
save_user_info() | 35 | 18 | 86 | |
stm_lms_register() | 34 | 14 | 103 | |
stm_lms_lost_password() | 36 | 14 | 78 | |
extra_fields_display() | 35 | 12 | 105 | |
_get_user_courses() | 36 | 14 | 74 | |
stm_lms_change_avatar() | 40 | 13 | 59 | |
get_current_user() | 43 | 12 | 45 | |
has_course_access() | 49 | 9 | 29 | |
get_user_quizzes() | 47 | 7 | 33 | |
apply_for_instructor() | 49 | 7 | 31 | |
save_extra_fields() | 54 | 7 | 21 | |
become_instructor_block() | 61 | 7 | 11 | |
get_wishlist() | 58 | 6 | 16 | |
hide_become_instructor_notice() | 60 | 6 | 12 | |
enterprise() | 47 | 4 | 37 | |
display_name() | 64 | 6 | 8 | |
is_wishlisted() | 59 | 5 | 13 | |
wishlist() | 52 | 4 | 25 | |
stm_lms_set_user_role() | 62 | 4 | 11 | |
stm_lms_login() | 52 | 3 | 24 | |
init() | 46 | 2 | 36 | |
check_restore_token() | 63 | 4 | 9 | |
user_page_url() | 69 | 4 | 5 | |
verify_user() | 61 | 3 | 11 | |
stm_lms_restore_password() | 55 | 2 | 19 | |
curriculum_url() | 67 | 3 | 7 | |
remove_admin_bar() | 73 | 3 | 5 | |
wishlist_url() | 70 | 3 | 5 | |
user_public_page_url() | 70 | 3 | 5 | |
stm_lms_delete_avatar() | 62 | 2 | 11 | |
extra_fields() | 54 | 1 | 24 | |
_handle_premoderation() | 53 | 1 | 23 | |
_register_user() | 55 | 1 | 21 | |
login_page_url() | 73 | 2 | 4 | |
wsl_new_register_redirect_url() | 69 | 2 | 7 | |
move_wishlist_to_user() | 70 | 2 | 5 | |
redirect() | 74 | 2 | 5 | |
custom_hidden_meta_boxes() | 67 | 2 | 8 | |
get_user_courses() | 68 | 2 | 6 | |
additional_fields() | 62 | 1 | 13 | |
js_redirect() | 73 | 1 | 6 | |
user_logged_in() | 76 | 1 | 4 | |
remove_user() | 82 | 1 | 3 | |
get_user_meta() | 78 | 1 | 3 | |
rating_fields() | 65 | 1 | 10 | |
update_wishlist() | 77 | 1 | 3 | |
stm_lms_logout() | 71 | 1 | 6 |