YITH_Woocompare_Frontend D

Total Complexity 147
Dependencies 3
Dependents 2
Total lines 894
Lines of code 480
Logical lines of code 287
Comment lines 286
Methods 25
Properties 10

Methods 25

Method Rating Maintainability Complexity Lines of code
get_products_list()
B
36 21 75
compare_table_html()
A
44 13 37
compare_button_sc()
A
43 12 51
populate_products_list()
A
52 11 22
add_compare_link()
A
54 10 17
add_product_to_compare_action()
S
59 8 12
remove_product_from_compare_action()
S
59 8 12
list_products_html()
S
51 7 25
remove_product_from_compare_ajax()
S
57 7 15
add_product_to_compare_ajax()
S
54 6 20
enqueue_scripts()
S
48 5 28
init_variables()
S
61 6 11
stylesheet_url()
S
49 4 32
fields()
S
57 5 17
remove_product_from_compare()
S
59 4 13
__construct()
S
53 3 22
reload_widget_list_ajax()
S
65 4 8
add_product_url()
S
62 3 11
view_table_url()
S
61 3 11
wc_get_product()
S
75 2 4
vars()
S
65 1 9
remove_all_styles()
S
66 1 9
add_product_to_compare()
S
71 1 5
remove_product_url()
S
68 1 7
actions_before_load_popup()
S
70 1 7