Flexible_Checkout_Fields_Plugin D

Total Complexity 192
Dependencies 15
Dependents 7
Total lines 1,010
Lines of code 679
Logical lines of code 340
Comment lines 159
Methods 43
Properties 9

Methods 43

Method Rating Maintainability Complexity Lines of code
getCheckoutFields()
D
26
51 130
getCheckoutUserFields()
C
37 30 67
printCheckoutFields()
A
47 15 31
append_other_plugins_fields_to_checkout_fields()
A
54 11 22
wp_enqueue_scripts()
A
51 8 23
updateCheckoutFields()
A
54 8 19
get_settings_for_available_sections()
S
57 7 17
woocommerce_get_country_locale_base()
S
55 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
pro_fields()
S
45 2 51
admin_enqueue_scripts()
S
59 4 13
hooks()
S
43 1 54
woocommerce_default_address_fields()
S
66 4 8
init_sections()
S
52 1 28
links_filter()
S
60 2 11
get_settings()
S
69 2 7
addCustomOrderFieldsToAdmin()
S
80 1 3
init()
S
73 1 6
load_dependencies()
S
73 1 5
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
woocommerce_before_checkout_form()
S
70 1 6
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_fields()
S
67 1 8
init_base_variables()
S
64 1 9
is_field_requirement_controlled_by_woocommerce()
S
79 1 3
get_fields()
S
75 1 4
__construct()
S
72 1 5