-
Home
-
Sensei LMS – Online Courses, Quizzes, & Learning
-
4.6.1
-
Code
-
Classes
- Sensei_Course_Structure
Total Complexity |
153 |
Dependencies |
8 |
Dependents |
7 |
Total lines |
956 |
Lines of code |
553 |
Logical lines of code |
280 |
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 |
42 |
13 |
50 |
sort_structure() |
A |
51 |
12 |
26 |
flatten_structure() |
A |
49 |
11 |
32 |
save() |
A |
45 |
10 |
41 |
get() |
A |
49 |
10 |
28 |
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 |
get_first_incomplete_lesson_id() |
S |
65 |
3 |
9 |
clear_lesson_associations() |
S |
63 |
3 |
10 |
create_module() |
S |
62 |
2 |
11 |
instance() |
S |
70 |
2 |
6 |
create_quiz() |
S |
59 |
1 |
15 |
get_existing_module() |
S |
66 |
2 |
8 |
get_modules() |
S |
69 |
2 |
7 |
get_module_lessons() |
S |
73 |
2 |
4 |
get_module_slug() |
S |
69 |
2 |
6 |
__construct() |
S |
81 |
1 |
3 |
prepare_lesson() |
S |
65 |
1 |
9 |
filter_no_cache_where() |
S |
75 |
1 |
4 |