WP_Sheet_Editor_Helpers D

Total Complexity 564
Dependencies 11
Dependents 2
Total lines 2,360
Lines of code 1,686
Logical lines of code 1,053
Comment lines 305
Methods 91
Properties 4

Methods 91

Method Rating Maintainability Complexity Lines of code
save_rows()
D
21
64 154
get_rows()
D
19
60 199
maybe_replace_urls_with_file_ids()
D
27
44 126
prepare_query_params_for_retrieving_rows()
C
32 30 92
get_prepared_post_types()
A
42 15 48
get_sheet_sort_options()
A
44 15 38
save_column_text_value()
A
43 14 46
get_gallery_cell_content()
A
46 13 34
get_column_text_value()
A
47 13 33
create_placeholder_posts()
A
40 11 59
get_post_type_columns_options()
A
47 12 34
add_file_to_gallery_from_path()
A
48 11 34
add_file_to_gallery_from_url()
A
49 10 29
get_extension_by_post_type()
A
55 9 21
is_happy_user()
S
57 8 15
get_all_meta_keys()
S
55 7 19
change_values_format()
S
53 6 24
get_custom_modal_editor_cell_content()
S
52 6 23
readfile_chunked()
S
55 6 20
_prepare_data_for_saving()
S
56 6 19
let_to_num()
S
57 6 17
get_with_dot_notation()
S
58 6 16
remove_disallowed_post_types()
S
59 6 15
get_provider_from_query_string()
S
58 6 14
get_all_post_types()
S
57 5 15
d()
S
59 5 15
is_wpse_page()
S
62 6 10
set_with_dot_notation()
S
58 5 15
get_current_query_session_id()
S
59 5 13
dd()
S
61 5 13
get_column_settings()
S
61 5 12
add_post_type_to_rows()
S
56 4 19
get_gutenberg_cell_content()
S
56 4 16
get_enabled_post_types()
S
59 4 14
user_can_delete_post_type()
S
60 4 14
rename_array_keys()
S
60 4 14
create_rest_request()
S
60 4 13
array_remove_empty()
S
63 4 11
get_attachment_id_from_url()
S
58 3 15
get_post_type_taxonomies()
S
64 4 10
get_post_type_taxonomies_single_data()
S
64 4 10
sanitize_table_key()
S
65 4 9
safe_html()
S
64 4 10
can_rescan_db_fields()
S
66 4 8
array_to_dot()
S
61 3 12
get_post_types_without_own_sheet()
S
62 3 12
array_flatten()
S
63 3 11
user_can_view_post_type()
S
66 3 8
remove_unlisted_keys()
S
65 3 9
prepare_raw_value_for_display()
S
69 3 6
user_can_edit_post_type()
S
66 3 8
get_unfiltered_provider_columns()
S
63 3 10
safe_text_only()
S
68 3 7
is_editor_page()
S
67 3 7
get_plugin_mode()
S
74 3 4
is_plugin_active()
S
65 3 10
is_rest_request()
S
72 3 4
increase_counter()
S
61 2 12
get_all_post_types_names()
S
63 2 11
merge_arrays_by_value()
S
64 2 10
get_provider_editor()
S
74 2 4
columns_cache_expiration()
S
69 2 7
get_columns_limit()
S
73 2 4
get_view_spreadsheet_capability()
S
66 2 9
get_edit_spreadsheet_capability()
S
66 2 9
get_post_type_label()
S
72 2 5
is_settings_page()
S
78 2 3
get_data_provider_class_key()
S
68 2 7
post_type_array()
S
72 2 6
remove_array_item_by_value()
S
69 2 7
get_current_provider()
S
71 2 6
get_provider_columns()
S
68 2 7
get_instance()
S
69 2 7
init()
S
78 2 3
get_term_separator()
S
71 2 5
remove_all_post_actions()
S
71 2 5
sanitize_integer()
S
68 2 8
get_editor_url()
S
75 1 4
get_random_date_in_range()
S
75 1 4
convert_key_to_label()
S
77 1 3
_get_post_id_from_search()
S
75 1 4
has_paid_addon_active()
S
67 1 8
get_post_types_with_own_sheet()
S
70 1 5
get_files_list()
S
75 1 4
is_plain_text_request()
S
79 1 3
get_tinymce_cell_content()
S
76 1 4
get_settings_page_url()
S
78 1 3
is_post_type_allowed()
S
76 1 4
get_allowed_post_types()
S
73 1 5
get_data_provider()
S
72 1 5
__construct()
S
91 1 2