WCJ_Add_To_Cart_Button_Visibility S

Total Complexity 36
Dependencies 0
Dependents 0
Total lines 203
Lines of code 102
Logical lines of code 56
Comment lines 85
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
67 4 7
add_to_cart_button_disable_start_per_category()
S
69 4 6
add_to_cart_button_loop_disable_per_category()
S
67 3 7
add_to_cart_button_loop_disable()
S
68 3 6
add_to_cart_button_disable_end()
S
68 3 6
add_to_cart_button_disable_start()
S
71 3 5
add_to_cart_button_archives_content()
S
72 2 5
add_to_cart_button_single_content()
S
72 2 5
add_to_cart_button_loop_disable_all_products()
S
79 1 3
add_to_cart_button_disable_single()
S
80 1 3
add_to_cart_button_disable_archives()
S
80 1 3