Code Analysis: WooCommerce Conditional Payment Methods 1.16.4

Most Complex Functions

Function Rating Complexity
wccpg_get_checkout_fields()
D
56
WPCPG_Condition::is_valid()
C
31
Vg_Payment_Gateways_Conditions_Frontend_Filter::check_vg_payment_gateways_conditions()
B
17
Vg_Payment_Gateways_Conditions_Metaboxes_Html::condition_table_row()
A
10
Vg_Payment_Gateways_Conditions_Frontend_Filter::filter_payment_gateways()
A
10
wccpg_trigger_update_checkout_on_change()
A
11
WC_Conditional_Payment_Gateways_Dist::remove_premium_condition_files()
A
11
WP_CPG_Helpers::payment_gateways_options_array()
A
10
WP_CPG::condition_select_2_search()
A
7
WC_Conditional_Payment_Gateways_Dist::init()
A
7
Vg_Payment_Gateway_Conditions_Metaboxes::save_metaboxes()
S
7
WP_CPG_Helpers::get_active_conditions_saved_data()
S
7