FrmFieldsController D

Total Complexity 165
Dependencies 10
Dependents 2
Total lines 927
Lines of code 592
Logical lines of code 345
Comment lines 172
Methods 42
Properties 0

Methods 42

Method Rating Maintainability Complexity Lines of code
import_options()
A
43 12 46
load_single_field_settings()
A
45 11 37
load_single_field()
A
49 11 26
add_shortcodes_to_html()
A
53 9 21
load_field()
A
48 7 33
add_html_placeholder()
S
53 7 23
add_html_size()
S
52 7 22
default_value_types()
S
45 5 44
add_input_classes()
S
61 7 11
pull_custom_error_body_from_custom_html()
S
51 6 26
check_value()
S
63 6 10
add_validation_messages()
S
58 5 14
add_pattern_attribute()
S
59 5 12
get_form_for_js_validation()
S
61 5 12
update_ajax_option()
S
53 4 23
include_new_field()
S
55 4 19
add_placeholder_to_select()
S
59 4 15
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
maybe_add_html_required()
S
64 3 9
check_label()
S
70 3 6
prepare_placeholder()
S
74 2 4
add_placeholder_to_input()
S
71 2 5
display_field_options()
S
68 2 7
add_option()
S
71 2 6
update_order()
S
81 1 3
edit_name()
S
79 1 3
include_single_field()
S
78 1 3
edit_option()
S
79 1 3
get_default_value_from_name()
S
81 1 3
import_choices()
S
76 1 4
create()
S
63 1 10
show_format_option()
S
79 1 3
destroy()
S
68 1 7
get_field_array_from_id()
S
75 1 4
delete_option()
S
79 1 3