ES_Onboarding_Controller D

Total Complexity 132
Dependencies 7
Dependents 0
Total lines 988
Lines of code 641
Logical lines of code 287
Comment lines 175
Methods 29
Properties 11

Methods 29

Method Rating Maintainability Complexity Lines of code
submit_onboarding_form()
C
33 27 89
create_contacts_and_add_to_list()
A
41 11 59
create_default_subscription_form()
A
35 8 94
configure_mailer_plugin()
A
49 12 29
perform_configuration_tasks()
A
42 10 53
create_default_lists()
A
47 8 39
add_default_workflows()
S
50 5 30
add_widget_to_sidebar()
S
52 5 24
validate_configuration_tasks()
S
54 5 21
create_default_newsletter_broadcast()
S
52 4 24
create_default_post_notification()
S
52 4 24
create_ess_account()
S
62 3 12
set_sending_service_consent()
S
62 3 12
send_test_email()
S
62 3 12
complete_ess_onboarding()
S
62 3 12
is_onboarding_completed()
S
61 3 12
enqueue_scripts()
S
67 3 8
set_settings()
S
65 3 8
get_default_form_body()
S
52 1 28
get_instance()
S
71 2 6
__construct()
S
82 1 3
init()
S
82 1 3
register_hooks()
S
79 1 3
get_default_newsletter_content()
S
74 1 4
get_default_post_notification_content()
S
72 1 5
get_default_form_content()
S
64 1 10
get_onboarding_step()
S
79 1 3
update_onboarding_step()
S
75 1 4
delete_onboarding_data()
S
65 1 10