ES_Form_Controller D

Total Complexity 236
Dependencies 0
Dependents 5
Total lines 1,338
Lines of code 1,093
Logical lines of code 386
Comment lines 121
Methods 22
Properties 1

Methods 22

Method Rating Maintainability Complexity Lines of code
prepare_form_data()
D
11
92 279
get_form_data_from_body()
D
23
67 134
validate_data()
A
47 12 36
sanitize_data()
A
47 11 35
get_form_style_css()
A
49 9 32
get_form()
A
53 9 24
save_api()
S
57 6 17
get_form_preview_data()
S
58 6 14
save()
S
54 5 20
get_minimalistic_css()
S
42 1 80
get_dark_css()
S
45 1 63
has_list_field_in_dnd_body()
S
63 5 10
get_inline_css()
S
46 1 58
get_default_css()
S
46 1 58
get_straight_border_css()
S
47 1 52
get_rounded_border_css()
S
47 1 52
get_grey_background_css()
S
47 1 52
get_compact_css()
S
47 1 52
process_form_body()
S
59 2 14
get_instance()
S
71 2 6
__construct()
S
82 1 3
init()
S
91 1 2