-
Home
-
LearnPress – WordPress LMS Plugin
-
4.0.5
-
Code
-
Classes
- LP_Question_CURD
Total Complexity |
127 |
Dependencies |
5 |
Dependents |
6 |
Total lines |
1,025 |
Lines of code |
617 |
Logical lines of code |
286 |
Comment lines |
241 |
Methods |
30 |
Properties |
0 |
Methods 30
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
change_question_type() |
A |
45 |
15 |
41 |
change_correct_answer() |
A |
42 |
8 |
55 |
_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 |
_load_answer_option_meta() |
S |
50 |
6 |
29 |
duplicate() |
S |
52 |
6 |
24 |
duplicate_answer() |
S |
54 |
6 |
20 |
_convert_answers_multi_choice_to_single_choice() |
S |
57 |
6 |
17 |
delete_answer() |
S |
51 |
5 |
28 |
add_answer() |
S |
48 |
4 |
36 |
load_answer_options() |
S |
56 |
5 |
19 |
_convert_default_answers() |
S |
55 |
5 |
19 |
_load_answer_options() |
S |
53 |
4 |
23 |
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 |
clear() |
S |
65 |
2 |
9 |
delete() |
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 |