CMB2_Field D

Total Complexity 177
Dependencies 7
Dependents 10
Total lines 1,628
Lines of code 622
Logical lines of code 327
Comment lines 747
Methods 51
Properties 11

Methods 51

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
_set_field_defaults()
S
50 7 28
__construct()
S
55 7 18
get_string()
S
57 7 16
render_field_callback()
S
49 6 31
get_default_field_args()
S
46 5 40
sanitization_cb()
S
55 6 18
convert_deprecated_params()
S
54 5 23
get_timestamp_format()
S
60 5 13
set_field_defaults_all_or_nothing_types()
S
63 5 9
remove_data()
S
58 4 14
has_args_method()
S
54 3 23
display_value_callback()
S
55 3 20
options()
S
66 4 9
args()
S
64 4 9
set_options()
S
63 4 10
_data()
S
68 3 7
__call()
S
67 3 7
label()
S
67 3 7
get_default()
S
64 3 9
field_timezone()
S
65 3 10
js_data()
S
59 2 14
get_rest_value()
S
62 2 11
repeatable_exception()
S
55 1 20
id()
S
75 2 4
get_default_args()
S
65 2 9
group_id()
S
79 2 3
hash_id()
S
70 2 6
get_cmb()
S
69 2 6
register_js_data()
S
72 2 6
save_field_from_data()
S
68 2 7
add_js_dependencies()
S
70 2 6
get_supporting_field()
S
64 2 10
val_or_default()
S
78 2 3
escaping_exception()
S
70 1 7
render_column()
S
73 1 5
value()
S
79 1 3
render_field()
S
73 1 5
get_timestamp_from_value()
S
79 1 3
set_field_defaults_group()
S
66 1 8
set_field_defaults_wysiwyg()
S
71 1 5
format_timestamp()
S
78 1 3
set_group_sub_field_defaults()
S
71 1 5
field_timezone_offset()
S
80 1 3
get_field_clone()
S
80 1 3
data_args()
S
63 1 10
replace_hash()
S
78 1 3