Code Analysis: WooCommerce 4.9.1

Class Rating Complexity Lines of code
WC_API_Products
D
527 1,995
WC_AJAX
D
497 1,936
WC_API_Products
D
387 1,417
WC_Abstract_Order
D
322 1,041
WC_REST_Products_V2_Controller
D
306 1,789
WC_API_Orders
D
298 1,097
WC_Cart
D
297 946
WC_REST_Products_V1_Controller
D
289 1,957
WC_API_Orders
D
286 1,059
WC_Product
D
282 731
WC_Product_Data_Store_CPT
D
276 1,323
WC_Form_Handler
D
271 742
WC_Order
D
260 893
WC_Checkout
D
232 729
WC_Admin_Setup_Wizard
D
222 1,685
WC_Helper
D
221 1,071
Automattic\WooCommerce\Admin\API\Reports\DataStore
D
213 698
WC_Product_CSV_Importer
D
189 644
Automattic\WooCommerce\Admin\Features\Onboarding
D
175 718
WC_Discounts
D
166 502
Automattic\WooCommerce\Admin\Loader
D
165 811
WC_Query
D
162 501
WC_Coupon
D
159 445
WC_REST_Legacy_Products_Controller
D
159 464
WC_Admin_Post_Types
D
155 600
WC_REST_Orders_V2_Controller
D
152 1,425
WC_Order_Data_Store_CPT
D
150 666
WC_Admin_Settings
D
150 655
WC_Tax
D
146 655
WC_Install
D
146 992
WC_REST_Products_Controller
D
145 1,077
WC_REST_Product_Reviews_Controller
D
140 759
WC_Geo_IP
D
132 384
WC_REST_Orders_V1_Controller
D
129 1,250
WC_Abstract_Legacy_Order
C
124 429
ActionScheduler_wpPostStore
C
123 550
WC_Data
C
121 374
WC_Customer
C
119 370
WC_Webhook
C
116 467
WC_Admin_Report
C
115 478
WC_Meta_Box_Product_Data
C
113 352
WC_Admin_List_Table_Orders
C
112 574
WC_Admin_Notices
C
111 315
WC_Abstract_Legacy_Product
C
110 339
WC_Product_Importer
C
108 431
WC_Countries
C
107 1,126
WC_Email
C
106 491
WC_Download_Handler
C
105 357
WC_Cart_Totals
C
104 413
Automattic\WooCommerce\Blocks\StoreApi\Utilities\CartController
C
102 522
WC_Product_Variable_Data_Store_CPT
B
99 432
WC_Product_CSV_Exporter
B
99 356
WC_API_Server
B
99 349
WC_REST_System_Status_V2_Controller
B
98 974
ActionScheduler_DBStore
B
97 474
Automattic\WooCommerce\Admin\API\Reports\TimeInterval
B
94 365
WooCommerce
B
94 448
WC_API_Customers
B
93 461
WC_API_Customers
B
93 452
WC_API_Server
B
93 351
WC_API_Server
B
92 350
WC_Data_Store_WP
B
92 339
WC_REST_Terms_Controller
B
92 503
Automattic\WooCommerce\Admin\API\Reports\Customers\DataStore
B
89 503
WC_Admin_List_Table_Products
B
88 360
WC_Admin_Addons
B
88 503
Automattic\WooCommerce\Admin\API\Reports\Segmenter
B
85 344
WC_REST_Product_Variations_V2_Controller
B
84 746
WC_Eval_Math
B
83 233
WC_Shortcodes
B
81 410
WC_API_Taxes
B
80 360
WC_Shipping_Method
B
80 213
WC_Widget_Layered_Nav
B
79 317
WC_CLI_REST_Command
B
79 257
WC_Regenerate_Images
B
79 246
WC_REST_Product_Variations_Controller
B
79 664
WC_Gateway_Paypal
B
78 273
WC_API_Resource
B
77 225
WC_API_Resource
B
77 227
WC_REST_Posts_Controller
B
77 379
WC_API_Coupons
A
75 337
WC_API_Coupons
A
75 337
WC_Emails
A
75 392
WC_REST_Controller
A
75 318
WC_Meta_Box_Order_Data
A
74 495
WC_REST_Customers_V1_Controller
A
74 642
Automattic\WooCommerce\Blocks\StoreApi\Utilities\ProductQuery
A
74 293
WC_Frontend_Scripts
A
72 455
Automattic\WooCommerce\Admin\API\Reports\PerformanceIndicators\Controller
A
70 403
WC_Cart_Session
A
69 256
WC_Legacy_Cart
A
68 248
WC_Order_Item
A
67 176
WC_Coupon_Data_Store_CPT
A
67 420
WC_API_Resource
A
67 185
WC_API_Webhooks
A
67 260
WC_API_Webhooks
A
67 260
WC_Structured_Data
A
67 350
WC_Product_Variation_Data_Store_CPT
A
67 323
Automattic\WooCommerce\Admin\API\Reports\Orders\DataStore
A
64 338
WC_REST_Webhooks_V1_Controller
A
64 463
WC_Shortcode_Checkout
A
63 164
WC_Helper_Updater
A
62 285
WC_REST_Legacy_Orders_Controller
A
60 159
WC_REST_Taxes_V1_Controller
A
60 439
WC_Widget
A
60 211
WC_CSV_Exporter
A
59 194
WC_Shortcode_My_Account
A
58 228
Automattic\WooCommerce\Admin\PageController
A
58 230
WC_Gateway_COD
A
58 210
Automattic\WooCommerce\Admin\API\Plugins
A
57 520
ActionScheduler
A
57 185
WC_REST_Orders_Controller
A
57 148
WC_Admin_Webhooks
A
56 194
ActionScheduler_ListTable
A
55 332
Automattic\WooCommerce\Admin\API\OnboardingTasks
A
54 368
Automattic\WooCommerce\Admin\API\Reports\Orders\Stats\DataStore
A
52 436
WC_Webhook_Data_Store
A
52 287
Automattic\WooCommerce\Blocks\StoreApi\Schemas\ProductSchema
A
51 593
WC_REST_System_Status_Tools_V2_Controller
S
50 447
WC_Shipping_Legacy_Flat_Rate
S
50 224
WC_Report_Downloads
S
49 214
WC_Admin_Assets
S
49 384
WC_Regenerate_Images_Request
S
47 145
WC_REST_Payment_Gateways_V2_Controller
S
45 308
WC_Admin_Attributes
S
45 359
WC_Auth
S
45 241
Automattic\WooCommerce\Admin\API\Reports\Products\DataStore
S
45 314
WC_Customer_Data_Store
S
44 308
WC_REST_Coupons_V1_Controller
S
43 392
WC_Report_Sales_By_Category
S
42 321
Automattic\WooCommerce\Admin\API\Reports\Variations\DataStore
S
42 218
Automattic\WooCommerce\Admin\Notes\DataStore
S
42 289
WC_API_XML_Handler
S
42 140
WC_Post_Types
S
41 542
WC_Admin_Importers
S
41 199
WC_CLI_Runner
S
38 159
WC_API_Reports
S
38 176
WC_API_Reports
S
38 179
Automattic\WooCommerce\Blocks\BlockTypes\Checkout
S
37 169
Automattic\WooCommerce\Blocks\StoreApi\Routes\CartUpdateCustomer
S
37 112
WC_Legacy_Coupon
S
37 133
WC_Privacy_Erasers
S
37 239
WC_Report_Sales_By_Product
S
36 512
WC_Privacy_Exporters
S
36 306
WC_API_Reports
S
36 316
WC_Shipping_Flat_Rate
S
36 161
Automattic\WooCommerce\Admin\API\Reports\Downloads\DataStore
S
36 226
WC_Logger
S
35 110
WC_REST_Report_Sales_V1_Controller
S
35 250
Automattic\WooCommerce\Admin\RemoteInboxNotifications\DataSourcePoller
S
34 171
WC_Report_Coupon_Usage
S
34 473
WC_Order_Item_Meta
S
34 103
WC_Customer_Download_Data_Store
S
34 295
WC_Validation
S
34 114
Automattic\WooCommerce\Admin\Features\Marketing
S
33 163
WC_Admin_Meta_Boxes
S
33 100
WC_Shop_Customizer
S
33 732
CronExpression
S
33 119
WC_API_Orders
S
32 217
WC_REST_Order_Refunds_V2_Controller
S
32 411
WC_Settings_Payment_Gateways
S
30 158
WC_Admin_Exporters
S
30 116
WC_Report_Customer_List
S
30 191
WC_Report_Sales_By_Date
S
30 721
WC_Shipping_Legacy_Free_Shipping
S
30 159
WC_REST_Coupons_V2_Controller
S
29 392
WC_REST_Order_Refunds_V1_Controller
S
28 375
WC_Order_Factory
S
28 82
WC_Widget_Price_Filter
S
28 116
ActionScheduler_TimezoneHelper
S
27 83
WC_Admin_Profile
S
26 184
WC_WCCOM_Site
S
25 152
WC_REST_Legacy_Coupons_Controller
S
25 73
WC_Deprecated_Action_Hooks
S
25 82
WC_Settings_Advanced
S
25 373
Automattic\WooCommerce\Blocks\StoreApi\Schemas\AbstractSchema
S
25 144
WC_Settings_Emails
S
24 251
WC_Report_Stock
S
24 117
Automattic\WooCommerce\Checkout\Helpers\ReserveStock
S
24 115
WC_Admin_Permalink_Settings
S
23 138
WC_Helper_Compat
S
23 125
WC_Widget_Product_Categories
S
23 235
WC_Gateway_Paypal_PDT_Handler
S
23 74
WC_Meta_Box_Coupon_Data
S
22 315
Automattic\WooCommerce\Admin\API\Reports\Variations\Stats\DataStore
S
22 167
WC_Widget_Layered_Nav_Filters
S
22 65
WC_Shipping_Free_Shipping
S
22 151
WC_Widget_Products
S
21 160
WC_Report_Taxes_By_Date
S
21 213
WC_REST_Setting_Options_Controller
S
21 179
Automattic\WooCommerce\Admin\RemoteInboxNotifications\SpecRunner
S
21 113
WC_Autoloader
S
20 49
Automattic\WooCommerce\Admin\RemoteInboxNotifications\GetRuleProcessor
S
19 41
CronExpression_DayOfWeekField
S
19 72
Automattic\WooCommerce\Admin\API\Reports\Orders\Stats\Segmenter
S
19 284
Automattic\WooCommerce\Admin\Features\Navigation\CoreMenu
S
18 221
WC_Shortcode_Cart
S
18 52
WC_REST_Product_Categories_V1_Controller
S
18 171
Automattic\WooCommerce\Admin\API\Themes
S
18 105
WC_REST_Product_Categories_Controller
S
18 187
Automattic\WooCommerce\Blocks\StoreApi\Routes\ProductCollectionData
S
18 125
Automattic\WooCommerce\Admin\API\Reports\Orders\Controller
S
18 426
Automattic\WooCommerce\Admin\API\Orders
S
17 122
WC_Legacy_Webhook
S
16 70
Automattic\WooCommerce\Admin\API\Reports\Customers\Controller
S
16 504
Automattic\WooCommerce\Admin\API\Reports\Products\Stats\DataStore
S
16 146
Automattic\WooCommerce\Admin\API\Reports\Taxes\Stats\DataStore
S
16 152
Automattic\WooCommerce\Admin\API\Reports\Coupons\Stats\DataStore
S
14 140
Action_Scheduler\Migration\ActionMigrator
S
13 52
Automattic\WooCommerce\Admin\API\Reports\Orders\Stats\Controller
S
13 477
WC_Report_Taxes_By_Code
S
13 180
Automattic\WooCommerce\Blocks\StoreApi\Schemas\CartItemSchema
S
12 312
Automattic\WooCommerce\Admin\API\Taxes
S
11 88
WC_REST_Customers_V2_Controller
S
11 294
WC_Settings_Products
S
9 369
WC_Admin_Pointers
S
8 245
Automattic\WooCommerce\Blocks\StoreApi\Routes\Products
S
8 302
WC_Settings_General
S
6 253
Automattic\WooCommerce\Admin\API\Reports\Customers\Stats\Controller
S
6 303
WC_Settings_Accounts
S
4 200
WC_REST_Customers_Controller
S
4 260

693 more item(s) not shown.