Hustle_Module_Renderer D

Total Complexity 305
Dependencies 13
Dependents 1
Total lines 2,052
Lines of code 1,208
Logical lines of code 723
Comment lines 384
Methods 38
Properties 1

Methods 38

Method Rating Maintainability Complexity Lines of code
get_form_input()
D
29
36 117
get_wrapper_main()
C
33 24 104
get_optin_design_default()
B
41 22 58
get_optin_design_focus_optin()
B
42 19 59
get_optin_design_focus_content()
A
42 15 58
get_form_hidden_input()
A
42 15 54
get_optin_design_compact()
A
44 15 49
get_informational_design_compact()
A
45 15 44
get_informational_design_stacked()
A
44 14 49
get_informational_design_default()
A
45 13 43
is_show_cta()
A
54 12 22
get_recaptcha_container()
A
43 8 51
get_feature_image()
A
45 6 46
maybe_get_success_message()
S
52 7 23
get_optin_body()
S
51 6 31
ajax_display()
S
49 6 30
get_form_fields()
S
52 6 24
is_recaptcha_active()
S
57 6 16
get_optin_nsa_link()
S
57 6 15
get_custom_fields()
S
55 5 19
get_form()
S
49 4 33
get_cta_button()
S
49 4 32
get_field_gdpr()
S
51 4 29
get_module_main_content()
S
44 2 53
get_informational_body()
S
55 4 21
get_form_submit()
S
58 4 14
get_optin_body_content()
S
63 4 12
get_cta_markup()
S
56 3 17
get_form_error()
S
60 3 13
get_informational_body_content()
S
65 3 10
get_close_button()
S
65 2 11
get_wrapper_content()
S
64 2 11
get_common_hidden_fields()
S
66 2 8
get_module_body()
S
68 2 8
get_overlay_mask()
S
68 2 8
is_optin()
S
71 2 6
input_sanitize()
S
70 1 6
form_elements()
S
75 1 4