Sensei_REST_API_Lesson_Quiz_Controller A

Total Complexity 65
Dependencies 5
Dependents 1
Total lines 550
Lines of code 360
Logical lines of code 108
Comment lines 122
Methods 12
Properties 2

Methods 12

Method Rating Maintainability Complexity Lines of code
get_quiz_meta()
B
45 17 35
get_quiz_data()
A
44 14 39
save_quiz()
A
41 10 57
get_item_schema()
S
36 1 113
can_user_get_quiz()
S
58 5 14
get_quiz_questions()
S
59 4 15
can_user_save_quiz()
S
59 4 14
sanitize_questions()
S
63 3 11
register_routes()
S
48 1 40
validate_questions()
S
65 3 9
get_quiz()
S
63 2 10
__construct()
S
81 1 3