CMB2_Field D

Total Complexity 173
Dependencies 7
Dependents 10
Total lines 1,602
Lines of code 605
Logical lines of code 320
Comment lines 740
Methods 50
Properties 11

Methods 50

Method Rating Maintainability Complexity Lines of code
save_field()
A
47 13 34
escaped_value()
A
50 10 28
row_classes()
A
49 9 29
get_data()
A
52 9 21
update_data()
A
52 8 21
__construct()
S
55 7 18
get_string()
S
57 7 16
render_field_callback()
S
49 6 31
_set_field_defaults()
S
50 6 29
get_default_field_args()
S
46 5 37
sanitization_cb()
S
55 6 18
convert_deprecated_params()
S
54 5 23
set_field_defaults_all_or_nothing_types()
S
63 5 9
remove_data()
S
58 4 14
has_args_method()
S
54 3 22
display_value_callback()
S
55 3 20
args()
S
64 4 9
set_options()
S
63 4 10
options()
S
66 4 9
get_timestamp_format()
S
63 4 10
label()
S
67 3 7
get_default()
S
64 3 9
__call()
S
67 3 7
_data()
S
68 3 7
field_timezone()
S
65 3 10
js_data()
S
59 2 14
get_rest_value()
S
62 2 11
repeatable_exception()
S
56 1 19
save_field_from_data()
S
68 2 7
get_cmb()
S
69 2 6
get_default_args()
S
65 2 9
id()
S
75 2 4
val_or_default()
S
78 2 3
group_id()
S
79 2 3
hash_id()
S
70 2 6
register_js_data()
S
72 2 6
add_js_dependencies()
S
70 2 6
get_timestamp_from_value()
S
79 1 3
field_timezone_offset()
S
80 1 3
escaping_exception()
S
70 1 7
data_args()
S
63 1 10
set_field_defaults_group()
S
66 1 8
set_field_defaults_wysiwyg()
S
71 1 5
replace_hash()
S
78 1 3
set_group_sub_field_defaults()
S
71 1 5
format_timestamp()
S
78 1 3
render_column()
S
73 1 5
get_field_clone()
S
80 1 3
value()
S
79 1 3
render_field()
S
73 1 5