CustomSidebarsEditor D

Total Complexity 278
Dependencies 0
Dependents 0
Total lines 1,535
Lines of code 1,082
Logical lines of code 590
Comment lines 407
Methods 34
Properties 5

Methods 34

Method Rating Maintainability Complexity Lines of code
set_location_data()
D
20
63 196
get_location_data()
D
25
30 171
save_item()
C
31 25 116
handle_ajax()
B
35 22 86
add_capabilities_select_box()
A
41 12 56
store_replacements()
A
49 12 29
bulk_edit_save()
A
50 9 28
wpml_update_field()
A
52 9 23
print_sidebars_form()
A
48 8 34
add_meta_box()
A
50 8 30
delete_item()
A
46 7 40
update_option_field()
S
55 7 19
wpml_update()
S
56 6 15
wpml_is_default_lang()
S
58 6 14
set_replaceable()
S
53 5 22
current_user_can_update_custom_sidebars()
S
58 5 15
update_custom_sidebars_allow_author()
S
59 5 14
post_quick_edit_js()
S
51 3 44
wpml_translate()
S
58 4 15
check_author_ability_to_replace()
S
61 4 13
settings()
S
53 3 21
default_hidden_columns()
S
69 4 6
post_quick_edit()
S
67 3 8
post_bulk_edit()
S
67 3 8
get_allowed_custom_taxonmies()
S
69 3 7
post_column_content()
S
69 2 7
__construct()
S
65 2 9
instance()
S
69 2 7
post_columns()
S
60 1 13
print_metabox_bulk()
S
80 1 3
update_custom_sidebars_metabox_roles()
S
81 1 3
update_custom_sidebars_metabox_custom_taxonomies()
S
81 1 3
print_metabox_quick()
S
80 1 3
print_metabox_editor()
S
76 1 4