Code Analysis: WooCommerce 8.9.0

Class Rating Complexity Lines of code
WC_AJAX
D
553 2,300
WC_API_Products
D
527 1,995
WC_API_Products
D
387 1,417
WC_Abstract_Order
D
340 1,139
Automattic\WooCommerce\Internal\DataStores\Orders\OrdersTableDataStore
D
322 1,468
WC_REST_Products_V2_Controller
D
310 1,817
WC_Cart
D
305 969
WC_API_Orders
D
298 1,097
WC_Product
D
296 773
WC_Helper
D
296 1,476
WC_REST_Products_V1_Controller
D
289 1,957
WC_API_Orders
D
286 1,059
WC_Order
D
277 951
WC_Product_Data_Store_CPT
D
276 1,347
WC_Form_Handler
D
273 750
WC_Checkout
D
245 764
Automattic\WooCommerce\Admin\API\Reports\DataStore
D
229 764
WC_Admin_Setup_Wizard
D
222 1,688
Automattic\WooCommerce\Internal\DataStores\Orders\OrdersTableQuery
D
217 819
WC_Admin_Addons
D
203 1,086
WC_Install
D
199 1,758
WC_Product_CSV_Importer
D
198 684
WC_REST_Products_Controller
D
189 1,318
WC_REST_Orders_V2_Controller
D
183 1,617
WC_Discounts
D
175 537
WC_Coupon
D
171 495
WC_Admin_Settings
D
169 750
WC_Query
D
169 525
WC_Order_Data_Store_CPT
D
167 699
Automattic\WooCommerce\Internal\Admin\Orders\ListTable
D
162 899
WC_REST_Legacy_Products_Controller
D
159 464
Automattic\WooCommerce\Internal\Admin\ProductReviews\ReviewsListTable
D
155 868
WC_Admin_Post_Types
D
152 573
Automattic\WooCommerce\Blocks\Domain\Services\CheckoutFields
D
148 732
WC_Tax
D
148 664
Automattic\WooCommerce\Internal\Features\FeaturesController
D
146 682
WC_REST_Orders_V1_Controller
D
141 1,272
WC_REST_Product_Reviews_Controller
D
139 772
WC_Tracker
D
138 711
Automattic\WooCommerce\StoreApi\Utilities\CartController
D
135 722
ActionScheduler_DBStore
D
134 665
Automattic\WooCommerce\Blocks\BlockTypes\ProductCollection
D
134 733
WC_Geo_IP
D
132 384
WC_Admin_Notices
D
131 394
WC_Customer
D
130 399
WC_Data
D
129 399
WC_REST_System_Status_V2_Controller
D
126 1,165
WC_Abstract_Legacy_Order
C
124 429
WC_Meta_Box_Product_Data
C
120 355
ActionScheduler_wpPostStore
C
119 566
WC_Admin_Report
C
117 481
WC_Download_Handler
C
113 394
Automattic\WooCommerce\DataBase\Migrations\CustomOrderTable\CLIRunner
C
112 704
Automattic\WooCommerce\Admin\API\Reports\TimeInterval
C
112 421
WC_Countries
C
112 1,311
Automattic\WooCommerce\Admin\Features\Navigation\Menu
C
111 436
WC_REST_Product_Variations_Controller
C
111 864
WooCommerce
C
111 537
WC_Abstract_Legacy_Product
C
110 339
WC_Email
C
110 508
Automattic\WooCommerce\Internal\DataStores\Orders\OrdersTableMetaQuery
C
109 352
WC_Product_Importer
C
108 434
Automattic\WooCommerce\Admin\API\Reports\Customers\DataStore
C
101 596
Automattic\WooCommerce\Admin\Marketing\InstalledExtensions
C
101 388
WC_Product_Variable_Data_Store_CPT
B
100 442
Automattic\WooCommerce\Internal\Admin\ProductReviews\Reviews
B
100 320
WC_Product_CSV_Exporter
B
99 360
Automattic\WooCommerce\Admin\API\OnboardingTasks
B
98 657
WC_API_Server
B
97 342
Abstract_WC_Order_Data_Store_CPT
B
96 420
WC_Admin_List_Table_Orders
B
96 397
WC_API_Customers
B
93 461
WC_API_Customers
B
93 452
WC_Data_Store_WP
B
92 347
WC_Admin_List_Table_Products
B
92 367
Automattic\WooCommerce\Admin\API\Reports\Segmenter
B
91 360
Automattic\WooCommerce\StoreApi\Utilities\OrderController
B
91 454
WC_API_Server
B
91 344
WC_Shortcodes
B
91 431
WC_Meta_Box_Order_Data
B
91 561
WC_API_Server
B
90 343
WC_REST_Terms_Controller
B
89 499
Automattic\WooCommerce\Internal\Admin\Orders\PageController
B
88 319
WC_Products_Tracking
B
88 351
Automattic\WooCommerce\Internal\Admin\Logging\FileV2\FileController
B
87 370
Automattic\WooCommerce\Blocks\BlockTemplatesController
B
87 305
WC_Emails
B
86 437
WC_API_Resource
B
85 231
WC_Gateway_Paypal
B
84 296
WC_REST_Product_Variations_V2_Controller
B
84 746
WC_Eval_Math
B
83 233
Automattic\WooCommerce\StoreApi\Utilities\ProductQuery
B
83 337
WC_Admin_Assets
B
83 526
Automattic\WooCommerce\Blocks\BlockTypes\MiniCart
B
83 344
Automattic\WooCommerce\Blocks\BlockTypes\Checkout
B
82 352
WC_REST_Controller
B
82 344
Automattic\WooCommerce\Internal\ProductDownloads\ApprovedDirectories\Admin\UI
B
81 280
WC_Helper_Updater
B
81 382
WC_Shipping_Method
B
80 213
WC_Cart_Session
B
80 304
Automattic\WooCommerce\Admin\PageController
B
80 284
WC_API_Taxes
B
80 360
WC_CLI_REST_Command
B
79 257
WC_Regenerate_Images
B
79 246
WC_REST_Posts_Controller
B
78 379
WC_API_Resource
B
77 225
Automattic\WooCommerce\Blocks\AIContent\UpdatePatterns
B
76 265
WC_Structured_Data
B
76 382
Automattic\WooCommerce\Internal\Admin\Logging\PageController
A
75 555
WC_API_Coupons
A
75 337
WC_API_Coupons
A
75 337
Automattic\WooCommerce\Internal\DataStores\Orders\LegacyDataHandler
A
74 307
WC_Frontend_Scripts
A
73 463
Automattic\WooCommerce\Admin\API\Reports\Orders\DataStore
A
73 394
WC_Shortcode_Checkout
A
72 210
WC_Widget_Layered_Nav
A
71 267
Automattic\WooCommerce\Internal\Admin\Loader
A
69 325
Automattic\WooCommerce\Internal\Utilities\URL
A
69 139
WC_Legacy_Cart
A
68 248
WC_Coupon_Data_Store_CPT
A
68 430
WC_Order_Item
A
68 179
WC_API_Webhooks
A
67 260
WC_API_Webhooks
A
67 260
Automattic\WooCommerce\Blocks\AIContent\UpdateProducts
A
63 266
WC_REST_Taxes_V1_Controller
A
63 486
WC_Order_Factory
A
62 199
Automattic\WooCommerce\Internal\Admin\WCAdminAssets
A
62 304
WC_REST_Orders_Controller
A
62 180
ActionScheduler_ListTable
A
62 365
WC_Widget
A
60 212
Automattic\WooCommerce\Admin\PluginsHelper
A
60 330
WC_REST_Legacy_Orders_Controller
A
60 159
WC_Gateway_COD
A
59 211
WC_Shortcode_My_Account
A
58 231
ActionScheduler
A
57 198
Automattic\WooCommerce\Internal\Admin\WcPayWelcomePage
A
56 253
Automattic\WooCommerce\Internal\DataStores\Orders\OrdersTableFieldQuery
A
56 168
WC_Admin_Webhooks
A
56 194
Automattic\WooCommerce\Admin\API\Reports\Variations\DataStore
A
56 303
Automattic\WooCommerce\StoreApi\Schemas\V1\ProductSchema
A
56 648
Automattic\WooCommerce\Admin\API\Reports\Orders\Stats\DataStore
A
55 450
WC_Webhook_Data_Store
A
55 300
WC_REST_System_Status_Tools_V2_Controller
A
54 473
Automattic\WooCommerce\Internal\DataStores\Orders\CustomOrdersTableController
A
53 308
Automattic\WooCommerce\Internal\Admin\Onboarding\OnboardingSetupWizard
A
52 133
WC_Admin_Importers
A
52 202
Automattic\WooCommerce\Utilities\ArrayUtil
A
51 152
WC_Report_Downloads
S
49 214
WC_Customer_Data_Store
S
48 343
WC_Auth
S
48 259
Automattic\WooCommerce\Blocks\BlockPatterns
S
48 234
WC_Admin_Attributes
S
48 382
WC_Regenerate_Images_Request
S
47 142
WC_Customer_Download_Data_Store
S
47 346
WC_Admin_Meta_Boxes
S
47 137
WC_Settings_Payment_Gateways
S
43 206
WC_REST_Coupons_V1_Controller
S
43 393
WC_Report_Sales_By_Category
S
42 321
WC_API_XML_Handler
S
42 140
Automattic\WooCommerce\Internal\Admin\Homescreen
S
41 164
WC_Post_Types
S
41 551
Automattic\WooCommerce\Admin\Features\Navigation\CoreMenu
S
40 327
WC_Shop_Customizer
S
39 785
Automattic\WooCommerce\Blocks\Images\Pexels
S
39 134
WC_API_Reports
S
38 176
WC_API_Reports
S
38 179
Automattic\WooCommerce\Internal\Admin\Settings
S
38 228
WC_CLI_Runner
S
38 159
WC_Legacy_Coupon
S
37 133
WC_Privacy_Erasers
S
37 241
Automattic\WooCommerce\Internal\Features\ProductBlockEditor\ProductTemplates\SimpleProductTemplate
S
36 1,076
Automattic\WooCommerce\StoreApi\Schemas\V1\AbstractAddressSchema
S
36 211
WC_API_Reports
S
36 316
WC_Privacy_Exporters
S
36 308
WC_Report_Sales_By_Product
S
36 512
WC_Validation
S
36 112
WC_REST_Report_Sales_V1_Controller
S
35 250
Automattic\WooCommerce\Blocks\BlockTypes\ProductButton
S
35 177
Automattic\WooCommerce\Admin\API\Reports\Downloads\DataStore
S
34 228
WC_Report_Coupon_Usage
S
34 473
Automattic\WooCommerce\Internal\ReceiptRendering\ReceiptRenderingEngine
S
33 188
Automattic\WooCommerce\Internal\Utilities\PluginInstaller
S
33 159
CronExpression
S
33 119
WC_API_Orders
S
32 217
WC_REST_Order_Refunds_V2_Controller
S
32 411
Automattic\WooCommerce\Admin\Features\OnboardingTasks\Tasks\CustomizeStore
S
31 142
Automattic\WooCommerce\Admin\RemoteSpecs\RuleProcessors\ComparisonOperation
S
31 54
WC_Shipping_Legacy_Free_Shipping
S
30 159
WC_Report_Customer_List
S
30 191
WC_Report_Sales_By_Date
S
30 721
Automattic\WooCommerce\Admin\WCAdminHelper
S
29 104
WC_REST_Coupons_V2_Controller
S
29 399
Automattic\WooCommerce\Checkout\Helpers\ReserveStock
S
28 142
WC_Widget_Price_Filter
S
28 116
WC_REST_Order_Refunds_V1_Controller
S
28 375
Automattic\WooCommerce\Admin\API\Orders
S
27 201
ActionScheduler_TimezoneHelper
S
27 83
WC_Shipping_Free_Shipping
S
26 165
WC_Gateway_Paypal_PDT_Handler
S
25 93
WC_WCCOM_Site
S
25 142
WC_REST_Legacy_Coupons_Controller
S
25 73
WC_Settings_Emails
S
25 274
WC_Settings_Advanced
S
24 376
WC_Report_Stock
S
24 117
Automattic\WooCommerce\Admin\RemoteInboxNotifications\RemoteInboxNotificationsDataSourcePoller
S
24 129
Automattic\WooCommerce\Blocks\BlockTypes\ProductGalleryThumbnails
S
24 89
WC_Widget_Product_Categories
S
23 235
Automattic\WooCommerce\Blocks\BlockTypes\ProductFilterPrice
S
23 185
WC_Widget_Layered_Nav_Filters
S
22 68
WC_Meta_Box_Coupon_Data
S
22 315
Automattic\WooCommerce\Admin\RemoteSpecs\RuleProcessors\GetRuleProcessor
S
22 47
WC_Widget_Products
S
22 165
WC_REST_Setting_Options_Controller
S
22 179
WC_Report_Taxes_By_Date
S
21 213
Automattic\WooCommerce\StoreApi\Routes\V1\ProductCollectionData
S
21 145
Automattic\WooCommerce\Admin\API\OnboardingThemes
S
20 483
WC_Deprecated_Action_Hooks
S
20 74
WC_Autoloader
S
20 49
Automattic\WooCommerce\Admin\API\Reports\Orders\Stats\Segmenter
S
20 284
CronExpression_DayOfWeekField
S
19 72
WC_Meta_Box_Order_Downloads
S
18 73
Automattic\WooCommerce\Blocks\BlockTypes\ProductRating
S
18 126
Automattic\WooCommerce\Admin\API\Reports\Orders\Controller
S
17 442
WC_Report_Taxes_By_Code
S
16 185
Automattic\WooCommerce\Admin\Features\PaymentGatewaySuggestions\DefaultPaymentGateways
S
16 1,148
Automattic\WooCommerce\StoreApi\Routes\V1\Products
S
14 335
WC_REST_Customers_V2_Controller
S
14 301
Automattic\WooCommerce\StoreApi\Schemas\V1\CartSchema
S
13 306
Automattic\WooCommerce\Admin\API\Reports\Customers\Controller
S
13 478
Automattic\WooCommerce\Internal\Admin\Marketing\MarketingSpecs
S
12 54
Automattic\WooCommerce\Internal\Admin\RemoteFreeExtensions\DefaultFreeExtensions
S
10 886
Automattic\WooCommerce\Admin\API\Reports\Orders\Stats\Controller
S
10 471
WC_Settings_General
S
4 243
WC_Settings_Accounts
S
4 199
Automattic\WooCommerce\Admin\Features\ShippingPartnerSuggestions\DefaultShippingPartners
S
3 289
WC_REST_Customers_Controller
S
2 242
Automattic\WooCommerce\StoreApi\Schemas\V1\ItemSchema
S
1 302
Automattic\WooCommerce\Admin\Features\MarketingRecommendations\DefaultMarketingRecommendations
S
1 352

1209 more item(s) not shown.