Test_CMB2_Core A

Total Complexity 60
Dependencies 6
Dependents 0
Total lines 830
Lines of code 630
Logical lines of code 216
Comment lines 64
Methods 39
Properties 0

Methods 39

Method Rating Maintainability Complexity Lines of code
setUp()
S
36 1 103
test_boxes_get()
S
58 5 15
test_group_field_param_callbacks()
S
42 1 70
test_remove_field()
S
52 3 26
test_added_field()
S
53 3 24
test_added_group_field()
S
54 3 22
test_updated_fields_properties()
S
54 3 21
test_cmb2_props()
S
49 2 34
test_remove_group_field()
S
56 3 18
test_disable_group_repeat()
S
48 1 44
test_invalid_cmb_magic_getter()
S
63 3 10
test_cmb2_print_metabox_form()
S
53 1 30
test_set_metabox_after_offlimits()
S
65 3 9
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_cmb2_die_with_no_id()
S
80 1 3
test_disable_save_fields()
S
68 1 7
test_cmb_magic_getters()
S
70 1 6
test_cmb2_init_hook()
S
80 1 3
test_defaults_set()
S
74 1 4
test_cmb2_admin_init_hook()
S
80 1 3
test_url_set()
S
67 1 8
test_id_get()
S
75 1 4
test_boxes_get_all()
S
80 1 3
test_class_getters()
S
72 1 5
tearDown()
S
81 1 3
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_cmb2_update_option()
S
65 1 9