Mailchimp_Woocommerce_Newsletter_Blocks_Integration S

Total Complexity 49
Dependencies 10
Dependents 0
Total lines 345
Lines of code 200
Logical lines of code 98
Comment lines 92
Methods 16
Properties 0

Methods 16

Method Rating Maintainability Complexity Lines of code
getOptinStatus()
S
58 7 15
order_processed()
S
53 6 20
get_script_data()
S
52 5 23
capture_from_store_api()
S
61 5 13
order_customer_processed()
S
52 4 25
register_frontend_scripts()
S
52 3 27
getGdprFields()
S
64 4 10
get_file_version()
S
70 4 6
register_editor_scripts()
S
54 2 23
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