-
Home
-
LearnPress – WordPress LMS Plugin
-
3.2.8.6
-
Code
-
Classes
- LP_Install_Sample_Data
Total Complexity |
69 |
Dependencies |
4 |
Dependents |
0 |
Total lines |
628 |
Lines of code |
397 |
Logical lines of code |
196 |
Comment lines |
113 |
Methods |
22 |
Properties |
5 |
Methods 22
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
install() |
A |
42 |
11 |
52 |
uninstall() |
A |
49 |
8 |
32 |
get_answers() |
A |
49 |
8 |
28 |
create_quiz_questions() |
S |
49 |
4 |
32 |
create_quiz() |
S |
45 |
3 |
42 |
create_course() |
S |
51 |
4 |
26 |
create_section_items() |
S |
58 |
4 |
14 |
generate_content() |
S |
57 |
3 |
15 |
i18n() |
S |
59 |
3 |
15 |
create_lesson() |
S |
53 |
2 |
24 |
create_section() |
S |
56 |
2 |
20 |
create_question_answers() |
S |
59 |
2 |
15 |
create_sections() |
S |
64 |
3 |
9 |
__construct() |
S |
61 |
2 |
12 |
_delete_course() |
S |
61 |
2 |
12 |
generate_title() |
S |
64 |
2 |
9 |
_delete_user_items() |
S |
63 |
1 |
10 |
_delete_post() |
S |
72 |
1 |
5 |
_delete_question() |
S |
75 |
1 |
4 |
_delete_quiz() |
S |
75 |
1 |
4 |
get_sample_posts() |
S |
65 |
1 |
9 |
get_question_type() |
S |
67 |
1 |
8 |