-
Home
-
Sensei LMS – Online Courses, Quizzes, & Learning
-
4.13.1
-
Code
-
Classes
- Sensei_Course_Structure
| Total Complexity |
154 |
| Dependencies |
8 |
| Dependents |
7 |
| Total lines |
954 |
| Lines of code |
552 |
| Logical lines of code |
279 |
| Comment lines |
277 |
| Methods |
27 |
| Properties |
2 |
Methods 27
| Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
| sanitize_item() |
C |
35 |
25 |
81 |
| save_module() |
A |
43 |
13 |
49 |
| sort_structure() |
A |
51 |
12 |
26 |
| flatten_structure() |
A |
49 |
11 |
32 |
| get() |
A |
49 |
11 |
28 |
| save() |
A |
45 |
10 |
41 |
| validate_item_structure() |
A |
49 |
9 |
33 |
| sanitize_structure() |
A |
49 |
7 |
34 |
| update_module() |
S |
53 |
7 |
24 |
| try_get_existing_module_by_slug_or_title_for_author() |
S |
51 |
6 |
28 |
| save_module_order() |
S |
59 |
6 |
14 |
| update_lesson() |
S |
55 |
5 |
19 |
| prepare_module() |
S |
54 |
4 |
20 |
| save_lesson() |
S |
60 |
4 |
14 |
| create_lesson() |
S |
57 |
2 |
17 |
| clear_lesson_associations() |
S |
63 |
3 |
10 |
| get_first_incomplete_lesson_id() |
S |
65 |
3 |
9 |
| create_module() |
S |
62 |
2 |
11 |
| instance() |
S |
70 |
2 |
6 |
| get_module_lessons() |
S |
73 |
2 |
4 |
| get_modules() |
S |
69 |
2 |
7 |
| get_existing_module() |
S |
66 |
2 |
8 |
| get_module_slug() |
S |
69 |
2 |
6 |
| create_quiz() |
S |
59 |
1 |
15 |
| __construct() |
S |
81 |
1 |
3 |
| filter_no_cache_where() |
S |
75 |
1 |
4 |
| prepare_lesson() |
S |
65 |
1 |
9 |