WP_Sheet_Editor_Helpers D

Total Complexity 516
Dependencies 11
Dependents 2
Total lines 2,213
Lines of code 1,555
Logical lines of code 984
Comment lines 300
Methods 88
Properties 4

Methods 88

Method Rating Maintainability Complexity Lines of code
save_rows()
D
21
65 159
get_rows()
D
20
52 185
maybe_replace_urls_with_file_ids()
D
27
43 123
prepare_query_params_for_retrieving_rows()
B
39 23 60
get_prepared_post_types()
A
42 15 48
get_gallery_cell_content()
A
46 13 34
get_column_text_value()
A
47 13 33
create_placeholder_posts()
A
41 11 57
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
54 6 22
let_to_num()
S
57 6 17
get_current_query_session_id()
S
56 6 17
get_with_dot_notation()
S
58 6 16
remove_disallowed_post_types()
S
59 6 15
get_provider_from_query_string()
S
57 6 15
clean_data()
S
57 5 17
get_all_post_types()
S
57 5 15
d()
S
59 5 15
set_with_dot_notation()
S
58 5 15
is_wpse_page()
S
62 6 10
dd()
S
61 5 13
get_column_settings()
S
61 5 12
add_post_type_to_rows()
S
56 4 19
profile_finish()
S
54 4 18
get_gutenberg_cell_content()
S
56 4 16
get_enabled_post_types()
S
59 4 14
rename_array_keys()
S
60 4 14
create_rest_request()
S
60 4 13
array_remove_empty()
S
63 4 11
get_post_type_taxonomies_single_data()
S
64 4 10
get_post_type_taxonomies()
S
64 4 10
can_rescan_db_fields()
S
66 4 8
sanitize_table_key()
S
65 4 9
get_attachment_id_from_url()
S
58 3 15
array_to_dot()
S
61 3 12
get_post_types_without_own_sheet()
S
62 3 12
array_flatten()
S
63 3 11
remove_unlisted_keys()
S
65 3 9
get_unfiltered_provider_columns()
S
63 3 10
is_rest_request()
S
72 3 4
get_plugin_mode()
S
74 3 4
is_plugin_active()
S
65 3 10
user_can_view_post_type()
S
66 3 8
is_editor_page()
S
67 3 7
user_can_edit_post_type()
S
66 3 8
prepare_raw_value_for_display()
S
69 3 6
profile_record()
S
66 3 8
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
post_type_array()
S
72 2 6
get_data_provider_class_key()
S
68 2 7
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
sanitize_integer()
S
68 2 8
remove_all_post_actions()
S
71 2 5
get_term_separator()
S
74 2 4
get_editor_url()
S
76 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_allowed_post_types()
S
73 1 5
get_settings_page_url()
S
78 1 3
get_tinymce_cell_content()
S
76 1 4
is_post_type_allowed()
S
76 1 4
get_data_provider()
S
72 1 5
__construct()
S
91 1 2