TablePress_Table_Model D

Total Complexity 141
Dependencies 10
Dependents 1
Total lines 1,204
Lines of code 582
Logical lines of code 335
Comment lines 542
Methods 38
Properties 5

Methods 38

Method Rating Maintainability Complexity Lines of code
prepare_table()
B
38 19 64
_flush_caching_plugins_caches()
B
39 18 63
add_table_id_on_wp_import()
A
50 11 28
save()
A
49 7 31
copy()
S
51 5 26
add()
S
52 5 24
load()
S
55 5 19
load_all()
S
55 5 19
change_table_id()
S
57 5 16
filter_content()
S
58 5 15
merge_table_options_defaults()
S
57 4 16
sanitize()
S
61 4 12
prevent_table_id_post_meta_import_on_wp_import()
S
62 4 11
_post_to_table()
S
53 3 22
add_table_id_to_wp_export()
S
56 3 19
_table_to_post()
S
57 3 17
delete()
S
58 3 15
delete_all()
S
59 3 15
invalidate_table_output_cache()
S
62 3 11
get_table_template()
S
48 1 36
invalidate_table_output_caches()
S
65 3 9
count_tables()
S
63 2 11
_get_table_options()
S
68 2 7
_get_new_table_id()
S
65 2 9
_get_post_id()
S
68 2 7
_get_table_visibility()
S
68 2 7
add_mime_type_to_posts()
S
74 1 4
__construct()
S
65 1 9
_update_post_id()
S
70 1 6
_update_table_visibility()
S
75 1 4
_add_table_visibility()
S
75 1 4
_update_table_options()
S
75 1 4
_add_table_options()
S
75 1 4
_remove_post_id()
S
73 1 5
_debug_get_tables()
S
81 1 3
table_exists()
S
75 1 4
_debug_update_tables()
S
81 1 3
destroy()
S
82 1 3