WCJ_Checkout_Custom_Fields D

Total Complexity 154
Dependencies 1
Dependents 0
Total lines 674
Lines of code 523
Logical lines of code 301
Comment lines 111
Methods 17
Properties 0

Methods 17

Method Rating Maintainability Complexity Lines of code
add_custom_fields_to_order_display()
C
36 31 69
add_custom_checkout_fields()
C
32 25 88
is_visible()
B
39 22 65
add_woocommerce_admin_fields()
B
34 20 93
update_custom_checkout_fields_order_meta()
A
44 16 37
maybe_enqueue_scripts()
A
48 7 34
__construct()
S
43 5 44
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
59 3 13
woocommerce_form_field_type_number()
S
69 3 6
add_default_checkout_custom_fields()
S
66 3 9
add_custom_fields_to_view_order_and_thankyou_pages()
S
66 1 8
add_custom_billing_fields_to_admin_order_display()
S
80 1 3
add_custom_shipping_fields_to_admin_order_display()
S
80 1 3
add_custom_order_and_account_fields_to_admin_order_display()
S
66 1 9