WCJ_Add_To_Cart_Button_Visibility S

Total Complexity 36
Dependencies 0
Dependents 0
Total lines 212
Lines of code 104
Logical lines of code 58
Comment lines 92
Methods 12
Properties 0

Methods 12

Method Rating Maintainability Complexity Lines of code
__construct()
A
43 9 46
add_to_cart_button_disable_end_per_category()
S
66 4 7
add_to_cart_button_disable_start_per_category()
S
68 4 6
add_to_cart_button_loop_disable_per_category()
S
67 3 7
add_to_cart_button_loop_disable()
S
69 3 6
add_to_cart_button_disable_end()
S
69 3 6
add_to_cart_button_disable_start()
S
71 3 5
add_to_cart_button_archives_content()
S
70 2 6
add_to_cart_button_single_content()
S
70 2 6
add_to_cart_button_loop_disable_all_products()
S
79 1 3
add_to_cart_button_disable_single()
S
79 1 3
add_to_cart_button_disable_archives()
S
79 1 3