ES_Form_Controller D

Total Complexity 202
Dependencies 0
Dependents 5
Total lines 1,230
Lines of code 997
Logical lines of code 339
Comment lines 116
Methods 22
Properties 1

Methods 22

Method Rating Maintainability Complexity Lines of code
prepare_form_data()
D
16
73 230
get_form_data_from_body()
D
26
56 117
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_dark_css()
S
45 1 63
get_inline_css()
S
46 1 58
get_default_css()
S
46 1 58
get_minimalistic_css()
S
47 1 57
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
82 1 3
register_hooks()
S
91 1 2