Test_CMB2_Field S

Total Complexity 27
Dependencies 1
Dependents 0
Total lines 406
Lines of code 267
Logical lines of code 115
Comment lines 52
Methods 27
Properties 0

Methods 27

Method Rating Maintainability Complexity Lines of code
test_show_option_none()
S
48 1 39
setUp()
S
49 1 34
test_multiple_meta_rows()
S
48 1 33
test_set_get_filters()
S
56 1 18
test_filtering_field_type_sanitization_filtering()
S
59 1 14
test_cmb2_should_show()
S
60 1 13
test_cmb2_row_classes_field_callback_with_string()
S
61 1 12
test_cmb2_row_classes_string()
S
61 1 12
test_empty_field_with_empty_object_id()
S
61 1 12
override_set()
S
71 1 5
cb_to_set_default()
S
79 1 3
label_cb_test()
S
82 1 3
render_row_cb_test()
S
82 1 3
row_classes_string_cb()
S
82 1 3
row_classes_array_cb()
S
80 1 3
before_field_cb()
S
79 1 3
test_cmb2_save_field_action()
S
65 1 9
test_cmb2_save_field_field_id_action()
S
65 1 9
tearDown()
S
81 1 3
_return_different_value()
S
82 1 3
test_cmb2_default_field_callback_with_array()
S
75 1 4
test_cmb2_row_classes_field_callback_with_array()
S
76 1 4
test_cmb2_label_cb_field_callback()
S
75 1 4
test_cmb2_render_row_cb_field_callback()
S
71 1 6
test_cmb2_before_and_after_field_callbacks()
S
67 1 8
test_cmb2_field_instance()
S
80 1 3
override_get()
S
74 1 4