Test_CMB2_Core S

Total Complexity 38
Dependencies 6
Dependents 0
Total lines 666
Lines of code 500
Logical lines of code 161
Comment lines 49
Methods 34
Properties 0

Methods 34

Method Rating Maintainability Complexity Lines of code
setUp()
S
40 1 69
test_group_field_param_callbacks()
S
43 1 69
test_disable_group_repeat()
S
48 1 44
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_remove_field()
S
56 1 20
test_added_group_field()
S
56 1 19
test_added_field()
S
57 1 18
test_array_insert()
S
59 1 15
test_cmb2_definitions()
S
66 2 9
test_updated_fields_properties()
S
58 1 15
test_remove_group_field()
S
60 1 13
test_add_field()
S
60 1 13
test_boxes_get()
S
70 1 6
test_get_field()
S
72 1 5
test_cmb2_update_option()
S
65 1 9
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_get_metabox()
S
65 1 9
test_url_set()
S
67 1 8
test_defaults_set()
S
74 1 4
test_id_get()
S
75 1 4
test_cmb2_die_with_no_id()
S
80 1 3
test_disable_save_fields()
S
68 1 7