LP_REST_Users_Controller S

Total Complexity 44
Dependencies 16
Dependents 1
Total lines 701
Lines of code 344
Logical lines of code 173
Comment lines 273
Methods 15
Properties 5

Methods 15

Method Rating Maintainability Complexity Lines of code
submit_quiz_new()
A
38 11 70
start_quiz()
A
37 10 76
check_answer()
S
45 6 40
register_routes()
S
41 1 74
sanitize_arg()
S
66 4 9
update_item()
S
62 2 11
get_item_endpoint_args()
S
59 1 16
validate_arg()
S
66 2 7
__construct()
S
74 1 5
check_admin_permission()
S
81 1 3
enroll_course()
S
72 1 6
hint_answer()
S
65 1 9
get_items()
S
69 1 7
get_item()
S
68 1 7
delete_item()
S
77 1 4