-
Home
-
LearnPress – WordPress LMS Plugin
-
4.2.7
-
Code
-
Classes
- LP_Question_CURD
Total Complexity |
107 |
Dependencies |
10 |
Dependents |
7 |
Total lines |
978 |
Lines of code |
581 |
Logical lines of code |
277 |
Comment lines |
240 |
Methods |
24 |
Properties |
0 |
Methods 24
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
duplicate_answer() |
A |
40 |
10 |
58 |
change_question_type() |
A |
46 |
11 |
38 |
change_correct_answer() |
A |
42 |
8 |
55 |
_convert_answers_to_true_or_false() |
A |
50 |
9 |
29 |
create() |
A |
43 |
7 |
52 |
new_answer() |
S |
45 |
5 |
46 |
duplicate() |
S |
51 |
6 |
25 |
_convert_answers_multi_choice_to_single_choice() |
S |
57 |
6 |
17 |
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 |
update_answer_title() |
S |
50 |
3 |
32 |
_read_answers() |
S |
52 |
3 |
27 |
delete_answer() |
S |
54 |
3 |
22 |
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 |
update() |
S |
82 |
1 |
3 |
__construct() |
S |
73 |
1 |
5 |