-
Home
-
LearnPress – WordPress LMS Plugin
-
4.1.3.2
-
Code
-
Classes
- LP_Course_Section
Total Complexity |
44 |
Dependencies |
4 |
Dependents |
2 |
Total lines |
316 |
Lines of code |
152 |
Logical lines of code |
77 |
Comment lines |
105 |
Methods |
18 |
Properties |
4 |
Methods 18
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
get_items() |
A |
52 |
11 |
24 |
_load_items() |
S |
54 |
6 |
22 |
main_class() |
S |
60 |
4 |
13 |
__construct() |
S |
52 |
3 |
25 |
count_items() |
S |
74 |
2 |
4 |
get_items_array() |
S |
67 |
2 |
8 |
has_item() |
S |
65 |
2 |
9 |
get_slug() |
S |
78 |
2 |
3 |
_get_item() |
S |
67 |
2 |
8 |
get_position() |
S |
77 |
2 |
3 |
to_array() |
S |
63 |
1 |
11 |
get_id() |
S |
80 |
1 |
3 |
get_title() |
S |
78 |
1 |
3 |
get_course_id() |
S |
82 |
1 |
3 |
get_order() |
S |
80 |
1 |
3 |
get_description() |
S |
78 |
1 |
3 |
get_completed_items() |
S |
77 |
1 |
4 |
set_position() |
S |
80 |
1 |
3 |