Code Analysis: WooCommerce Square 2.3.1

Most Complex Functions

Function Rating Complexity
WooCommerce\Square\Sync\Product_Import::save_variations()
D
46
WooCommerce\Square\Sync\Manual_Synchronization::upsert_catalog_objects()
D
35
WooCommerce\Square\Sync\Product_Import::save_product_meta()
D
38
WooCommerce\Square\Sync\Manual_Synchronization::square_sor_sync()
D
32
WooCommerce\Square\Sync\Product_Import::import_products()
D
32
WooCommerce\Square\Sync\Manual_Synchronization::search_matched_products()
C
27
WooCommerce\Square\Sync\Product_Import::extract_product_data()
C
23
WooCommerce\Square\Gateway\Card_Handler::get_tokens()
B
21
WooCommerce\Square\Sync\Manual_Synchronization::prepare_matched_products_for_upsert()
B
20
WooCommerce\Square\Admin\Sync_Page::output_sync_status()
B
17
WooCommerce\Square\Handlers\Product::update_from_square()
B
19
WooCommerce\Square\Handlers\Product\Woo_SOR::update_catalog_item()
B
17