Code Analysis: Discount Rules and Dynamic Pricing for WooCommerce 4.11.0

Class Rating Complexity Lines of code
WCCS_Cart
C
112 236
WCCS_Admin_Ajax
C
111 420
WCCS_Public_Pricing_Hooks
C
106 359
WCCS_Admin_Html_Element
B
93 206
WCCS_Product_Helpers
A
61 175
WCCS_DB_Conditions
A
60 212
WCCS_Admin_Settings_Menu
S
50 117
WCCS_Activator
S
50 174
WCCS_Helpers
S
49 104
WCCS_Public_Cart_Discount_Hooks
S
45 144
WC_Conditions
S
43 178
WCCS_Products
S
41 209
WCCS_Cart_Discount
S
39 116
WCCS_Comparison
S
38 105
WCCS_Compatibility_Yith_WAPO
S
38 99
WCCS_Date_Time_Validator
S
38 79
WCCS_Pricing
S
36 86
WCCS_Shipping_Method
S
36 118
WCCS_Public_Cart_Item_Pricing
S
36 113
WCCS_Public_Product_Pricing
S
35 135
WCCS_Cart_Items_Helpers
S
34 71
WCCS_Admin_Assets
S
30 522
WCCS_Conditions_Provider
S
26 104
WCCS_Compatibility_WOOCS
S
26 82
WCCS_Condition_Validator
S
25 56
WCCS_Product_Validator
S
22 60
WCCS_Updates
S
22 77
WCCS_Admin_Notices
S
22 65
WCCS_Cart_Item_Pricing_Discounts
S
22 58
WCCS_Compatibility_Product_Addons
S
21 81
WCCS_Admin_Conditions_Hooks
S
19 48
WCCS_Background_Updater
S
19 76
WCCS_Controller
S
18 60
WCCS_Shortcode_Products_List
S
18 49
WCCS_Admin_Select_Data_Provider
S
18 65
WCCS_DB
S
18 79
WCCS_Sorting
S
16 29
WCCS_Compatibility_Booster_WC
S
16 55
WCCS_Compatibility_TM_EPO
S
16 56
WCCS_Discounted_Products_Selector
S
15 50
WCCS_Shipping_Helpers
S
14 29
WCCS_Products_Selector
S
12 41
WCCS_Public
S
12 52
WCCS_Rules_Filter
S
12 24
WCCS_Abstract_Cache
S
11 48
WCCS_Public_Products_List
S
11 52
WCCS_Settings
S
11 28
WCCS_Shipping_Condition_Validator
S
10 23
WCCS_Compatibilities
S
10 48
WCCS_DB_Condition_Meta
S
10 54
WCCS_Loader
S
9 35
WCCS_Public_Controller
S
9 27
WCCS_Settings_Manager
S
9 1,048
WCCS_Admin_Controller
S
9 27
WCCS_Public_Shipping_Hooks
S
8 22
WCCS_Compatibility_WC_Bookings
S
8 20
WCCS_Service_Manager
S
7 25
WCCS_WC_Extension_Activation
S
7 29
WCCS_Customer
S
6 17
WCCS_Compatibility_WC_Subscriptions
S
6 15
WCCS_Cart_Pricing_Cache
S
6 17
WCCS_Admin_Menu
S
5 35
WCCS_Admin
S
5 37
WCCS_Clear_Cache
S
3 14
WCCS_Shortcode_Bulk_Table
S
3 15
WCCS_Shortcode_Sale_Flash
S
1 5
WCCS_Deactivator
S
1 2
WCCS_Admin_Conditions_Menu
S
1 7
WCCS_i18n
S
1 7