WPForms_Field D

Total Complexity 378
Dependencies 2
Dependents 0
Total lines 3,178
Lines of code 1,931
Logical lines of code 793
Comment lines 807
Methods 44
Properties 12

Methods 44

Method Rating Maintainability Complexity Lines of code
field_option()
D
0
124 992
field_preview_option()
D
15
68 260
field_element()
D
32 34 90
field_new()
A
36 10 91
field_prefill_value_property_dynamic()
A
48 11 34
get_field_populated_single_property_value_normal_choices()
A
48 10 32
field_fill_empty_choices()
A
53 9 20
get_empty_dynamic_choices_message()
S
50 7 28
field_prefill_remove_choices_defaults()
S
55 7 21
field_prefill_value_property_fallback()
S
54 7 21
get_field_populated_single_property_value()
S
55 7 19
get_field_populated_single_property_value_dynamic_choices()
S
55 6 19
is_fallback_population_allowed()
S
56 6 19
__construct()
S
47 4 34
get_field_html()
S
57 5 17
field_display_sublabel()
S
56 5 17
field_html_value()
S
62 5 11
field_element_toggle()
S
56 4 17
get_object()
S
60 4 11
enqueue_choicesjs_once()
S
49 2 33
validate()
S
70 4 5
ajax_error_field_name()
S
67 4 7
format()
S
58 3 14
field_prefill_value_property()
S
62 3 11
is_dynamic_population_allowed()
S
64 3 10
field_display_modern()
S
68 3 7
exclude_empty_dynamic_choices()
S
65 2 9
is_dynamic_choices_empty()
S
66 2 8
field_display_proxy()
S
66 2 8
field_data()
S
71 2 6
field_display_error()
S
64 2 10
add_allowed_label_html_tags()
S
62 1 12
field_display_classic()
S
79 1 3
field_display()
S
100 1 0
get_field_html_image()
S
70 1 7
filter_field_html_value_images()
S
77 1 3
init()
S
100 1 0
field_preview()
S
100 1 0
field_options()
S
100 1 0
is_choicesjs_search_enabled()
S
78 1 3
field_button()
S
64 1 10
is_dynamic_choices()
S
79 1 3
get_field_populated_single_property_value_public()
S
78 1 3
display_empty_dynamic_choices_message()
S
72 1 6