TablePress_Table_Model D

Total Complexity 146
Dependencies 10
Dependents 0
Total lines 1,269
Lines of code 613
Logical lines of code 358
Comment lines 562
Methods 38
Properties 5

Methods 38

Method Rating Maintainability Complexity Lines of code
prepare_table()
C
36 23 76
_flush_caching_plugins_caches()
B
39 18 63
add_table_id_on_wp_import()
A
50 11 28
save()
A
49 7 32
update_custom_commands_datatables_tp30()
S
53 6 24
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
merge_table_options_defaults()
S
57 4 17
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
55 3 20
delete()
S
58 3 16
_table_to_post()
S
57 3 16
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
64 3 10
count_tables()
S
63 2 11
_get_new_table_id()
S
65 2 9
_get_post_id()
S
68 2 7
_get_table_visibility()
S
64 2 10
_get_table_options()
S
64 2 10
add_mime_type_to_posts()
S
74 1 4
__construct()
S
65 1 9
_remove_post_id()
S
73 1 5
_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
_debug_get_tables()
S
81 1 3
_update_post_id()
S
70 1 6
table_exists()
S
75 1 4
_debug_update_tables()
S
81 1 3
destroy()
S
82 1 3