Sensei_REST_API_Lesson_Quiz_Controller A

Total Complexity 54
Dependencies 5
Dependents 1
Total lines 408
Lines of code 257
Logical lines of code 90
Comment lines 94
Methods 12
Properties 2

Methods 12

Method Rating Maintainability Complexity Lines of code
get_quiz_meta()
A
52 13 22
save_quiz()
A
41 10 56
get_quiz_data()
S
57 7 14
can_user_get_quiz()
S
58 5 14
get_quiz_questions()
S
59 4 15
can_user_save_quiz()
S
59 4 14
get_item_schema()
S
46 1 49
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