-
Home
-
Sensei LMS – Online Courses, Quizzes, & Learning
-
4.5.2
-
Code
-
Classes
- Sensei_REST_API_Course_Structure_Controller
| Total Complexity |
24 |
| Dependencies |
6 |
| Dependents |
1 |
| Total lines |
280 |
| Lines of code |
177 |
| Logical lines of code |
43 |
| Comment lines |
72 |
| Methods |
11 |
| Properties |
2 |
Methods 11
| Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
| save_course_structure() |
S |
49 |
6 |
31 |
| can_user_get_structure() |
S |
59 |
3 |
14 |
| get_course_structure() |
S |
60 |
3 |
12 |
| get_schema() |
S |
59 |
2 |
16 |
| get_schema_modules() |
S |
51 |
1 |
30 |
| register_routes() |
S |
52 |
1 |
27 |
| can_user_save_structure() |
S |
62 |
2 |
11 |
| get_schema_lessons() |
S |
53 |
1 |
26 |
| can_current_user_edit_course() |
S |
78 |
2 |
3 |
| get_course() |
S |
75 |
2 |
4 |
| __construct() |
S |
81 |
1 |
3 |