Noptin_WooCommerce A

Total Complexity 55
Dependencies 3
Dependents 1
Total lines 468
Lines of code 276
Logical lines of code 129
Comment lines 115
Methods 20
Properties 4

Methods 20

Method Rating Maintainability Complexity Lines of code
triggered()
A
50 11 27
get_order_customer_details()
A
43 6 49
get_product_purchase_count()
S
53 5 23
get_order_details()
S
47 4 37
hook_show_checkbox_code()
S
55 4 20
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
add_checkout_block_field()
S
60 2 14
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