Test_CMB2_Core A

Total Complexity 62
Dependencies 5
Dependents 0
Total lines 847
Lines of code 642
Logical lines of code 226
Comment lines 66
Methods 41
Properties 0

Methods 41

Method Rating Maintainability Complexity Lines of code
setUp()
S
36 1 105
test_boxes_get()
S
58 5 15
test_group_field_param_callbacks()
S
43 1 66
test_remove_field()
S
52 3 26
test_added_field()
S
53 3 24
test_cmb2_props()
S
47 2 38
test_added_group_field()
S
54 3 22
test_updated_fields_properties()
S
54 3 21
test_remove_group_field()
S
56 3 18
test_disable_group_repeat()
S
48 1 44
test_cmb2_print_metabox_form()
S
51 1 32
test_set_metabox_after_offlimits()
S
65 3 9
test_invalid_cmb_magic_getter()
S
63 3 10
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_array_insert()
S
59 1 15
test_cmb2_definitions()
S
66 2 9
test_cmb2_get_metabox()
S
60 1 13
test_add_field()
S
60 1 13
test_get_field()
S
72 1 5
test_disable_save_fields()
S
68 1 7
test_cmb_magic_getters()
S
70 1 6
custom_classes()
S
80 1 3
test_class_getters()
S
72 1 5
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_cmb2_admin_init_hook()
S
80 1 3
test_cmb2_init_hook()
S
80 1 3
test_cmb2_die_with_no_id()
S
80 1 3
custom_classes_filter()
S
73 1 5