-
Home
-
LearnPress – WordPress LMS Plugin
-
4.2.6.9
-
Code
-
Classes
- LP_Question
Total Complexity |
138 |
Dependencies |
10 |
Dependents |
14 |
Total lines |
1,096 |
Lines of code |
530 |
Logical lines of code |
264 |
Comment lines |
400 |
Methods |
51 |
Properties |
8 |
Methods 51
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
_get() |
A |
49 |
11 |
30 |
store() |
A |
44 |
10 |
43 |
get_answer_options() |
A |
49 |
9 |
31 |
get_user_answered() |
A |
51 |
9 |
28 |
get_question() |
A |
48 |
8 |
35 |
setup_data() |
A |
54 |
9 |
20 |
__construct() |
A |
52 |
8 |
23 |
get_question_object() |
S |
60 |
6 |
12 |
create_default_answers() |
S |
52 |
4 |
24 |
get_answers() |
S |
55 |
4 |
19 |
save_user_answer() |
S |
57 |
4 |
17 |
get_data() |
S |
62 |
3 |
12 |
set_type() |
S |
63 |
3 |
11 |
empty_answers() |
S |
56 |
2 |
20 |
get_class_name_from_question_type() |
S |
68 |
3 |
6 |
get_default_answers() |
S |
55 |
1 |
23 |
save() |
S |
68 |
2 |
8 |
_get_checked() |
S |
73 |
2 |
4 |
get() |
S |
73 |
2 |
4 |
_set_checked() |
S |
73 |
2 |
4 |
get_question_class() |
S |
63 |
2 |
10 |
get_supports() |
S |
68 |
2 |
7 |
disable_answers() |
S |
70 |
2 |
6 |
show_correct_answers() |
S |
70 |
2 |
6 |
is_selected_option() |
S |
66 |
2 |
8 |
get_editor_settings() |
S |
63 |
1 |
13 |
get_types() |
S |
62 |
1 |
12 |
_init() |
S |
91 |
1 |
2 |
check() |
S |
69 |
1 |
7 |
get_editor_default_settings() |
S |
65 |
1 |
10 |
load() |
S |
81 |
1 |
3 |
get_default_meta() |
S |
67 |
1 |
8 |
get_mark() |
S |
79 |
1 |
3 |
set_mark() |
S |
79 |
1 |
3 |
set_answered() |
S |
80 |
1 |
3 |
get_answered() |
S |
80 |
1 |
3 |
set_explanation() |
S |
80 |
1 |
3 |
get_answer_at() |
S |
80 |
1 |
3 |
get_explanation() |
S |
78 |
1 |
3 |
can_check_answer() |
S |
82 |
1 |
3 |
get_default_answer() |
S |
65 |
1 |
9 |
set_hint() |
S |
80 |
1 |
3 |
get_hint() |
S |
78 |
1 |
3 |
set() |
S |
81 |
1 |
3 |
sanitize_name_callback() |
S |
79 |
1 |
3 |
get_name() |
S |
80 |
1 |
3 |
_filter_meta_box_meta() |
S |
80 |
1 |
3 |
update_answer_orders() |
S |
80 |
1 |
3 |
get_type() |
S |
82 |
1 |
3 |
add_support() |
S |
74 |
1 |
4 |
get_type_label() |
S |
80 |
1 |
3 |