FrmFieldsController D

Total Complexity 162
Dependencies 12
Dependents 3
Total lines 984
Lines of code 580
Logical lines of code 340
Comment lines 241
Methods 37
Properties 1

Methods 37

Method Rating Maintainability Complexity Lines of code
import_options()
A
42 12 48
load_single_field_settings()
A
46 10 37
load_single_field()
A
50 10 26
add_shortcodes_to_html()
A
53 10 21
add_placeholder_to_select()
A
51 8 27
load_field()
A
48 7 33
add_html_size()
S
52 7 22
add_validation_messages()
S
57 7 15
pull_custom_error_body_from_custom_html()
S
51 6 26
maybe_add_html_required()
S
61 6 12
add_input_classes()
S
62 6 11
check_value()
S
63 6 10
add_html_placeholder()
S
59 5 14
get_form_for_js_validation()
S
61 5 12
default_value_types()
S
46 3 41
include_new_field()
S
54 4 20
add_html_length()
S
58 4 15
add_frmval_to_input()
S
62 4 11
change_type()
S
56 3 19
add_html_cols()
S
56 3 17
add_pattern_attribute()
S
63 4 9
get_classes_for_builder_field()
S
61 3 12
maybe_add_error_html_for_js_validation()
S
62 3 11
duplicate()
S
61 3 11
input_html()
S
56 2 19
check_label()
S
70 3 6
get_validation_data_attribute_visibility_info()
S
60 2 14
display_field_options()
S
68 2 7
prepare_placeholder()
S
74 2 4
maybe_define_field_selection_data()
S
71 2 6
show_format_option()
S
64 2 9
should_allow_input_attribute()
S
71 2 6
add_placeholder_to_input()
S
71 2 5
destroy()
S
68 1 7
get_field_array_from_id()
S
75 1 4
get_default_value_from_name()
S
81 1 3
create()
S
63 1 10