Code Analysis: WooCommerce 9.0.1

Class Rating Complexity Lines of code
WC_AJAX
D
553 2,300
WC_Abstract_Order
D
340 1,139
Automattic\WooCommerce\Internal\DataStores\Orders\OrdersTableDataStore
D
324 1,488
WC_REST_Products_V2_Controller
D
310 1,817
WC_Cart
D
301 962
WC_Product
D
296 773
WC_Helper
D
296 1,476
WC_REST_Products_V1_Controller
D
289 1,957
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_Install
D
207 1,791
WC_Product_CSV_Importer
D
198 684
WC_REST_Products_Controller
D
189 1,318
WC_REST_Orders_V2_Controller
D
184 1,621
WC_Discounts
D
175 537
WC_Coupon
D
171 495
WC_Admin_Settings
D
169 749
WC_Query
D
169 525
WC_Order_Data_Store_CPT
D
167 699
Automattic\WooCommerce\Internal\Admin\Orders\ListTable
D
162 902
Automattic\WooCommerce\Internal\Admin\ProductReviews\ReviewsListTable
D
155 868
WC_Admin_Post_Types
D
152 573
Automattic\WooCommerce\Blocks\Domain\Services\CheckoutFields
D
149 735
WC_Tax
D
148 664
Automattic\WooCommerce\Internal\Features\FeaturesController
D
146 693
WC_REST_Orders_V1_Controller
D
141 1,273
WC_REST_Product_Reviews_Controller
D
139 772
WC_Tracker
D
138 711
Automattic\WooCommerce\Blocks\BlockTypes\ProductCollection
D
136 744
Automattic\WooCommerce\StoreApi\Utilities\CartController
D
135 722
ActionScheduler_DBStore
D
134 665
WC_Geo_IP
D
132 384
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_Admin_Notices
C
124 365
WooCommerce
C
121 558
WC_Meta_Box_Product_Data
C
120 355
ActionScheduler_wpPostStore
C
119 566
WC_Admin_Report
C
117 481
Automattic\WooCommerce\DataBase\Migrations\CustomOrderTable\CLIRunner
C
113 709
WC_Download_Handler
C
113 394
Automattic\WooCommerce\Admin\API\Reports\TimeInterval
C
112 421
WC_Countries
C
112 1,310
Automattic\WooCommerce\Admin\Features\Navigation\Menu
C
111 436
WC_REST_Product_Variations_Controller
C
111 871
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
Automattic\WooCommerce\Admin\PluginsHelper
B
98 538
Abstract_WC_Order_Data_Store_CPT
B
96 420
WC_Admin_List_Table_Orders
B
96 397
WC_Helper_Updater
B
93 431
WC_Template_Loader
B
93 380
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 460
WC_Shortcodes
B
91 431
WC_Meta_Box_Order_Data
B
91 561
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_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 331
Automattic\WooCommerce\Internal\ProductDownloads\ApprovedDirectories\Admin\UI
B
81 280
WC_Shipping_Method
B
80 213
WC_Cart_Session
B
80 304
Automattic\WooCommerce\Admin\PageController
B
80 284
WC_CLI_REST_Command
B
79 257
WC_Regenerate_Images
B
79 246
WC_REST_Posts_Controller
B
78 379
Automattic\WooCommerce\Internal\DataStores\Orders\LegacyDataHandler
B
76 314
Automattic\WooCommerce\Blocks\AIContent\UpdatePatterns
B
76 265
WC_Structured_Data
B
76 382
Automattic\WooCommerce\Internal\Admin\Logging\PageController
A
75 555
WC_REST_Customers_V1_Controller
A
74 642
WC_Frontend_Scripts
A
73 463
Automattic\WooCommerce\Admin\API\Reports\Orders\DataStore
A
73 394
WC_Shortcode_Checkout
A
72 210
WC_Admin_Status
A
71 268
WC_Widget_Layered_Nav
A
71 267
Automattic\WooCommerce\Internal\Admin\Loader
A
70 331
Automattic\WooCommerce\Internal\DataStores\Orders\CustomOrdersTableController
A
69 371
Automattic\WooCommerce\Internal\Utilities\URL
A
69 139
WC_Legacy_Cart
A
68 248
WC_Coupon_Data_Store_CPT
A
68 431
WC_Order_Item
A
68 179
WC_Product_Variation_Data_Store_CPT
A
67 323
WC_REST_Webhooks_V1_Controller
A
64 478
WC_REST_Taxes_V1_Controller
A
63 486
Automattic\WooCommerce\Blocks\AIContent\UpdateProducts
A
63 266
Automattic\WooCommerce\Internal\Admin\WCAdminAssets
A
62 304
WC_Order_Factory
A
62 199
ActionScheduler_ListTable
A
62 365
WC_Widget
A
60 212
WC_Admin_Webhooks
A
59 259
WC_Gateway_COD
A
59 211
WC_REST_Orders_Controller
A
59 176
WC_Shortcode_My_Account
A
58 231
ActionScheduler
A
57 198
Automattic\WooCommerce\Admin\API\Reports\Variations\DataStore
A
56 303
Automattic\WooCommerce\StoreApi\Schemas\V1\ProductSchema
A
56 648
Automattic\WooCommerce\Internal\Admin\WcPayWelcomePage
A
56 253
Automattic\WooCommerce\Internal\DataStores\Orders\OrdersTableFieldQuery
A
56 168
Automattic\WooCommerce\Admin\API\Reports\Orders\Stats\DataStore
A
55 450
WC_Webhook_Data_Store
A
55 300
Automattic\WooCommerce\Internal\Admin\Onboarding\OnboardingSetupWizard
A
54 140
WC_REST_System_Status_Tools_V2_Controller
A
54 473
WC_Admin_Importers
A
52 202
Automattic\WooCommerce\Utilities\ArrayUtil
A
51 152
WC_Shipping_Legacy_Flat_Rate
S
50 224
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
Automattic\WooCommerce\Admin\API\Reports\Products\DataStore
S
45 316
WC_REST_Payment_Gateways_V2_Controller
S
45 308
Automattic\WooCommerce\StoreApi\Schemas\V1\AbstractSchema
S
44 202
WC_Settings_Payment_Gateways
S
43 206
WC_REST_Coupons_V1_Controller
S
43 393
WC_Report_Sales_By_Category
S
42 321
Automattic\WooCommerce\Internal\Admin\Homescreen
S
41 164
WC_Post_Types
S
41 550
Automattic\WooCommerce\Admin\Features\Navigation\CoreMenu
S
40 327
Automattic\WooCommerce\Blocks\Images\Pexels
S
39 134
WC_Validation
S
39 115
WC_Shop_Customizer
S
39 785
Automattic\WooCommerce\Internal\Admin\Settings
S
38 228
WC_CLI_Runner
S
38 159
WC_Legacy_Coupon
S
37 133
Automattic\WooCommerce\Internal\ReceiptRendering\ReceiptRenderingEngine
S
37 225
WC_Privacy_Erasers
S
37 241
WC_Shipping_Flat_Rate
S
36 162
WC_Report_Sales_By_Product
S
36 512
Automattic\WooCommerce\StoreApi\Schemas\V1\AbstractAddressSchema
S
36 211
WC_Privacy_Exporters
S
36 308
WC_Customer_Data_Store_Session
S
35 97
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\ProductAttributesLookup\Filterer
S
34 203
Automattic\WooCommerce\Internal\Utilities\PluginInstaller
S
34 164
WC_Order_Item_Meta
S
34 103
CronExpression
S
33 119
Automattic\WooCommerce\StoreApi\Schemas\V1\CheckoutSchema
S
32 277
WC_REST_Order_Refunds_V2_Controller
S
32 679
Automattic\WooCommerce\Admin\Features\OnboardingTasks\Tasks\CustomizeStore
S
31 142
Automattic\WooCommerce\Admin\RemoteSpecs\RuleProcessors\ComparisonOperation
S
31 54
WC_Report_Customer_List
S
30 191
Automattic\WooCommerce\Internal\Admin\Notes\WooCommercePayments
S
30 127
WC_Shipping_Legacy_Free_Shipping
S
30 159
WC_Report_Sales_By_Date
S
30 721
Automattic\WooCommerce\Blocks\Templates\SingleProductTemplate
S
30 134
Automattic\WooCommerce\Admin\WCAdminHelper
S
29 104
WC_REST_Coupons_V2_Controller
S
29 399
Automattic\WooCommerce\Checkout\Helpers\ReserveStock
S
28 142
Automattic\WooCommerce\Blocks\BlockTypes\ProductFilter
S
28 79
WC_REST_Order_Refunds_V1_Controller
S
28 375
WC_Widget_Price_Filter
S
28 116
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_Settings_Emails
S
25 274
WC_Settings_Advanced
S
25 378
WC_WCCOM_Site
S
25 142
Automattic\WooCommerce\Blocks\BlockTypes\ProductGalleryThumbnails
S
24 89
WC_Report_Stock
S
24 117
Automattic\WooCommerce\Admin\RemoteInboxNotifications\RemoteInboxNotificationsDataSourcePoller
S
24 129
WC_Widget_Product_Categories
S
23 235
WC_Admin_Permalink_Settings
S
23 138
WC_Helper_Compat
S
23 125
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_REST_Setting_Options_Controller
S
22 179
WC_Widget_Products
S
22 165
Automattic\WooCommerce\StoreApi\Routes\V1\ProductCollectionData
S
21 145
WC_Autoloader
S
21 52
WC_Report_Taxes_By_Date
S
21 213
WC_Deprecated_Action_Hooks
S
20 74
Automattic\WooCommerce\Admin\API\OnboardingThemes
S
20 483
Automattic\WooCommerce\Admin\API\Reports\Orders\Stats\Segmenter
S
20 284
Automattic\WooCommerce\Internal\Features\ProductBlockEditor\ProductTemplates\SimpleProductTemplate
S
20 1,010
CronExpression_DayOfWeekField
S
19 72
Automattic\WooCommerce\Blocks\BlockTypes\ProductRating
S
18 126
WC_REST_Product_Categories_Controller
S
18 187
Automattic\WooCommerce\Admin\API\Themes
S
18 105
WC_REST_Product_Categories_V1_Controller
S
18 171
WC_Meta_Box_Order_Downloads
S
18 73
Automattic\WooCommerce\Admin\API\Reports\Orders\Controller
S
17 442
Automattic\WooCommerce\Internal\Orders\CouponsController
S
16 54
WC_Legacy_Webhook
S
16 70
Automattic\WooCommerce\Admin\Features\PaymentGatewaySuggestions\DefaultPaymentGateways
S
16 1,148
WC_Report_Taxes_By_Code
S
16 185
Automattic\WooCommerce\Admin\RemoteSpecs\RuleProcessors\RuleEvaluator
S
15 38
Automattic\WooCommerce\Blocks\BlockTypes\ProductRatingCounter
S
15 119
Automattic\WooCommerce\StoreApi\Routes\V1\Products
S
14 335
WC_REST_Customers_V2_Controller
S
14 301
Automattic\WooCommerce\Internal\Admin\Orders\COTRedirectionController
S
14 35
Action_Scheduler\Migration\ActionMigrator
S
13 52
Automattic\WooCommerce\Admin\API\Reports\Customers\Controller
S
13 478
Automattic\WooCommerce\StoreApi\Schemas\V1\CartSchema
S
13 306
Automattic\WooCommerce\Internal\Admin\Marketing\MarketingSpecs
S
12 54
Automattic\WooCommerce\Admin\API\Taxes
S
11 88
Automattic\WooCommerce\Internal\Admin\RemoteFreeExtensions\DefaultFreeExtensions
S
10 886
Automattic\WooCommerce\Admin\API\Reports\Orders\Stats\Controller
S
10 471
Automattic\WooCommerce\Admin\API\Reports\Customers\Stats\Controller
S
6 311
WC_Settings_Accounts
S
4 199
WC_Settings_General
S
4 243
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

1173 more item(s) not shown.