Hustle_Module_Renderer D

Total Complexity 318
Dependencies 13
Dependents 2
Total lines 2,123
Lines of code 1,251
Logical lines of code 741
Comment lines 408
Methods 39
Properties 1

Methods 39

Method Rating Maintainability Complexity Lines of code
get_form_input()
D
28
38 121
get_wrapper_main()
C
32 24 110
get_optin_design_default()
B
41 22 58
get_optin_design_focus_optin()
B
42 19 59
get_hidden_value()
B
42 17 53
get_optin_design_focus_content()
A
42 15 58
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_optin_body()
A
47 9 36
get_recaptcha_container()
A
43 8 50
get_feature_image()
A
46 7 43
maybe_get_success_message()
A
52 8 24
get_informational_body()
S
51 7 26
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_cta_button()
S
47 4 37
get_custom_fields()
S
55 5 19
get_module_main_content()
S
41 2 64
get_form()
S
49 4 33
get_field_gdpr()
S
51 4 29
get_form_submit()
S
58 4 14
get_optin_body_content()
S
63 4 12
get_cta_markup()
S
55 3 18
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_module_body()
S
68 2 8
get_common_hidden_fields()
S
66 2 8
get_overlay_mask()
S
68 2 8
is_optin()
S
71 2 6
get_form_hidden_input()
S
64 1 10
form_elements()
S
75 1 4
input_sanitize()
S
70 1 6