Noptin_WooCommerce S

Total Complexity 47
Dependencies 2
Dependents 2
Total lines 436
Lines of code 237
Logical lines of code 113
Comment lines 129
Methods 22
Properties 4

Methods 22

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
66 4 7
get_order_item_details()
S
58 2 16
get_order_customer_email()
S
64 3 10
get_order_customer_user_id()
S
64 3 10
hook_show_checkbox_code()
S
64 2 9
save_woocommerce_checkout_checkbox_value()
S
74 2 5
add_checkbox_after_email_field()
S
71 2 6
before_checkbox_wrapper()
S
74 2 5
after_checkbox_wrapper()
S
74 2 5
available_customer_fields()
S
59 1 14
checkbox_positions()
S
62 1 11
get_total_spent()
S
78 1 3
get_order_count()
S
78 1 3
initialize()
S
72 1 5
get_checkbox_message_integration_default_value()
S
79 1 3
before_initialize()
S
74 1 4
checkout_update_order_from_request()
S
74 1 4
register_checkout_block_integration_registry()
S
75 1 4
add_woocommerce_class_to_checkbox()
S
76 1 4