Code Analysis: Discount Rules and Dynamic Pricing for WooCommerce 5.4.0

Class Rating Complexity Lines of code
WCCS_Public_Pricing_Hooks
D
142 479
WCCS_Cart
D
133 291
WCCS_Admin_Ajax
C
112 423
WCCS_Public_Product_Pricing
C
110 379
WCCS_Admin_Html_Element
B
97 216
WCCS_Product_Helpers
B
88 270
WCCS_Product_Price_Replace
B
86 402
WCCS_Cart_Discount
B
77 209
WCCS_Public_Cart_Discount_Hooks
A
74 214
WCCS_DB_Conditions
A
60 212
WCCS_Helpers
A
55 122
WCCS_Cart_Item_Pricing_Discounts
A
54 141
WCCS_Pricing
A
53 123
WCCS_Admin_Settings_Menu
A
52 119
WCCS_Activator
S
50 178
WCCS_Public_Cart_Item_Pricing
S
49 158
WCCS_Cart_Totals
S
47 156
WC_Conditions
S
44 193
WCCS_Cart_Items_Helpers
S
42 93
WCCS_Products
S
41 209
WCCS_Compatibility_Yith_WAPO
S
38 99
WCCS_Comparison
S
38 105
WCCS_Date_Time_Validator
S
38 79
WCCS_Shipping_Method
S
36 118
WCCS_Admin_Assets
S
30 522
WCCS_Compatibility_WOOCS
S
28 89
WCCS_Conditions_Provider
S
26 104
WCCS_Product_Validator
S
26 70
WCCS_Condition_Validator
S
25 56
WCCS_Admin_Conditions_Hooks
S
24 64
WCCS_Background_Process
S
24 102
WCCS_Admin_Notices
S
22 65
WCCS_Updates
S
22 77
WCCS_Compatibility_Product_Addons
S
21 81
WCCS_Background_Updater
S
19 76
WCCS_Total_Discounts
S
19 51
WCCS_Admin_Select_Data_Provider
S
18 65
WCCS_Controller
S
18 60
WCCS_DB
S
18 79
WCCS_Shortcode_Products_List
S
18 49
WCCS_Rules_Helpers
S
17 26
WCCS_Compatibility_Booster_WC
S
16 55
WCCS_Compatibility_TM_EPO
S
16 56
WCCS_Background_Price_Updater
S
16 58
WCCS_Rules_Filter
S
16 31
WCCS_Sorting
S
16 29
WCCS_Discounted_Products_Selector
S
15 50
WCCS_Background_Batch_Price_Updater
S
15 67
WCCS_Public_Total_Discounts_Hooks
S
15 82
WCCS_Compatibilities
S
14 72
WCCS_Shipping_Helpers
S
14 29
WCCS_Compatibility_Product_Feed_Pro
S
13 40
WCCS_Public
S
13 58
WCCS_Products_Selector
S
12 41
WCCS_Public_Products_List
S
11 53
WCCS_Cart_Item_Helpers
S
11 30
WCCS_Abstract_Cache
S
11 48
WCCS_Settings
S
11 28
WCCS_Pricing_Condition_Validator
S
11 38
WCCS_Compatibility_WPC_Product_Bundles
S
10 25
WCCS_Shipping_Condition_Validator
S
10 23
WCCS_DB_Condition_Meta
S
10 54
WCCS_Settings_Manager
S
9 1,062
WCCS_Loader
S
9 35
WCCS_Admin_Controller
S
9 27
WCCS_Public_Controller
S
9 27
WCCS_Service_Manager
S
8 25
WCCS_Public_Shipping_Hooks
S
8 22
WCCS_Compatibility_WC_Bookings
S
8 20
WCCS_Admin_Order_Hooks
S
7 35
WCCS_WC_Extension_Activation
S
7 29
WCCS_Cart_Pricing_Cache
S
6 17
WCCS_Customer
S
6 17
WCCS_Compatibility_WC_Subscriptions
S
6 15
WCCS_Admin_Menu
S
5 35
WCCS_Admin
S
5 40
WCCS_Compatibility_WC_Product_Bundles
S
4 12
WCCS_Shortcode_Bulk_Table
S
3 15

7 more item(s) not shown.