Code Analysis: WooCommerce Square 4.8.3

Most Complex Functions

Function Rating Complexity
WooCommerce\Square\Sync\Product_Import::save_variations()
D
46
WooCommerce\Square\Sync\Manual_Synchronization::square_sor_sync()
D
40
WooCommerce\Square\Sync\Product_Import::save_product_meta()
D
39
WooCommerce\Square\Gateway\Gift_Card::add_gift_card_fragments()
D
26
WooCommerce\Square\Sync\Product_Import::import_products()
D
31
WooCommerce\Square\Sync\Manual_Synchronization::search_matched_products()
C
26
WooCommerce\Square\Sync\Manual_Synchronization::upsert_catalog_objects()
C
24
WooCommerce\Square\Sync\Product_Import::extract_product_data()
C
24
WooCommerce\Square\Framework\PaymentGateway\Payment_Gateway::add_transaction_data()
C
26
WooCommerce\Square\Framework\PaymentGateway\Api\Payment_Gateway_API_Response_Message_Helper::get_user_message()
C
26
WooCommerce\Square\Handlers\Product::update_from_square()
B
20
WooCommerce\Square\Sync\Manual_Synchronization::pull_inventory()
B
18