YIT_Metabox C

Total Complexity 107
Dependencies 1
Dependents 1
Total lines 573
Lines of code 284
Logical lines of code 164
Comment lines 208
Methods 22
Properties 4

Methods 22

Method Rating Maintainability Complexity Lines of code
sanitize_and_save_field()
B
42 22 45
save_postdata()
B
45 18 38
save_toggle_element()
A
49 11 29
sanitize_and_save_fields()
A
54 10 20
add_field()
S
52 7 25
reorder_tabs()
S
61 6 11
add_tab()
S
56 4 18
enqueue()
S
59 4 14
set_tabs()
S
65 3 9
remove_field()
S
68 3 7
get_option_metabox_name()
S
62 2 11
remove_tab()
S
73 2 5
get_option_metabox_id()
S
70 2 7
register_metabox()
S
71 2 5
show()
S
66 2 8
remove_fields()
S
73 2 5
instance()
S
70 2 6
set_options()
S
81 1 3
__construct()
S
82 1 3
sanitize_fields()
S
81 1 3
add_screen_ids_for_icons()
S
78 1 3
init()
S
64 1 9