Forminator_Field D

Total Complexity 363
Dependencies 6
Dependents 19
Total lines 2,381
Lines of code 1,184
Logical lines of code 684
Comment lines 843
Methods 71
Properties 21

Methods 71

Method Rating Maintainability Complexity Lines of code
is_condition_fulfilled()
D
20
77 176
is_hidden()
B
42 24 46
is_condition_matched()
B
40 23 51
create_wp_editor()
A
43 12 45
create_file_upload()
A
39 9 68
add_index_file()
A
51 11 25
maybe_autofill()
A
48 10 35
create_input()
A
47 10 34
populate_options_for_select()
A
53 11 19
get_field_conditions()
A
51 10 25
maybe_add_custom_option()
A
49 9 30
create_select()
A
49 8 29
add_htaccess_file()
A
49 7 35
get_description_position()
S
58 7 14
create_textarea()
S
53 6 21
get_autofill_setting()
S
56 6 20
forminator_number_formatting()
S
57 6 14
get_element_autofill_markup_attr()
S
54 5 22
get_prefill()
S
57 5 17
get_options()
S
57 5 16
forminator_upload_index_file()
S
59 5 14
get_day_or_month()
S
56 4 17
create_simple_select()
S
55 4 17
maybe_replace_to_autofill_value()
S
59 4 14
get_property()
S
61 4 13
get_tinymce_args()
S
50 1 52
forminator_separators()
S
51 2 31
check_upload_root_index_file()
S
64 4 10
get_field_label()
S
61 3 12
get_description()
S
58 2 17
is_valid_entry()
S
64 3 10
has_limit()
S
70 3 6
get_field_multiple_required_message()
S
63 3 9
element_autofill_is_editable()
S
70 3 6
get_element_autofill_settings()
S
68 3 7
create_step_string()
S
64 3 10
get_post_data_sanitize()
S
63 3 10
get_post_data()
S
65 3 9
has_prefill()
S
64 3 10
get_calculable_precision()
S
67 3 6
convert_markdown()
S
60 2 13
esc_description()
S
55 1 22
is_autofill_enabled()
S
77 2 3
add_required_wp_editor()
S
69 2 6
implode_attr()
S
67 2 7
replace_from_prefill()
S
68 2 7
get_subfield_id()
S
63 2 10
get_form_style()
S
71 2 6
validate_entry()
S
69 2 7
get_required_error_message()
S
80 1 3
forminator_replace_number()
S
65 1 8
get_name()
S
82 1 3
get_slug()
S
82 1 3
get_category()
S
82 1 3
get_settings()
S
82 1 3
generate_upload_metadata()
S
72 1 5
autofill_settings()
S
82 1 3
get_calculable_value()
S
69 1 6
markup()
S
82 1 3
defaults()
S
82 1 3
get_field_id()
S
79 1 3
is_available()
S
82 1 3
sanitize_value()
S
79 1 3
sanitize()
S
82 1 3
get_validation_messages()
S
82 1 3
get_validation_rules()
S
82 1 3
get_id()
S
79 1 3
admin_init_field()
S
67 1 7
is_required()
S
72 1 5
validate()
S
91 1 2
__construct()
S
79 1 3