Noptin_WooCommerce A

Total Complexity 56
Dependencies 1
Dependents 1
Total lines 478
Lines of code 289
Logical lines of code 141
Comment lines 113
Methods 20
Properties 4

Methods 20

Method Rating Maintainability Complexity Lines of code
get_order_customer_details()
A
43 6 49
add_checkout_block_field()
S
51 7 28
hook_show_checkbox_code()
S
49 6 32
get_product_purchase_count()
S
53 5 23
get_order_details()
S
47 4 37
triggered()
S
59 5 14
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
save_woocommerce_checkout_checkbox_value()
S
69 2 7
add_checkbox_after_email_field()
S
71 2 6
before_checkbox_wrapper()
S
74 2 5
after_checkbox_wrapper()
S
74 2 5
checkbox_positions()
S
60 1 14
available_customer_fields()
S
59 1 14
get_total_spent()
S
78 1 3
initialize()
S
70 1 6
get_order_count()
S
78 1 3
add_woocommerce_class_to_checkbox()
S
76 1 4
get_checkbox_message_integration_default_value()
S
79 1 3