Noptin_WooCommerce A

Total Complexity 51
Dependencies 5
Dependents 2
Total lines 479
Lines of code 275
Logical lines of code 124
Comment lines 129
Methods 24
Properties 4

Methods 24

Method Rating Maintainability Complexity Lines of code
get_order_customer_details()
A
43 6 49
get_product_purchase_count()
S
53 5 23
get_order_details()
S
47 4 37
triggered()
S
61 5 11
get_order_item_details()
S
58 2 16
get_order_customer_user_id()
S
64 3 10
get_order_customer_email()
S
64 3 10
init_store_endpoint()
S
60 2 13
before_checkbox_wrapper()
S
74 2 5
after_checkbox_wrapper()
S
74 2 5
add_checkbox_after_email_field()
S
71 2 6
save_woocommerce_checkout_checkbox_value()
S
69 2 7
hook_show_checkbox_code()
S
64 2 9
checkbox_positions()
S
60 1 14
available_customer_fields()
S
59 1 14
extend_checkout_schema()
S
61 1 13
before_initialize()
S
71 1 5
add_woocommerce_class_to_checkbox()
S
76 1 4
get_checkbox_message_integration_default_value()
S
79 1 3
checkout_update_order_from_request()
S
71 1 5
register_checkout_block_integration_registry()
S
75 1 4
get_order_count()
S
78 1 3
get_total_spent()
S
78 1 3
initialize()
S
70 1 6