LP_REST_Courses_Controller S

Total Complexity 47
Dependencies 15
Dependents 0
Total lines 494
Lines of code 347
Logical lines of code 169
Comment lines 62
Methods 11
Properties 0

Methods 11

Method Rating Maintainability Complexity Lines of code
enroll_courses()
B
37 14 76
search_courses()
A
37 10 84
purchase_course()
A
42 10 50
retake_course()
S
47 5 37
register_routes()
S
43 1 63
update_item()
S
62 2 11
__construct()
S
74 1 5
check_admin_permission()
S
81 1 3
get_items()
S
69 1 7
get_item()
S
68 1 7
delete_item()
S
77 1 4