LP_REST_Admin_Tools_Controller A

Total Complexity 65
Dependencies 20
Dependents 0
Total lines 645
Lines of code 487
Logical lines of code 252
Comment lines 105
Methods 17
Properties 0

Methods 17

Method Rating Maintainability Complexity Lines of code
admin_notices()
A
38 10 75
create_indexes()
A
43 8 54
clean_tables()
A
48 7 34
remove_user_from_course()
S
49 7 29
add_user_to_course()
S
45 6 42
assign_courses_to_users()
S
49 6 30
register_routes()
S
43 1 68
search_users()
S
51 3 26
clear_user_items_if_exist()
S
53 3 24
search_roles()
S
56 3 19
clear_user_items_cache()
S
55 3 18
clear_user_items_relationship_if_exist()
S
57 2 16
search_courses()
S
57 2 16
get_list_tables_indexs()
S
55 1 19
__construct()
S
74 1 5
update_course_cache()
S
66 1 8
check_permission()
S
76 1 4