Code Analysis: WooCommerce 7.8.1

Most Complex Classes

Class Rating Complexity
WC_AJAX
D
539
WC_API_Products
D
527
WC_API_Products
D
387
WC_Abstract_Order
D
337
WC_REST_Products_V2_Controller
D
310
WC_Cart
D
303
WC_API_Orders
D
298
WC_Product
D
294
WC_REST_Products_V1_Controller
D
289
WC_API_Orders
D
286
WC_Product_Data_Store_CPT
D
276
WC_Order
D
276

Most Complex Functions

Function Rating Complexity
WC_REST_Products_Controller::prepare_object_for_database()
D
105
WC_Admin_Settings::output_fields()
D
86
WC_REST_Products_V2_Controller::prepare_object_for_database()
D
96
WC_API_Products::save_product_meta()
D
93
WC_API_Products::save_product_meta()
D
92
WC_REST_Products_V2_Controller::get_product_data()
D
74
WC_REST_Legacy_Products_Controller::set_product_meta()
D
73
WC_REST_Products_V1_Controller::set_product_meta()
D
73
WC_Geo_IP::_setup_segments()
D
70
WC_Meta_Box_Order_Data::output()
D
53
woocommerce_form_field()
D
63
WC_Admin_Report::get_order_report_data()
D
60