Flexible_Checkout_Fields_Plugin D

Total Complexity 187
Dependencies 17
Dependents 7
Total lines 936
Lines of code 625
Logical lines of code 323
Comment lines 158
Methods 42
Properties 9

Methods 42

Method Rating Maintainability Complexity Lines of code
getCheckoutFields()
D
26
51 126
getCheckoutUserFields()
C
38 26 63
printCheckoutFields()
A
48 14 30
append_other_plugins_fields_to_checkout_fields()
A
54 11 22
updateCheckoutFields()
A
51 8 24
wp_enqueue_scripts()
A
51 8 23
woocommerce_get_country_locale_base()
S
55 7 17
get_settings_for_available_sections()
S
57 7 17
restore_default_city_validation()
S
54 6 20
wp_localize_jquery_ui_datepicker()
S
44 3 49
woocommerce_get_country_locale()
S
61 5 12
admin_enqueue_scripts()
S
59 4 13
hooks()
S
43 1 54
woocommerce_default_address_fields()
S
66 4 8
init_fields()
S
63 3 11
init_sections()
S
52 1 28
links_filter()
S
60 2 11
get_settings()
S
69 2 7
woocommerce_before_checkout_form()
S
70 1 6
init()
S
73 1 6
load_dependencies()
S
76 1 4
get_plugin_path()
S
82 1 3
add_woocommerce_screen_ids()
S
77 1 4
woocommerce_get_country_locale_default()
S
82 1 3
flexible_checkout_fields_section_settings()
S
81 1 3
load_plugin_text_domain()
S
75 1 4
addCustomFieldsOrderFields()
S
79 1 3
addCustomFieldsShippingFields()
S
79 1 3
addCustomFieldsBillingFields()
S
79 1 3
addCustomShippingFieldsToAdmin()
S
80 1 3
addCustomOrderFieldsToAdmin()
S
80 1 3
addCustomBillingFieldsToAdmin()
S
80 1 3
changeOrderFields()
S
79 1 3
changeBillingFields()
S
79 1 3
changeShippingFields()
S
79 1 3
changeCheckoutFields()
S
80 1 3
plugins_loaded()
S
78 1 4
get_setting_value()
S
78 1 3
init_base_variables()
S
64 1 9
get_fields()
S
79 1 3
is_field_requirement_controlled_by_woocommerce()
S
79 1 3
__construct()
S
72 1 5