CMB2_Field D

Total Complexity 128
Dependencies 2
Dependents 4
Total lines 917
Lines of code 379
Logical lines of code 200
Comment lines 397
Methods 31
Properties 9

Methods 31

Method Rating Maintainability Complexity Lines of code
_set_field_defaults()
A
40 14 55
render_field()
A
49 10 29
escaped_value()
A
50 10 27
options()
A
55 9 19
update_data()
A
53 8 19
get_data()
A
55 8 17
row_classes()
S
50 6 26
__construct()
S
58 6 14
maybe_callback()
S
61 6 13
get_param_callback_result()
S
56 5 18
sanitization_cb()
S
60 5 13
remove_data()
S
59 4 12
args()
S
64 4 9
save_field()
S
65 4 9
get_timestamp_format()
S
63 4 10
_data()
S
69 3 7
field_timezone()
S
66 3 9
set_value()
S
67 2 7
__call()
S
74 2 4
id()
S
75 2 4
val_or_default()
S
77 2 3
save_field_from_data()
S
70 2 6
repeatable_exception()
S
61 1 14
replace_hash()
S
78 1 3
escaping_exception()
S
70 1 7
peform_param_callback()
S
80 1 3
format_timestamp()
S
78 1 3
field_timezone_offset()
S
80 1 3
data_args()
S
63 1 10
value()
S
79 1 3
maybe_set_attributes()
S
78 1 3