Code Analysis: Asaas Gateway for WooCommerce 2.6.0

Most Complex Functions

Function Rating Complexity
WC_Asaas\Gateway\Credit_Card::process_payment()
D
41
WC_Asaas\Subscription\Admin\Subscription_Admin::validate_subscription_changes()
D
33
WC_Asaas\Gateway\Pix::process_payment()
C
21
WC_Asaas\Cart\Cart::check_available_payment_gateways()
B
23
WC_Asaas\Gateway\Ticket::process_payment()
B
20
WC_Asaas\Webhook\Webhook::on_payment_created()
B
18
WC_Asaas\Webhook\Webhook_Ajax::check_and_create_webhook_settings()
B
16
WC_Asaas\Gateway\Gateway::generate_transactions_queue()
B
14
WC_Asaas\Meta_Data\Customer::extract_meta_data_from_order()
A
14
WC_Asaas\Helper\WP_List_Util::filter()
A
13
WC_Asaas\Helper\WP_List_Util::sort_callback()
A
11
WC_Asaas\Meta_Data\Customer::extract_data_from_order()
A
9