WPForms_Field D

Total Complexity 338
Dependencies 1
Dependents 0
Total lines 2,752
Lines of code 1,765
Logical lines of code 715
Comment lines 614
Methods 29
Properties 10

Methods 29

Method Rating Maintainability Complexity Lines of code
field_option()
D
0
123 991
field_preview_option()
D
15
68 250
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
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
is_fallback_population_allowed()
S
56 6 19
get_field_populated_single_property_value_dynamic_choices()
S
55 6 19
field_display_sublabel()
S
56 5 17
field_element_toggle()
S
56 4 17
__construct()
S
51 3 25
enqueue_choicesjs_once()
S
49 2 33
ajax_error_field_name()
S
67 4 7
validate()
S
70 4 5
format()
S
58 3 14
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