Code Analysis: WP DB Cleaner 2.0.1

Function Rating Maintainability Complexity Lines of code
Wp_Orphan_CLI::cli_callback()
B
42 16 53
__dbc_pagination()
S
60 7 13
Wp_Db_Cleaner_List::get_views()
S
50 6 27
_dbc_get_selected_tab()
S
56 5 19
lm_dbc_is_active_tab()
S
64 6 9
__dbc_delete_data()
S
63 6 9
__get_dbc_class_method()
S
62 5 11
Wp_Duplicate_Data::get_missing_attachment_meta()
S
58 3 16
Wp_Duplicate_Data::get_post_revisions()
S
59 3 15
lm_dbc_get_table_content()
S
60 3 13
Wp_Duplicate_Data::get_post_meta_locks()
S
61 3 12
Wp_Duplicate_Data::get_wp_transients()
S
61 3 12
Wp_Orphan_Data::get_wp_posts_orphan_rows()
S
61 3 11
Db_Cleaner::load_dependencies()
S
62 3 11
Wp_Db_Cleaner_List::views()
S
62 3 11
Wp_Db_Cleaner_List::get_columns()
S
66 3 9
Wp_Orphan_Data::get_wp_postmeta_orhpan_rows()
S
63 3 10
Wp_Orphan_Data::get_wp_term_taxonomy_orphan_rows()
S
63 3 10
Wp_Duplicate_Data::get_attachment_meta_duplicate()
S
59 2 15
Wp_Orphan_Data::get_wp_term_relationships_orphan_rows()
S
63 3 10
Wp_Orphan_Data::get_wp_usermeta_orphan_rows()
S
63 3 10
Wp_Orphan_Data::get_wp_posts_author_orphan_rows()
S
63 3 10
Wp_Duplicate_Data::get_post_meta_duplicate()
S
61 2 13
Wp_Db_Cleaner_List::__construct()
S
61 2 12
Wp_Db_Cleaner_List::single_row()
S
69 2 7
lm_dbc_orphan_ui()
S
63 1 13
lm_dbc_duplicate_ui()
S
63 1 13
Wp_Duplicate_Data::delete_post_meta_duplicate()
S
63 1 13
Wp_Orphan_Data::delete_wp_posts_author_orphan_rows()
S
72 1 5
Wp_Duplicate_Data::delete_missing_attachment_meta()
S
65 1 10
Wp_Orphan_Data::__construct()
S
91 1 2
Wp_Duplicate_Data::delete_attachment_meta_duplicate()
S
67 1 9
Wp_Orphan_CLI::duplicate()
S
80 1 3
Wp_Orphan_CLI::orphan()
S
80 1 3
Wp_Db_Cleaner_List::get_sortable_columns()
S
82 1 3
Db_Cleaner_i18n::set_domain()
S
81 1 3
Db_Cleaner::define_admin_hooks()
S
72 1 5
Db_Cleaner_Admin::__construct()
S
76 1 4
Db_Cleaner_Admin::enqueue_scripts()
S
77 1 3
Db_Cleaner_Admin::enqueue_styles()
S
77 1 3
Db_Cleaner_Admin::add_tool_page()
S
71 1 6
Wp_Orphan_Data::delete_wp_term_relationships_orphan_rows()
S
72 1 5
Wp_Duplicate_Data::delete_post_meta_locks()
S
70 1 6
run_wp_db_cleaner()
S
81 1 3
Wp_Orphan_Data::delete_wp_posts_orphan_rows()
S
72 1 5
Wp_Orphan_Data::delete_wp_term_taxonomy_orphan_rows()
S
72 1 5
Wp_Duplicate_Data::get_array()
S
64 1 10
Db_Cleaner::set_locale()
S
72 1 5
Db_Cleaner::__construct()
S
78 1 4
Wp_Duplicate_Data::__construct()
S
91 1 2
Wp_Duplicate_Data::delete_wp_transients()
S
70 1 6
Wp_Orphan_Data::delete_wp_postmeta_orhpan_rows()
S
72 1 5
Wp_Duplicate_Data::delete_post_revisions()
S
68 1 8
Wp_Db_Cleaner_List::prepare_items()
S
64 1 10
Db_Cleaner_Admin::get_clean_ui()
S
76 1 4
Db_Cleaner_i18n::load_plugin_textdomain()
S
69 1 7
Wp_Orphan_Data::delete_wp_usermeta_orphan_rows()
S
72 1 5
Db_Cleaner_Deactivator::deactivate()
S
89 1 2
Db_Cleaner_Admin::init()
S
73 1 5
Db_Cleaner_Activator::activate()
S
89 1 2
Wp_Db_Cleaner_List::get_table_classes()
S
79 1 3
wp_db_clean_deactivate_plugin_name()
S
76 1 4
wp_db_clean_activate_plugin_name()
S
76 1 4
Wp_Orphan_Data::get_array()
S
64 1 10
Wp_Db_Cleaner_List::no_items()
S
80 1 3