WPForms_Field D

Total Complexity 431
Dependencies 3
Dependents 0
Total lines 3,611
Lines of code 2,179
Logical lines of code 905
Comment lines 932
Methods 52
Properties 12

Methods 52

Method Rating Maintainability Complexity Lines of code
field_option()
D
0
134 1,104
field_preview_option()
D
15
68 261
field_element()
D
31 36 94
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_choices_label()
A
57 9 15
get_empty_dynamic_choices_message()
S
50 7 28
display_quantity_dropdown()
S
45 6 40
field_prefill_value_property_fallback()
S
54 7 21
field_prefill_remove_choices_defaults()
S
55 7 21
get_field_populated_single_property_value()
S
55 7 19
field_display_sublabel()
S
52 6 24
get_field_populated_single_property_value_dynamic_choices()
S
55 6 19
is_fallback_population_allowed()
S
56 6 19
field_html_value()
S
59 6 14
get_submitted_field_quantity()
S
60 6 12
__construct()
S
46 4 36
get_field_html()
S
55 5 19
get_object()
S
58 5 14
ajax_error_field_name()
S
60 5 12
field_element_toggle()
S
56 4 17
enqueue_choicesjs_once()
S
49 2 33
validate()
S
70 4 5
is_payment_quantities_enabled()
S
65 4 9
format()
S
58 3 14
field_prefill_value_property()
S
62 3 11
field_display_modern()
S
68 3 7
is_quantity_choicesjs_search_enabled()
S
67 3 7
preview_field_class()
S
66 3 9
enhance_template_fields_with_keywords()
S
65 3 9
add_keywords()
S
67 3 8
is_dynamic_population_allowed()
S
64 3 10
field_display_error()
S
64 2 10
is_dynamic_choices_empty()
S
66 2 8
field_data()
S
71 2 6
field_display_proxy()
S
66 2 8
exclude_empty_dynamic_choices()
S
65 2 9
add_allowed_label_html_tags()
S
62 1 12
get_field_populated_single_property_value_public()
S
78 1 3
display_empty_dynamic_choices_message()
S
72 1 6
field_preview()
S
100 1 0
filter_field_html_value_images()
S
77 1 3
is_dynamic_choices()
S
79 1 3
is_choicesjs_search_enabled()
S
78 1 3
get_field_html_image()
S
70 1 7
field_button()
S
64 1 10
init()
S
100 1 0
field_display()
S
100 1 0
field_options()
S
100 1 0
field_display_classic()
S
79 1 3