LP_REST_Courses_Controller A

Total Complexity 75
Dependencies 17
Dependents 1
Total lines 678
Lines of code 481
Logical lines of code 247
Comment lines 81
Methods 12
Properties 0

Methods 12

Method Rating Maintainability Complexity Lines of code
archive_course()
B
36 20 71
purchase_course()
B
34 16 95
enroll_courses()
B
35 16 87
search_courses()
A
37 10 84
retake_course()
S
47 5 37
register_routes()
S
42 1 70
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