Code Analysis: Hide Address Fields for WooCommerce 1.1.9

Function Rating Maintainability Complexity Lines of code
WC_HAF::wc_checkout_remove_fields()
D
31 47 95
WC_HAF::wc_get_customer_address()
B
44 19 40
WC_HAF::wc_sanitize_option_wc_haf_hide_postcode()
A
56 15 13
WC_HAF::wc_disable_address()
A
33 2 183
WC_HAF::wc_get_settings()
A
31 4 144
WC_HAF::wc_sort_checkout_fields()
A
55 10 17
WC_HAF::wc_sanitize_option_wc_haf_shipping_methods()
A
56 9 16
WC_HAF::wc_sanitize_option_wc_haf_top_state()
S
65 9 7
WC_HAF::wc_set_default_shipping_method()
S
56 8 15
WC_HAF::init_functions()
S
45 6 38
WC_HAF::wc_sanitize_option_wc_haf_hide_city()
S
63 7 8
WC_HAF::wc_sanitize_option_wc_haf_hide_state()
S
62 7 9
WC_HAF::wc_sanitize_option_wc_haf_hide_country()
S
62 7 9
WC_HAF::wc_haf_update_shipping_methods()
S
58 6 14
WC_HAF::wc_payment_options_form()
S
56 5 17
WC_HAF::wc_force_needs_shipping()
S
76 5 3
WC_HAF::wc_fix_cart_address_display()
S
63 4 11
WC_HAF::wc_haf_shipping_options_shortcode()
S
64 4 9
WC_HAF::wc_sort_locale_fields()
S
62 3 11
WC_HAF::wc_disable_postcode_validation()
S
76 3 3
WC_HAF::wc_disable_validations()
S
72 3 5
WC_HAF::wc_shipping_options_form()
S
66 3 9
WC_HAF::wc_add_plugin_links()
S
64 3 8
WC_HAF::wc_sanitize_option_wc_haf_payment_methods()
S
66 3 8
WC_HAF::wc_hide_shipping_price()
S
76 3 3
WC_HAF::wc_display_shipping_price()
S
64 2 11
WC_HAF::wc_shipping_options_shortcode_js()
S
63 1 19
WC_HAF::wc_hide_cart_state()
S
78 2 3
WC_HAF::__construct()
S
65 2 8
WC_HAF::wc_payment_options_field()
S
66 2 7
WC_HAF::wc_shipping_options_field()
S
66 2 7
WC_HAF::init()
S
68 2 7
WC_HAF::wc_get_review_order_template()
S
77 2 3
WC_HAF::wc_hide_cart_postcode()
S
78 2 3
WC_HAF::wc_get_payment_template()
S
77 2 3
WC_HAF::wc_hide_cart_city()
S
78 2 3
WC_HAF::init_settings()
S
58 1 14
WC_HAF::wc_add_payment_top_style()
S
70 1 11
WC_HAF::wc_set_default_country()
S
80 1 3
WC_HAF::wc_settings_tab()
S
81 1 3
WC_HAF::wc_top_payment_methods_update()
S
71 1 6
WC_HAF::init_textdomain()
S
77 1 3
WC_HAF::wc_add_shipping_top_style()
S
73 1 8
WC_HAF::wc_update_settings_link()
S
73 1 4
WC_HAF::wc_disable_cost_requires_address_option()
S
82 1 3
WC_HAF::wc_update_settings()
S
81 1 3
WC_HAF::wc_add_settings_tab()
S
75 1 4
WC_HAF::wc_top_shipping_table_update()
S
71 1 6