Test_CMB2_Core A

Total Complexity 73
Dependencies 5
Dependents 0
Total lines 1,040
Lines of code 793
Logical lines of code 279
Comment lines 79
Methods 49
Properties 0

Methods 49

Method Rating Maintainability Complexity Lines of code
test_group_field_param_callbacks()
A
36 2 110
setUp()
S
35 1 104
test_boxes_get()
S
58 5 15
test_remove_field()
S
51 3 30
test_added_field()
S
52 3 28
test_updated_fields_properties()
S
52 3 25
test_cmb2_props()
S
47 2 38
test_added_group_field()
S
54 3 22
test_remove_group_field()
S
56 3 18
test_disable_group_repeat()
S
48 1 44
test_get_sanitized_values()
S
50 1 33
test_cmb2_print_metabox_form()
S
51 1 32
test_invalid_cmb_magic_getter()
S
63 3 10
test_setting_protected_property()
S
65 3 9
test_invalid_cmb_magic_call()
S
63 3 10
test_update_field_property()
S
59 2 14
new_group_box()
S
54 1 24
test_add_group_field()
S
54 1 24
test_group_wrap_attributes()
S
54 1 22
test_cmb2_get_metabox_sanitized_values()
S
54 1 22
test_add_field()
S
59 1 15
test_cmb2_definitions()
S
66 2 9
test_cmb2_get_metabox()
S
59 1 14
cmb_before_row()
S
78 1 3
test_overloaded_cmb_method()
S
69 1 6
for_testing_cmb2_group_wrap_attributes()
S
69 1 7
custom_classes()
S
79 1 3
overloading_test()
S
76 1 4
do_default_cmb_group_render_cb()
S
75 1 4
custom_classes_filter()
S
72 1 5
cmb_after()
S
78 1 3
echo_field_id()
S
80 1 3
modify_group_attributes()
S
76 1 4
test_cmb2_get_field()
S
72 1 5
test_cmb_magic_getters()
S
70 1 6
test_disable_save_fields()
S
68 1 7
test_get_field()
S
72 1 5
test_cmb2_get_field_value()
S
65 1 9
test_cmb2_die_with_no_id()
S
80 1 3
test_cmb2_init_hook()
S
80 1 3
tearDown()
S
81 1 3
test_cmb2_admin_init_hook()
S
80 1 3
test_id_get()
S
71 1 6
test_defaults_set()
S
70 1 6
test_boxes_filter_by()
S
67 1 7
test_boxes_get_by()
S
72 1 5
test_boxes_get_all()
S
80 1 3
test_class_getters()
S
72 1 5
get_test2_box()
S
80 1 3