LP_REST_Courses_Controller A

Total Complexity 73
Dependencies 21
Dependents 1
Total lines 665
Lines of code 466
Logical lines of code 265
Comment lines 100
Methods 12
Properties 0

Methods 12

Method Rating Maintainability Complexity Lines of code
list_courses()
B
32 19 96
purchase_course()
B
35 16 91
enroll_courses()
B
36 15 81
continue_course()
A
44 9 48
retake_course()
S
46 6 40
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