-
Home
-
LearnPress – WordPress LMS Plugin
-
4.2.2.2
-
Code
-
Classes
- LP_Question_CURD
Total Complexity |
115 |
Dependencies |
10 |
Dependents |
7 |
Total lines |
1,078 |
Lines of code |
599 |
Logical lines of code |
283 |
Comment lines |
313 |
Methods |
28 |
Properties |
0 |
Methods 28
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
duplicate_answer() |
A |
40 |
10 |
58 |
change_correct_answer() |
A |
42 |
8 |
55 |
change_question_type() |
A |
47 |
9 |
36 |
_convert_answers_to_true_or_false() |
A |
50 |
9 |
29 |
create() |
A |
43 |
7 |
52 |
update_answer_title() |
A |
47 |
7 |
38 |
new_answer() |
S |
45 |
5 |
46 |
duplicate() |
S |
51 |
6 |
25 |
_convert_answers_multi_choice_to_single_choice() |
S |
57 |
6 |
17 |
delete_answer() |
S |
51 |
5 |
28 |
add_answer() |
S |
48 |
4 |
36 |
_convert_default_answers() |
S |
55 |
5 |
19 |
load_answer_options() |
S |
56 |
5 |
19 |
sort_answers() |
S |
54 |
4 |
22 |
_read_answers() |
S |
52 |
3 |
27 |
load() |
S |
59 |
3 |
14 |
delete_question_answer() |
S |
62 |
3 |
11 |
_get_question_mark() |
S |
64 |
3 |
9 |
_load_meta() |
S |
62 |
2 |
12 |
delete() |
S |
65 |
2 |
9 |
clear() |
S |
65 |
2 |
9 |
get_quiz() |
S |
63 |
1 |
12 |
delete_meta() |
S |
91 |
1 |
2 |
read_meta() |
S |
91 |
1 |
2 |
__construct() |
S |
73 |
1 |
5 |
add_meta() |
S |
91 |
1 |
2 |
update() |
S |
82 |
1 |
3 |
update_meta() |
S |
91 |
1 |
2 |