Code Analysis: Google Listings & Ads 1.10.0

Most Complex Functions

Function Rating Complexity
Automattic\WooCommerce\GoogleListingsAndAds\ConnectionTest::handle_actions()
D
115
Automattic\WooCommerce\GoogleListingsAndAds\ConnectionTest::render_admin_page()
D
37
Automattic\WooCommerce\GoogleListingsAndAds\API\Site\Controllers\MerchantCenter\AccountController::setup_merchant_account()
B
18
Automattic\WooCommerce\GoogleListingsAndAds\MerchantCenter\MerchantStatuses::update_product_mc_statuses()
A
14
Automattic\WooCommerce\GoogleListingsAndAds\Product\WCProductAdapter::get_wc_product_sale_price_effective_date()
A
12
Automattic\WooCommerce\GoogleListingsAndAds\API\Google\Settings::get_store_address()
A
12
Automattic\WooCommerce\GoogleListingsAndAds\Coupon\CouponSyncer::update()
A
6
Automattic\WooCommerce\GoogleListingsAndAds\Polyfills\MBString::mb_convert_encoding()
A
11
Automattic\WooCommerce\GoogleListingsAndAds\Product\ProductMetaHandler::sanitize_meta_query()
A
11
Automattic\WooCommerce\GoogleListingsAndAds\Coupon\CouponSyncer::delete()
A
7
Automattic\WooCommerce\GoogleListingsAndAds\Polyfills\MBString::mb_detect_encoding()
A
10
Automattic\WooCommerce\GoogleListingsAndAds\API\Site\Controllers\Ads\AccountController::setup_account()
A
9