YITH_WooCommerce_Question_Answer B

Total Complexity 86
Dependencies 3
Dependents 1
Total lines 844
Lines of code 467
Logical lines of code 206
Comment lines 221
Methods 34
Properties 3

Methods 34

Method Rating Maintainability Complexity Lines of code
is_new_question()
A
50 8 30
is_new_answer()
A
51 8 28
display_plugin_metabox()
A
41 5 71
get_questions()
S
49 5 31
save_plugin_metabox()
S
61 5 12
show_question_answer_tab()
S
55 4 19
add_custom_columns_content()
S
60 4 14
show_question_answer_template()
S
58 3 16
init_post_type()
S
47 1 38
admin_enqueue_styles_scripts()
S
55 2 19
submit_answer_callback()
S
56 2 19
on_plugin_init()
S
68 3 9
get_discussion()
S
65 3 9
plugin_row_meta()
S
69 3 6
before_insert_discussion()
S
65 3 9
__construct()
S
52 1 23
get_instance()
S
72 2 6
load_privacy()
S
75 2 4
show_answers()
S
74 2 5
show_questions()
S
68 2 7
get_questions_count()
S
60 1 15
init_plugin_settings()
S
73 2 4
limit_products_creation()
S
72 2 6
enqueue_styles_scripts()
S
66 2 7
remove_add_product_link()
S
70 2 7
add_plugin_metabox()
S
71 1 6
create_answer()
S
68 1 7
avoid_view_post_link()
S
65 1 8
get_item()
S
76 1 4
show_question()
S
70 1 6
create_question()
S
68 1 7
show_answer()
S
70 1 6
action_links()
S
75 1 4
add_custom_columns_title()
S
71 1 5