-
Home
-
LearnPress – WordPress LMS Plugin
-
4.1.6.9
-
Code
-
Classes
- LP_Quiz_CURD
Total Complexity |
72 |
Dependencies |
8 |
Dependents |
8 |
Total lines |
737 |
Lines of code |
422 |
Logical lines of code |
189 |
Comment lines |
182 |
Methods |
26 |
Properties |
0 |
Methods 26
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
add_question() |
A |
42 |
7 |
57 |
duplicate() |
A |
50 |
8 |
28 |
reorder_questions() |
A |
43 |
6 |
49 |
load_questions() |
S |
49 |
5 |
33 |
_load_question_answer_meta() |
S |
52 |
5 |
25 |
create() |
S |
50 |
4 |
31 |
remove_questions() |
S |
52 |
3 |
28 |
load() |
S |
53 |
3 |
21 |
read_question_ids() |
S |
58 |
3 |
16 |
sort_questions() |
S |
58 |
3 |
16 |
_maybe_sort_questions() |
S |
63 |
3 |
11 |
is_exists_question() |
S |
55 |
2 |
21 |
_load_questions() |
S |
67 |
3 |
7 |
sort_question_answers() |
S |
60 |
2 |
14 |
update_question_ids() |
S |
63 |
2 |
11 |
_update_meta_cache() |
S |
65 |
2 |
9 |
get_questions() |
S |
68 |
2 |
7 |
get_quiz_by_question() |
S |
62 |
1 |
13 |
add_meta() |
S |
91 |
1 |
2 |
delete_meta() |
S |
91 |
1 |
2 |
read_meta() |
S |
91 |
1 |
2 |
__construct() |
S |
73 |
1 |
5 |
_callback_sort_questions() |
S |
79 |
1 |
3 |
delete() |
S |
70 |
1 |
6 |
update() |
S |
91 |
1 |
2 |
update_meta() |
S |
79 |
1 |
3 |