LP_REST_Courses_Controller B

Total Complexity 84
Dependencies 19
Dependents 1
Total lines 806
Lines of code 494
Logical lines of code 288
Comment lines 204
Methods 12
Properties 0

Methods 12

Method Rating Maintainability Complexity Lines of code
list_courses()
D
28
31 127
purchase_course()
B
34 16 95
enroll_courses()
B
35 16 87
continue_course()
A
46 8 38
retake_course()
S
47 5 37
register_routes()
S
41 1 73
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