Code Analysis: WooCommerce 5.7.0

Class Rating Complexity Lines of code
WC_API_Products
D
527 1,995
WC_AJAX
D
514 2,003
WC_API_Products
D
387 1,417
WC_Abstract_Order
D
323 1,057
WC_REST_Products_V2_Controller
D
308 1,792
WC_Cart
D
300 958
WC_API_Orders
D
298 1,097
WC_REST_Products_V1_Controller
D
289 1,957
WC_Product
D
286 744
WC_API_Orders
D
286 1,059
WC_Product_Data_Store_CPT
D
276 1,327
WC_Form_Handler
D
271 743
WC_Order
D
262 899
WC_Checkout
D
240 746
WC_Admin_Setup_Wizard
D
222 1,685
WC_Helper
D
221 1,071
Automattic\WooCommerce\Admin\API\Reports\DataStore
D
217 710
WC_Product_CSV_Importer
D
192 650
Automattic\WooCommerce\Admin\Loader
D
176 791
WC_Discounts
D
166 502
WC_Query
D
165 517
WC_REST_Legacy_Products_Controller
D
159 464
WC_Coupon
D
159 445
WC_Install
D
157 1,180
WC_Admin_Post_Types
D
157 604
Automattic\WooCommerce\Admin\Features\Onboarding
D
156 628
WC_Admin_Settings
D
153 693
WC_REST_Orders_V2_Controller
D
152 1,425
WC_Order_Data_Store_CPT
D
151 672
WC_REST_Products_Controller
D
151 1,110
WC_Tax
D
148 663
WC_REST_Product_Reviews_Controller
D
140 759
WC_Geo_IP
D
132 384
Automattic\WooCommerce\Blocks\StoreApi\Utilities\CartController
D
132 710
WC_Customer
D
130 399
WC_REST_Orders_V1_Controller
D
129 1,250
ActionScheduler_wpPostStore
D
126 559
WC_Abstract_Legacy_Order
C
124 429
WC_Data
C
121 374
WC_Meta_Box_Product_Data
C
119 366
WC_Webhook
C
116 467
WC_Admin_Report
C
115 478
WC_Admin_List_Table_Orders
C
112 576
WC_Admin_Notices
C
112 319
Automattic\WooCommerce\Admin\Features\Navigation\Menu
C
111 434
WC_Abstract_Legacy_Product
C
110 339
WC_Countries
C
108 1,189
WC_Product_Importer
C
108 429
WC_Email
C
106 494
WC_Download_Handler
C
106 374
ActionScheduler_DBStore
C
102 490
WC_REST_System_Status_V2_Controller
B
100 988
WC_Product_Variable_Data_Store_CPT
B
99 432
WC_Product_CSV_Exporter
B
99 358
WC_API_Server
B
99 349
WooCommerce
B
97 466
Automattic\WooCommerce\Admin\API\Reports\TimeInterval
B
94 365
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
89 499
Automattic\WooCommerce\Admin\API\Reports\Customers\DataStore
B
89 512
WC_Admin_List_Table_Products
B
88 360
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_REST_Product_Variations_Controller
B
82 678
WC_Gateway_Paypal
B
82 288
WC_Shortcodes
B
81 410
WC_API_Taxes
B
80 360
WC_Shipping_Method
B
80 213
WC_CLI_REST_Command
B
79 257
WC_Regenerate_Images
B
79 246
WC_API_Resource
B
77 225
WC_API_Resource
B
77 227
WC_REST_Posts_Controller
B
77 379
WC_Meta_Box_Order_Data
B
76 504
WC_API_Coupons
A
75 337
WC_API_Coupons
A
75 337
WC_REST_Controller
A
75 318
WC_Emails
A
75 392
WC_REST_Customers_V1_Controller
A
74 642
Automattic\WooCommerce\Blocks\StoreApi\Utilities\ProductQuery
A
74 295
WC_Widget_Layered_Nav
A
71 267
WC_Frontend_Scripts
A
71 456
WC_Cart_Session
A
70 259
Automattic\WooCommerce\Admin\API\Reports\PerformanceIndicators\Controller
A
70 403
WC_Legacy_Cart
A
68 248
Automattic\WooCommerce\Admin\API\Reports\Orders\DataStore
A
68 352
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
WC_REST_Webhooks_V1_Controller
A
64 463
WC_Shortcode_Checkout
A
63 164
WC_Helper_Updater
A
62 285
WC_REST_Taxes_V1_Controller
A
62 481
WC_REST_Legacy_Orders_Controller
A
60 159
WC_Widget
A
60 212
WC_Gateway_COD
A
59 210
WC_Shortcode_My_Account
A
58 228
Automattic\WooCommerce\Admin\API\OnboardingTasks
A
58 415
Automattic\WooCommerce\Admin\PageController
A
58 230
WC_REST_Orders_Controller
A
58 167
Automattic\WooCommerce\Admin\API\Plugins
A
57 511
ActionScheduler
A
57 185
WC_Admin_Webhooks
A
56 194
ActionScheduler_ListTable
A
55 332
WC_REST_System_Status_Tools_V2_Controller
A
54 463
WC_Webhook_Data_Store
A
53 288
Automattic\WooCommerce\Blocks\StoreApi\Schemas\ProductSchema
A
53 603
Automattic\WooCommerce\Admin\API\Reports\Orders\Stats\DataStore
A
52 436
WC_Admin_Assets
A
51 389
WC_Shipping_Legacy_Flat_Rate
S
50 224
WC_Report_Downloads
S
49 214
WC_Regenerate_Images_Request
S
47 145
WC_Auth
S
45 241
Automattic\WooCommerce\Admin\API\Reports\Products\DataStore
S
45 316
WC_REST_Payment_Gateways_V2_Controller
S
45 308
WC_Admin_Attributes
S
45 359
Automattic\WooCommerce\Admin\API\Reports\Variations\DataStore
S
44 233
WC_Customer_Data_Store
S
44 309
Automattic\WooCommerce\Blocks\BlockTypes\CheckoutI2
S
44 229
WC_Customer_Download_Data_Store
S
43 317
WC_REST_Coupons_V1_Controller
S
43 392
WC_Report_Sales_By_Category
S
42 321
WC_API_XML_Handler
S
42 140
WC_Post_Types
S
41 551
WC_Admin_Importers
S
41 199
WC_Shop_Customizer
S
41 763
WC_CLI_Runner
S
38 159
WC_API_Reports
S
38 176
WC_Admin_Meta_Boxes
S
38 115
WC_API_Reports
S
38 179
WC_Legacy_Coupon
S
37 133
WC_Privacy_Erasers
S
37 241
WC_Shipping_Flat_Rate
S
36 161
WC_API_Reports
S
36 316
Automattic\WooCommerce\Admin\API\Reports\Downloads\DataStore
S
36 226
WC_Report_Sales_By_Product
S
36 512
Automattic\WooCommerce\Admin\Features\Navigation\CoreMenu
S
36 307
Automattic\WooCommerce\Blocks\StoreApi\Routes\CartUpdateCustomer
S
36 126
WC_Logger
S
36 112
WC_Privacy_Exporters
S
36 308
WC_REST_Report_Sales_V1_Controller
S
35 250
Automattic\WooCommerce\Admin\RemoteInboxNotifications\DataSourcePoller
S
34 176
WC_Validation
S
34 114
WC_Report_Coupon_Usage
S
34 473
WC_Order_Item_Meta
S
34 103
Automattic\WooCommerce\Admin\Features\Marketing
S
33 163
Automattic\WooCommerce\Blocks\BlockTypes\Checkout
S
33 216
CronExpression
S
33 119
Automattic\WooCommerce\Internal\ProductAttributesLookup\Filterer
S
33 205
WC_API_Orders
S
32 217
WC_REST_Order_Refunds_V2_Controller
S
32 411
WC_Admin_Exporters
S
31 121
WC_Shipping_Legacy_Free_Shipping
S
30 159
WC_Report_Sales_By_Date
S
30 721
WC_Settings_Payment_Gateways
S
30 154
WC_Report_Customer_List
S
30 191
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
Automattic\WooCommerce\Blocks\StoreApi\Schemas\AbstractSchema
S
27 151
WC_Admin_Profile
S
26 188
WC_Settings_Emails
S
25 274
Automattic\WooCommerce\Admin\API\Orders
S
25 182
WC_WCCOM_Site
S
25 152
WC_Deprecated_Action_Hooks
S
25 82
WC_REST_Legacy_Coupons_Controller
S
25 73
WC_Report_Stock
S
24 117
WC_Plugin_Updates
S
24 114
Automattic\WooCommerce\Checkout\Helpers\ReserveStock
S
24 115
WC_Settings_Advanced
S
23 364
WC_Helper_Compat
S
23 125
WC_Admin_Permalink_Settings
S
23 138
WC_Widget_Product_Categories
S
23 235
WC_Gateway_Paypal_PDT_Handler
S
23 74
WC_Meta_Box_Coupon_Data
S
22 315
WC_Widget_Layered_Nav_Filters
S
22 65
WC_Shipping_Free_Shipping
S
22 151
WC_Widget_Products
S
21 161
WC_REST_Setting_Options_Controller
S
21 179
WC_Report_Taxes_By_Date
S
21 213
Automattic\WooCommerce\Admin\RemoteInboxNotifications\SpecRunner
S
21 113
WC_Autoloader
S
20 49
Automattic\WooCommerce\Admin\API\Reports\Orders\Controller
S
20 440
Automattic\WooCommerce\Admin\API\Reports\Variations\Stats\DataStore
S
20 165
Automattic\WooCommerce\Admin\RemoteInboxNotifications\GetRuleProcessor
S
20 43
Automattic\WooCommerce\Admin\API\Reports\Orders\Stats\Segmenter
S
19 284
CronExpression_DayOfWeekField
S
19 72
Automattic\WooCommerce\Admin\API\Themes
S
18 105
WC_REST_Product_Categories_V1_Controller
S
18 171
Automattic\WooCommerce\Blocks\StoreApi\Routes\ProductCollectionData
S
18 125
WC_REST_Product_Categories_Controller
S
18 187
Automattic\WooCommerce\Admin\API\Reports\Products\Stats\DataStore
S
16 146
Automattic\WooCommerce\Admin\API\Reports\Customers\Controller
S
16 504
Automattic\WooCommerce\Admin\API\Reports\Taxes\Stats\DataStore
S
16 152
WC_Legacy_Webhook
S
16 70
Automattic\WooCommerce\Blocks\StoreApi\Schemas\CartItemSchema
S
16 355
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\Admin\API\Taxes
S
11 88
WC_REST_Customers_V2_Controller
S
11 294
Automattic\WooCommerce\Blocks\StoreApi\Schemas\CartSchema
S
9 282
Automattic\WooCommerce\Blocks\StoreApi\Routes\Products
S
8 306
WC_Admin_Pointers
S
8 245
Automattic\WooCommerce\Admin\Features\PaymentGatewaySuggestions\DefaultPaymentGateways
S
8 290
Automattic\WooCommerce\Admin\API\Reports\Customers\Stats\Controller
S
6 303
WC_Settings_Accounts
S
4 199
WC_Settings_General
S
4 243
WC_REST_Customers_Controller
S
4 265
Automattic\WooCommerce\Admin\Features\RemoteFreeExtensions\DefaultFreeExtensions
S
1 335

764 more item(s) not shown.