Test_CMB2_Core S

Total Complexity 44
Dependencies 6
Dependents 0
Total lines 764
Lines of code 569
Logical lines of code 190
Comment lines 61
Methods 37
Properties 0

Methods 37

Method Rating Maintainability Complexity Lines of code
setUp()
S
38 1 85
test_group_field_param_callbacks()
S
42 1 70
test_cmb2_props()
S
49 2 34
test_disable_group_repeat()
S
48 1 44
test_invalid_cmb_magic_getter()
S
63 3 10
test_set_metabox_after_offlimits()
S
65 3 9
test_cmb2_print_metabox_form()
S
53 1 30
test_update_field_property()
S
59 2 14
test_add_group_field()
S
53 1 24
test_get_sanitized_values()
S
54 1 22
test_remove_field()
S
56 1 20
test_added_group_field()
S
56 1 19
test_added_field()
S
57 1 18
test_cmb2_definitions()
S
66 2 9
test_updated_fields_properties()
S
58 1 15
test_array_insert()
S
59 1 15
test_remove_group_field()
S
60 1 13
test_add_field()
S
60 1 13
test_cmb2_get_metabox()
S
63 1 11
test_get_field()
S
72 1 5
test_disable_save_fields()
S
68 1 7
test_cmb_magic_getters()
S
70 1 6
test_cmb2_die_with_no_id()
S
80 1 3
test_boxes_get()
S
70 1 6
test_boxes_get_all()
S
80 1 3
tearDown()
S
81 1 3
test_cmb2_update_option()
S
65 1 9
test_cmb2_get_option()
S
68 1 7
test_cmb2_options()
S
75 1 4
cmb_after()
S
78 1 3
cmb_before_row()
S
78 1 3
test_cmb2_get_field_value()
S
65 1 9
test_cmb2_get_field()
S
72 1 5
test_url_set()
S
67 1 8
test_defaults_set()
S
74 1 4
test_id_get()
S
75 1 4
test_class_getters()
S
72 1 5