Code Analysis: WooCommerce 7.8.1

Class Rating Complexity Lines of code
WC_AJAX
D
539 2,195
WC_API_Products
D
527 1,995
WC_API_Products
D
387 1,417
WC_Abstract_Order
D
337 1,127
WC_REST_Products_V2_Controller
D
310 1,814
WC_Cart
D
303 964
WC_API_Orders
D
298 1,097
WC_Product
D
294 771
WC_REST_Products_V1_Controller
D
289 1,957
WC_API_Orders
D
286 1,059
WC_Product_Data_Store_CPT
D
276 1,327
WC_Order
D
276 940
WC_Form_Handler
D
272 748
Automattic\WooCommerce\Internal\DataStores\Orders\OrdersTableDataStore
D
243 1,142
WC_Checkout
D
241 756
WC_Helper
D
238 1,153
Automattic\WooCommerce\Admin\API\Reports\DataStore
D
227 749
WC_Admin_Setup_Wizard
D
222 1,685
WC_Product_CSV_Importer
D
194 670
WC_Admin_Addons
D
192 1,064
Automattic\WooCommerce\Internal\DataStores\Orders\OrdersTableQuery
D
187 708
WC_REST_Orders_V2_Controller
D
180 1,584
WC_REST_Products_Controller
D
172 1,190
WC_Query
D
169 525
WC_Discounts
D
167 503
WC_Order_Data_Store_CPT
D
165 692
WC_Install
D
164 1,444
WC_Admin_Post_Types
D
163 617
WC_Coupon
D
162 451
WC_Admin_Settings
D
160 711
WC_REST_Legacy_Products_Controller
D
159 464
Automattic\WooCommerce\Internal\Admin\ProductReviews\ReviewsListTable
D
155 868
Automattic\WooCommerce\Internal\Admin\Orders\ListTable
D
149 825
WC_Tax
D
148 663
WC_REST_Orders_V1_Controller
D
141 1,272
WC_REST_Product_Reviews_Controller
D
139 771
Automattic\WooCommerce\StoreApi\Utilities\CartController
D
133 716
WC_Geo_IP
D
132 384
WC_Customer
D
130 399
WC_Data
D
128 392
Automattic\WooCommerce\Internal\Features\FeaturesController
D
128 583
WC_Tracker
C
125 617
WC_Abstract_Legacy_Order
C
124 429
ActionScheduler_DBStore
C
122 604
WC_REST_System_Status_V2_Controller
C
121 1,110
WC_Meta_Box_Product_Data
C
120 355
ActionScheduler_wpPostStore
C
118 557
WC_Admin_Report
C
116 481
WC_Admin_Notices
C
116 335
WC_Webhook
C
115 470
WC_Download_Handler
C
113 394
Automattic\WooCommerce\Admin\Features\Navigation\Menu
C
111 434
WC_Abstract_Legacy_Product
C
110 339
Automattic\WooCommerce\Blocks\BlockTemplatesController
C
110 342
WC_Email
C
110 508
Automattic\WooCommerce\Admin\API\Reports\TimeInterval
C
110 419
Automattic\WooCommerce\Internal\DataStores\Orders\OrdersTableMetaQuery
C
109 348
WC_Product_Importer
C
108 432
WC_Countries
C
108 1,297
WC_Product_Variable_Data_Store_CPT
C
101 442
Automattic\WooCommerce\Internal\Admin\ProductReviews\Reviews
B
100 320
WooCommerce
B
100 485
WC_Product_CSV_Exporter
B
99 360
WC_API_Server
B
99 349
Automattic\WooCommerce\Admin\API\Reports\Customers\DataStore
B
98 571
Automattic\WooCommerce\Admin\API\OnboardingTasks
B
97 652
Automattic\WooCommerce\Admin\Marketing\InstalledExtensions
B
96 368
WC_API_Customers
B
93 461
WC_API_Customers
B
93 452
WC_API_Server
B
93 351
WC_Template_Loader
B
93 381
WC_API_Server
B
92 350
WC_Data_Store_WP
B
92 347
WC_Admin_List_Table_Orders
B
90 383
WC_REST_Product_Variations_Controller
B
90 728
WC_REST_Terms_Controller
B
89 499
WC_Admin_List_Table_Products
B
88 360
WC_Products_Tracking
B
88 348
WC_API_Resource
B
85 231
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_Gateway_Paypal
B
82 290
WC_Meta_Box_Order_Data
B
82 527
WC_Shortcode_Checkout
B
81 222
Automattic\WooCommerce\Internal\ProductDownloads\ApprovedDirectories\Admin\UI
B
81 280
WC_Shortcodes
B
81 410
WC_Shipping_Method
B
80 213
Automattic\WooCommerce\Blocks\BlockTypes\MiniCart
B
80 369
WC_API_Taxes
B
80 360
WC_CLI_REST_Command
B
79 257
WC_Regenerate_Images
B
79 246
WC_REST_Controller
B
79 344
Automattic\WooCommerce\StoreApi\Utilities\ProductQuery
B
78 315
WC_API_Resource
B
77 225
Automattic\WooCommerce\Admin\PageController
B
77 275
WC_REST_Posts_Controller
B
77 379
Abstract_WC_Order_Data_Store_CPT
B
77 340
WC_Emails
A
75 392
WC_API_Coupons
A
75 337
WC_API_Coupons
A
75 337
WC_REST_Customers_V1_Controller
A
74 642
WC_Frontend_Scripts
A
73 463
WC_Widget_Layered_Nav
A
71 267
WC_Cart_Session
A
70 261
Automattic\WooCommerce\Internal\Admin\Loader
A
69 333
Automattic\WooCommerce\Internal\Utilities\URL
A
69 139
Automattic\WooCommerce\Admin\API\Reports\Orders\DataStore
A
69 356
WC_Legacy_Cart
A
68 248
WC_Order_Item
A
68 179
WC_Structured_Data
A
68 355
WC_Product_Variation_Data_Store_CPT
A
67 323
WC_Coupon_Data_Store_CPT
A
67 423
WC_API_Resource
A
67 185
WC_API_Webhooks
A
67 260
WC_API_Webhooks
A
67 260
WC_Helper_Updater
A
66 303
WC_REST_Webhooks_V1_Controller
A
64 478
WC_REST_Taxes_V1_Controller
A
63 486
WC_Admin_Assets
A
62 444
WC_REST_Orders_Controller
A
62 180
WC_Order_Factory
A
61 199
WC_Widget
A
60 212
WC_REST_Legacy_Orders_Controller
A
60 159
WC_Gateway_COD
A
59 210
ActionScheduler_ListTable
A
59 355
WC_Shortcode_My_Account
A
58 231
Automattic\WooCommerce\Internal\DataStores\Orders\CustomOrdersTableController
A
57 290
ActionScheduler
A
57 185
Automattic\WooCommerce\Internal\DataStores\Orders\OrdersTableFieldQuery
A
56 167
WC_Admin_Webhooks
A
56 194
Automattic\WooCommerce\StoreApi\Schemas\V1\ProductSchema
A
56 648
Automattic\WooCommerce\Admin\API\Reports\Variations\DataStore
A
56 303
Automattic\WooCommerce\Blocks\BlockTypes\Checkout
A
54 320
WC_REST_System_Status_Tools_V2_Controller
A
54 473
WC_Webhook_Data_Store
A
54 294
Automattic\WooCommerce\Admin\API\Reports\Orders\Stats\DataStore
A
54 447
Automattic\WooCommerce\StoreApi\Utilities\ProductQueryFilters
A
53 325
Automattic\WooCommerce\Internal\Admin\Onboarding\OnboardingSetupWizard
A
52 133
Automattic\WooCommerce\Utilities\ArrayUtil
A
51 151
WC_Shipping_Legacy_Flat_Rate
S
50 224
WC_Report_Downloads
S
49 214
WC_Admin_Attributes
S
48 382
Automattic\WooCommerce\Admin\PluginsHelper
S
48 273
WC_Customer_Data_Store
S
48 343
WC_Auth
S
48 258
WC_Admin_Meta_Boxes
S
48 136
WC_Regenerate_Images_Request
S
47 142
WC_Customer_Download_Data_Store
S
47 346
Automattic\WooCommerce\DataBase\Migrations\CustomOrderTable\CLIRunner
S
46 376
Automattic\WooCommerce\Admin\API\Reports\Products\DataStore
S
45 316
WC_REST_Payment_Gateways_V2_Controller
S
45 308
WC_REST_Coupons_V1_Controller
S
43 393
WC_Settings_Payment_Gateways
S
42 206
WC_API_XML_Handler
S
42 140
WC_Report_Sales_By_Category
S
42 321
WC_Admin_Importers
S
42 201
Automattic\WooCommerce\Internal\Admin\Homescreen
S
41 155
WC_Post_Types
S
41 551
Automattic\WooCommerce\Admin\Features\Navigation\CoreMenu
S
40 327
WC_API_Reports
S
38 176
WC_API_Reports
S
38 179
WC_CLI_Runner
S
38 159
WC_Legacy_Coupon
S
37 133
WC_Privacy_Erasers
S
37 241
WC_API_Reports
S
36 316
WC_Privacy_Exporters
S
36 308
WC_Report_Sales_By_Product
S
36 512
WC_Logger
S
36 112
WC_Shipping_Flat_Rate
S
36 161
WC_Validation
S
36 112
Automattic\WooCommerce\Internal\Admin\Settings
S
35 214
WC_REST_Report_Sales_V1_Controller
S
35 250
WC_Shop_Customizer
S
35 738
Automattic\WooCommerce\Internal\ProductAttributesLookup\Filterer
S
34 201
WC_Report_Coupon_Usage
S
34 473
WC_Order_Item_Meta
S
34 103
Automattic\WooCommerce\Admin\API\Reports\Downloads\DataStore
S
34 228
CronExpression
S
33 119
WC_API_Orders
S
32 217
WC_REST_Order_Refunds_V2_Controller
S
32 411
WC_Shipping_Legacy_Free_Shipping
S
30 159
Automattic\WooCommerce\Internal\Admin\Notes\WooCommercePayments
S
30 127
WC_Report_Customer_List
S
30 191
WC_Report_Sales_By_Date
S
30 721
WC_REST_Coupons_V2_Controller
S
29 399
Automattic\WooCommerce\Checkout\Helpers\ReserveStock
S
28 141
WC_Widget_Price_Filter
S
28 116
WC_REST_Order_Refunds_V1_Controller
S
28 375
Automattic\WooCommerce\Admin\Features\ProductBlockEditor\Init
S
28 568
Automattic\WooCommerce\Admin\API\Orders
S
27 201
ActionScheduler_TimezoneHelper
S
27 83
Automattic\WooCommerce\Internal\Admin\Marketing\MarketingSpecs
S
25 110
WC_Settings_Emails
S
25 274
WC_Deprecated_Action_Hooks
S
25 82
WC_Gateway_Paypal_PDT_Handler
S
25 93
WC_WCCOM_Site
S
25 144
WC_REST_Legacy_Coupons_Controller
S
25 73
WC_Report_Stock
S
24 117
Automattic\WooCommerce\Admin\RemoteInboxNotifications\DataSourcePoller
S
24 129
WC_Settings_Advanced
S
23 364
WC_Admin_Permalink_Settings
S
23 138
WC_Helper_Compat
S
23 125
WC_Widget_Product_Categories
S
23 235
Automattic\WooCommerce\Internal\Admin\WcPayWelcomePage
S
23 89
WC_Shipping_Free_Shipping
S
22 151
WC_Meta_Box_Coupon_Data
S
22 315
WC_Widget_Layered_Nav_Filters
S
22 67
WC_Widget_Products
S
22 165
WC_REST_Setting_Options_Controller
S
22 179
WC_Report_Taxes_By_Date
S
21 213
Automattic\WooCommerce\Admin\RemoteInboxNotifications\GetRuleProcessor
S
21 45
WC_Autoloader
S
20 49
Automattic\WooCommerce\Admin\API\Reports\Orders\Controller
S
20 447
Automattic\WooCommerce\Admin\API\Reports\Orders\Stats\Segmenter
S
19 284
Automattic\WooCommerce\Blocks\BlockTypes\ProductButton
S
19 96
Automattic\WooCommerce\Blocks\BlockPatterns
S
19 121
CronExpression_DayOfWeekField
S
19 72
WC_Meta_Box_Order_Downloads
S
18 73
WC_REST_Product_Categories_V1_Controller
S
18 171
WC_REST_Product_Categories_Controller
S
18 187
Automattic\WooCommerce\StoreApi\Schemas\V1\CartItemSchema
S
17 384
Automattic\WooCommerce\Internal\Orders\CouponsController
S
16 54
Automattic\WooCommerce\Admin\API\Reports\Customers\Controller
S
16 521
Automattic\WooCommerce\Admin\RemoteInboxNotifications\RuleEvaluator
S
15 38
Automattic\WooCommerce\Admin\Features\PaymentGatewaySuggestions\DefaultPaymentGateways
S
15 1,077
Automattic\WooCommerce\Internal\Admin\Orders\COTRedirectionController
S
14 35
WC_REST_Customers_V2_Controller
S
14 301
Action_Scheduler\Migration\ActionMigrator
S
13 52
WC_Report_Taxes_By_Code
S
13 180
Automattic\WooCommerce\StoreApi\Routes\V1\Products
S
13 332
Automattic\WooCommerce\Admin\API\Reports\Orders\Stats\Controller
S
13 484
Automattic\WooCommerce\StoreApi\Schemas\V1\CartSchema
S
12 302
Automattic\WooCommerce\Admin\API\Reports\Customers\Stats\Controller
S
6 310
WC_Settings_Accounts
S
4 199
WC_Settings_General
S
4 243
Automattic\WooCommerce\Admin\Features\ShippingPartnerSuggestions\DefaultShippingPartners
S
3 223
Automattic\WooCommerce\Internal\Admin\RemoteFreeExtensions\DefaultFreeExtensions
S
2 747
WC_REST_Customers_Controller
S
2 242

999 more item(s) not shown.