LP_REST_Courses_Controller A

Total Complexity 69
Dependencies 22
Dependents 1
Total lines 651
Lines of code 458
Logical lines of code 254
Comment lines 100
Methods 12
Properties 0

Methods 12

Method Rating Maintainability Complexity Lines of code
purchase_course()
B
35 16 92
list_courses()
B
34 15 89
enroll_courses()
B
36 15 81
continue_course()
A
44 9 48
retake_course()
S
46 6 40
register_routes()
S
41 1 71
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