-
Home
-
LearnPress – WordPress LMS Plugin
-
4.0.5
-
Code
-
Classes
- LP_Section_CURD
Total Complexity |
59 |
Dependencies |
4 |
Dependents |
3 |
Total lines |
679 |
Lines of code |
371 |
Logical lines of code |
172 |
Comment lines |
195 |
Methods |
22 |
Properties |
1 |
Methods 22
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
new_item() |
A |
47 |
8 |
35 |
update_final_item() |
A |
49 |
8 |
29 |
update_section_items() |
S |
46 |
5 |
42 |
add_items_section() |
S |
43 |
4 |
51 |
get_section_items() |
S |
57 |
6 |
16 |
sort_sections() |
S |
53 |
4 |
23 |
update_item() |
S |
55 |
3 |
21 |
update() |
S |
55 |
2 |
21 |
check_item_exist() |
S |
67 |
3 |
8 |
clear() |
S |
58 |
2 |
14 |
create() |
S |
55 |
1 |
20 |
read_items() |
S |
58 |
1 |
18 |
read_sections_ids() |
S |
64 |
2 |
9 |
get_last_number_order() |
S |
68 |
2 |
6 |
remove_section_item() |
S |
60 |
1 |
15 |
parse() |
S |
62 |
1 |
13 |
load() |
S |
91 |
1 |
2 |
duplicate() |
S |
91 |
1 |
2 |
item_section_exist() |
S |
66 |
1 |
8 |
get_item_section() |
S |
69 |
1 |
6 |
delete() |
S |
64 |
1 |
9 |
__construct() |
S |
81 |
1 |
3 |