-
Home
-
LearnPress – WordPress LMS Plugin
-
3.2.8.6
-
Code
-
Classes
- LP_Question_CURD
Total Complexity |
125 |
Dependencies |
6 |
Dependents |
6 |
Total lines |
1,001 |
Lines of code |
588 |
Logical lines of code |
288 |
Comment lines |
246 |
Methods |
30 |
Properties |
0 |
Methods 30
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
change_question_type() |
A |
46 |
13 |
37 |
create() |
A |
40 |
10 |
61 |
change_correct_answer() |
A |
43 |
8 |
52 |
_convert_answers_to_true_or_false() |
A |
50 |
9 |
29 |
_load_answer_options() |
A |
48 |
8 |
31 |
_load_answer_option_meta() |
S |
51 |
6 |
26 |
duplicate() |
S |
52 |
6 |
24 |
delete_answer() |
S |
51 |
5 |
28 |
_read_answers() |
S |
53 |
5 |
23 |
_convert_default_answers() |
S |
53 |
5 |
22 |
add_answer() |
S |
49 |
4 |
34 |
load_answer_options() |
S |
56 |
5 |
18 |
update_answer_title() |
S |
50 |
4 |
31 |
_convert_answers_multi_choice_to_single_choice() |
S |
59 |
5 |
15 |
new_answer() |
S |
50 |
4 |
29 |
sort_answers() |
S |
54 |
4 |
22 |
duplicate_answer() |
S |
56 |
3 |
18 |
load() |
S |
59 |
3 |
14 |
delete_question_answer() |
S |
62 |
3 |
11 |
_load_meta() |
S |
62 |
2 |
12 |
_get_question_mark() |
S |
66 |
2 |
8 |
clear() |
S |
65 |
2 |
9 |
delete() |
S |
65 |
2 |
9 |
delete_meta() |
S |
91 |
1 |
2 |
read_meta() |
S |
91 |
1 |
2 |
__construct() |
S |
73 |
1 |
5 |
add_meta() |
S |
91 |
1 |
2 |
get_quiz() |
S |
65 |
1 |
9 |
update() |
S |
82 |
1 |
3 |
update_meta() |
S |
91 |
1 |
2 |