Forminator_Field D

Total Complexity 270
Dependencies 3
Dependents 12
Total lines 1,904
Lines of code 922
Logical lines of code 515
Comment lines 670
Methods 57
Properties 14

Methods 57

Method Rating Maintainability Complexity Lines of code
is_condition_fulfilled()
D
27
56 119
is_hidden()
B
42 22 48
is_condition_matched()
B
42 20 47
create_input()
A
44 13 43
create_wp_editor()
A
45 10 41
init_autofill()
A
54 10 21
maybe_re_autofill()
A
50 9 31
create_file_upload()
A
41 7 60
populate_options_for_select()
A
54 9 18
get_autofill_setting()
A
55 8 20
forminator_number_formatting()
A
54 8 18
create_select()
S
47 6 36
create_textarea()
S
50 6 30
maybe_get_element_autofill_value()
S
61 6 12
get_element_autofill_markup_attr()
S
55 5 21
get_day_or_month()
S
56 4 17
get_property()
S
61 4 13
get_description()
S
49 2 37
get_tinymce_args()
S
50 1 52
forminator_separators()
S
51 2 31
get_element_autofill_settings()
S
64 4 10
create_simple_select()
S
57 3 15
get_prefill()
S
63 3 11
element_autofill_is_editable()
S
70 3 6
get_post_data()
S
65 3 9
has_limit()
S
70 3 6
get_post_data_sanitize()
S
63 3 10
has_prefill()
S
64 3 10
get_form_style()
S
71 2 6
is_autofill_enabled()
S
77 2 3
is_valid_entry()
S
70 2 7
get_field_multiple_required_message()
S
64 2 9
get_dummy_calculable_value()
S
65 2 9
implode_attr()
S
67 2 7
add_required_wp_editor()
S
69 2 6
replace_from_prefill()
S
68 2 7
element_has_autofill()
S
78 1 3
get_calculable_value()
S
69 1 6
get_calculable_precision()
S
69 1 6
__construct()
S
79 1 3
get_validation_rules()
S
82 1 3
autofill_settings()
S
82 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
admin_init_field()
S
67 1 7
get_id()
S
79 1 3
is_required()
S
72 1 5
validate()
S
91 1 2
defaults()
S
82 1 3
markup()
S
82 1 3
get_settings()
S
82 1 3
get_category()
S
82 1 3
get_slug()
S
82 1 3
get_name()
S
82 1 3
forminator_replace_number()
S
70 1 5