Code Analysis: WooCommerce LayUp Payment Gateway 1.7.11

Function Rating Maintainability Complexity Lines of code
WC_Layup_Gateway::process_payment()
D
24
29 176
save_layup_disable_field()
C
28
19 152
layup_display_icon()
C
26
8 316
layup_check_prod()
A
32 11 110
layup_add_settings()
A
26
1 238
layup_check_payments()
A
38 10 67
WC_Layup_Gateway::layup_callback()
A
40 9 58
WC_Settings_LayUp::layup_save()
A
40 8 67
WC_Settings_LayUp::layup_output()
A
41 6 61
layup_payment_plans_shortcode()
S
39 4 69
layup_display_estimate()
S
51 6 26
layup_admin_footer_script()
S
47 4 41
WC_Settings_LayUp::layup_get_settings()
S
42 2 64
WC_Layup_Gateway::init_form_fields()
S
40 1 79
layup_quick_edit_js()
S
50 3 47
woo_add_layup_date_fields()
S
46 3 45
layup_date_option()
S
53 4 22
WC_Layup_Gateway::__construct()
S
46 3 35
layup_quick_edit_save()
S
61 4 13
WC_Layup_Gateway::admin_notices()
S
54 3 21
WC_Layup_Gateway::is_valid_for_use()
S
66 4 8
WC_Layup_Gateway::generate_layup_sku()
S
58 3 15
WC_Settings_LayUp::layup_admin_notices()
S
60 3 15
my_error_notice()
S
54 2 28
WC_Layup_Gateway::admin_options()
S
58 2 16
layup_quick_edit_fields()
S
60 2 16
layup_add_to_cart_validation()
S
64 3 9
layup_populate_column()
S
65 3 9
layup_activation()
S
67 3 8
WC_Settings_LayUp::__construct()
S
56 1 20
create_layup_custom_deposit_type_field()
S
57 1 19
layup_custom_field_bulk_edit_save()
S
68 2 7
layup_add_cart_item_date()
S
69 2 7
layup_cron_schedules()
S
66 2 8
layup_init_gateway_class()
S
66 2 9
layup_get_cart_item_from_session()
S
70 2 7
layup_get_item_date()
S
64 2 10
layup_order_item_product()
S
69 2 7
woocommerce_layup_plugin_links()
S
58 1 15
layup_save_date_to_order_items()
S
67 2 8
layup_custom_field_bulk_edit_input()
S
67 1 12
create_layup_custom_deposit_amount_field()
S
63 1 11
layup_add_payment_plans_link_my_account()
S
77 1 4
layup_payment_plans_content()
S
81 1 3
layup_payment_plans_query_vars()
S
77 1 4
create_layup_custom_months_max_field()
S
64 1 10
layup_disable_column()
S
77 1 4
layup_add_gateway_class()
S
77 1 4
create_layup_custom_months_field()
S
64 1 10
layup_add_payment_plans_endpoint()
S
79 1 3
create_layup_custom_deposit_field()
S
64 1 10
create_layup_disable_field()
S
64 1 10
layup_deactivation()
S
78 1 4
create_layup_custom_months_min_field()
S
64 1 10
register_layup_style()
S
78 1 3
layup_email_order_meta_fields()
S
75 1 4