Code Analysis: WooCommerce LayUp Payment Gateway 1.5.5

Function Rating Maintainability Complexity Lines of code
layup_check_payments()
B
35 15 83
layup_display_icon()
A
31 3 204
layup_add_settings()
A
26
1 231
WC_Layup_Gateway::process_payment()
A
34 10 95
save_layup_disable_field()
A
35 8 91
WC_Settings_LayUp::layup_save()
A
40 8 67
layup_payment_plans_shortcode()
S
39 4 69
WC_Settings_LayUp::layup_output()
S
43 5 54
layup_check_prod()
S
40 3 63
layup_admin_footer_script()
S
47 4 41
check_layup_disable_field()
S
54 5 23
WC_Settings_LayUp::layup_get_settings()
S
42 2 64
WC_Layup_Gateway::init_form_fields()
S
40 1 77
woo_add_layup_date_fields()
S
46 3 45
layup_date_option()
S
53 4 22
WC_Layup_Gateway::__construct()
S
49 3 29
layup_display_estimate()
S
54 3 22
WC_Layup_Gateway::admin_notices()
S
55 3 19
WC_Layup_Gateway::is_valid_for_use()
S
66 4 8
WC_Settings_LayUp::layup_admin_notices()
S
60 3 15
my_error_notice()
S
54 2 28
layup_activation()
S
67 3 8
layup_add_to_cart_validation()
S
64 3 9
WC_Layup_Gateway::admin_options()
S
61 2 12
WC_Settings_LayUp::__construct()
S
56 1 20
woocommerce_layup_plugin_links()
S
58 1 15
layup_add_cart_item_date()
S
69 2 7
layup_order_item_product()
S
69 2 7
layup_init_gateway_class()
S
66 2 9
layup_get_cart_item_from_session()
S
70 2 7
layup_save_date_to_order_items()
S
67 2 8
layup_get_item_date()
S
64 2 10
layup_payment_plans_content()
S
81 1 3
layup_email_order_meta_fields()
S
75 1 4
register_layup_style()
S
78 1 3
layup_payment_plans_query_vars()
S
77 1 4
layup_deactivation()
S
78 1 4
create_layup_disable_field()
S
64 1 10
layup_ten_add_cron_interval()
S
69 1 7
layup_add_payment_plans_endpoint()
S
79 1 3
layup_add_payment_plans_link_my_account()
S
77 1 4
layup_add_gateway_class()
S
77 1 4