Mailchimp_Woocommerce_Newsletter_Blocks_Integration S

Total Complexity 44
Dependencies 10
Dependents 0
Total lines 331
Lines of code 190
Logical lines of code 89
Comment lines 92
Methods 16
Properties 0

Methods 16

Method Rating Maintainability Complexity Lines of code
order_processed()
S
53 6 20
getOptinStatus()
S
58 6 15
capture_from_store_api()
S
61 5 13
register_frontend_scripts()
S
52 3 27
order_customer_processed()
S
55 3 21
getGdprFields()
S
64 4 10
get_file_version()
S
70 4 6
register_editor_scripts()
S
54 2 23
get_script_data()
S
57 2 17
add_attributes_to_frontend_blocks()
S
69 2 7
api()
S
72 2 6
get_name()
S
82 1 3
initialize()
S
68 1 7
get_script_handles()
S
76 1 5
get_editor_script_handles()
S
76 1 5
register_editor_blocks()
S
73 1 5