WCJ_Checkout_Custom_Fields D

Total Complexity 157
Dependencies 1
Dependents 0
Total lines 721
Lines of code 537
Logical lines of code 308
Comment lines 144
Methods 17
Properties 0

Methods 17

Method Rating Maintainability Complexity Lines of code
add_custom_fields_to_order_display()
C
36 31 68
add_custom_checkout_fields()
C
33 25 88
add_woocommerce_admin_fields()
C
33 23 98
is_visible()
B
38 22 67
update_custom_checkout_fields_order_meta()
A
44 16 37
maybe_enqueue_scripts()
A
48 7 34
__construct()
S
42 5 51
add_custom_fields_to_store_exporter_order()
S
60 6 12
add_custom_fields_to_emails()
S
60 5 13
add_checkout_custom_fields_customer_meta_fields()
S
56 4 17
add_custom_fields_to_store_exporter()
S
60 3 13
woocommerce_form_field_type_number()
S
69 3 6
add_default_checkout_custom_fields()
S
64 3 10
add_custom_fields_to_view_order_and_thankyou_pages()
S
66 1 8
add_custom_billing_fields_to_admin_order_display()
S
79 1 3
add_custom_shipping_fields_to_admin_order_display()
S
79 1 3
add_custom_order_and_account_fields_to_admin_order_display()
S
65 1 9