LP_REST_Courses_Controller A

Total Complexity 71
Dependencies 20
Dependents 1
Total lines 762
Lines of code 460
Logical lines of code 268
Comment lines 198
Methods 12
Properties 0

Methods 12

Method Rating Maintainability Complexity Lines of code
list_courses()
B
32 20 96
purchase_course()
B
34 16 95
enroll_courses()
B
35 16 87
continue_course()
S
48 6 35
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