FrmFieldsController D

Total Complexity 171
Dependencies 13
Dependents 4
Total lines 1,010
Lines of code 625
Logical lines of code 364
Comment lines 209
Methods 42
Properties 1

Methods 42

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 9 21
add_placeholder_to_select()
A
51 8 27
load_field()
A
48 7 33
add_html_placeholder()
S
53 7 23
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_pattern_attribute()
S
59 5 12
get_form_for_js_validation()
S
61 5 12
default_value_types()
S
46 3 41
update_ajax_option()
S
53 4 23
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
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
prepare_placeholder()
S
74 2 4
add_placeholder_to_input()
S
71 2 5
show_format_option()
S
64 2 9
display_field_options()
S
68 2 7
maybe_define_field_selection_data()
S
71 2 6
get_default_value_from_name()
S
81 1 3
create()
S
63 1 10
destroy()
S
68 1 7
get_field_array_from_id()
S
75 1 4
import_choices()
S
76 1 4
add_option()
S
79 1 3
update_order()
S
81 1 3
edit_name()
S
79 1 3
include_single_field()
S
78 1 3