WPForms_Field D

Total Complexity 289
Dependencies 0
Dependents 0
Total lines 1,998
Lines of code 1,162
Logical lines of code 625
Comment lines 576
Methods 28
Properties 10

Methods 28

Method Rating Maintainability Complexity Lines of code
field_option()
D
5
89 490
field_preview_option()
D
19
56 205
field_element()
D
31 36 91
field_prefill_value_property_dynamic()
A
48 11 34
field_new()
A
41 9 56
get_field_populated_single_property_value_normal_choices()
A
49 10 29
field_fill_empty_choices()
A
55 9 17
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
get_field_populated_single_property_value_dynamic_choices()
S
55 6 19
is_fallback_population_allowed()
S
56 6 19
field_display_sublabel()
S
56 5 17
__construct()
S
52 3 23
ajax_error_field_name()
S
67 4 7
validate()
S
70 4 5
format()
S
58 3 14
enqueue_choicesjs_once()
S
51 2 29
field_prefill_value_property()
S
62 3 11
is_dynamic_population_allowed()
S
64 3 10
field_display_error()
S
64 2 10
field_options()
S
100 1 0
field_display()
S
100 1 0
field_preview()
S
100 1 0
init()
S
100 1 0
field_button()
S
65 1 9
get_field_populated_single_property_value_public()
S
78 1 3
is_choicesjs_search_enabled()
S
78 1 3