CMB2_Field D

Total Complexity 135
Dependencies 2
Dependents 4
Total lines 938
Lines of code 415
Logical lines of code 216
Comment lines 380
Methods 30
Properties 9

Methods 30

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