Code Analysis: Just Duplicate 1.0.3

Function Rating Maintainability Complexity Lines of code
Just_Duplicate\Admin_Settings::duplicate_post()
B
43 17 43
Just_Duplicate\Duplicate_Handler::process_duplication()
A
49 11 28
Just_Duplicate\Admin_Settings::sanitize_settings()
A
54 11 18
Just_Duplicate\Admin\Menu_Duplicator::duplicate_menu()
A
45 9 42
Just_Duplicate\Duplicate_Handler::duplicate_post()
A
46 9 37
Just_Duplicate\Admin_Settings::preview_duplicate()
A
46 9 36
Just_Duplicate\Loader::define_admin_hooks()
A
47 7 37
Just_Duplicate\Duplicate_Handler::preview_duplicate()
A
46 7 35
Just_Duplicate\Admin_Settings::register_settings()
S
35 1 117
Just_Duplicate\Loader::define_hooks()
S
54 7 23
Just_Duplicate\Duplicate_Handler::copy_post_meta()
S
54 6 21
Just_Duplicate\Admin\Media_Duplicator::handle_duplicate_media()
S
54 5 20
Just_Duplicate\Admin\Menu_Duplicator::handle_duplicate_menu()
S
54 5 19
Just_Duplicate\Duplicate_Handler::duplicate_attachment()
S
49 4 29
Just_Duplicate\Scheduled_Duplicator::copy_elementor_meta()
S
57 4 18
Just_Duplicate\Admin\Menu_Duplicator::output_duplicate_menu_button()
S
49 2 41
Just_Duplicate\Duplicate_Handler::add_duplicate_link()
S
49 2 35
Just_Duplicate\Admin_Settings::render_help_page()
S
48 1 46
Just_Duplicate\Duplicate_Handler::copy_post_taxonomies()
S
62 4 10
Just_Duplicate\Admin_Settings::copy_post_taxonomies()
S
63 4 9
Just_Duplicate\Duplicate_Handler::copy_custom_taxonomies()
S
63 4 9
Just_Duplicate\Admin_Settings::render_report_page()
S
52 2 28
just_duplicate_enqueue_admin_assets()
S
55 2 23
Just_Duplicate\Admin\Media_Duplicator::add_duplicate_media_field()
S
54 2 21
Just_Duplicate\Duplicate_Handler::add_rollback_notice()
S
57 2 16
Just_Duplicate\Duplicate_Handler::copy_comments()
S
57 2 16
Just_Duplicate\Admin\Media_Duplicator::add_duplicate_media_link()
S
58 2 16
Just_Duplicate\Duplicate_Handler::handle_rollback_action()
S
65 3 8
Just_Duplicate\Admin_Settings::handle_bulk_action()
S
64 3 9
Just_Duplicate\Duplicate_Handler::copy_custom_fields()
S
66 3 8
Just_Duplicate\Admin_Settings::copy_post_meta()
S
66 3 8
Just_Duplicate\Admin_Settings::add_gutenberg_editor_button()
S
58 2 15
Just_Duplicate\Duplicate_Handler::rollback_last_duplicate()
S
59 2 14
Just_Duplicate\Admin_Settings::render_settings_page()
S
54 1 29
Just_Duplicate\Loader::instance()
S
71 2 6
Just_Duplicate\Scheduled_Duplicator::process_scheduled_duplication()
S
69 2 7
just_duplicate_init()
S
74 2 5
Just_Duplicate\Admin_Settings::add_classic_editor_button()
S
62 2 10
Just_Duplicate\Admin_Settings::render_custom_post_status_field()
S
60 1 13
Just_Duplicate\Duplicate_Handler::get_selective_duplication_options()
S
61 1 12
Just_Duplicate\Duplicate_Logger::log()
S
62 1 11
Just_Duplicate\Admin_Settings::render_duplicate_custom_taxonomies_field()
S
65 1 9
Just_Duplicate\Admin_Settings::render_redirect_field()
S
65 1 9
Just_Duplicate\Scheduled_Duplicator::schedule_duplication()
S
78 1 3
Just_Duplicate\Admin_Settings::render_duplicate_custom_fields_field()
S
65 1 9
just_duplicate_add_support_us_link()
S
72 1 5
Just_Duplicate\Admin_Settings::init()
S
65 1 8
Just_Duplicate\Admin\Menu_Duplicator::init()
S
74 1 4
Just_Duplicate\Admin_Settings::render_schedule_duplication_field()
S
70 1 8
Just_Duplicate\Loader::__clone()
S
98 1 1
Just_Duplicate\Admin_Settings::render_duplicate_featured_image_field()
S
65 1 9
Just_Duplicate\Scheduled_Duplicator::init()
S
78 1 3
Just_Duplicate\Loader::__wakeup()
S
80 1 3
Just_Duplicate\Loader::__construct()
S
82 1 3
Just_Duplicate\Admin_Settings::render_custom_title_field()
S
65 1 9
Just_Duplicate\Admin_Settings::render_help_page()
S
66 1 10
Just_Duplicate\Admin_Settings::render_duplicate_comments_field()
S
65 1 9
Just_Duplicate\Admin_Settings::render_duplicate_attachments_field()
S
65 1 9
Just_Duplicate\Admin_Settings::render_duplicate_taxonomies_field()
S
65 1 9
Just_Duplicate\Admin_Settings::render_duplicate_post_meta_field()
S
65 1 9
Just_Duplicate\Admin_Settings::render_custom_slug_field()
S
65 1 9
Just_Duplicate\Admin_Settings::register_bulk_action()
S
74 1 4
Just_Duplicate\Admin\Media_Duplicator::init()
S
71 1 5
Just_Duplicate\Admin_Settings::render_suffix_field()
S
65 1 9
Just_Duplicate\Duplicate_Handler::init()
S
67 1 7
Just_Duplicate\Duplicate_Handler::get_last_duplicated_post_id()
S
80 1 3
Just_Duplicate\Duplicate_Logger::get_log()
S
79 1 3
Just_Duplicate\Admin_Settings::init()
S
74 1 4
Just_Duplicate\Admin_Settings::add_settings_page()
S
65 1 10
Just_Duplicate\Admin_Settings::render_prefix_field()
S
65 1 9
just_duplicate_load_textdomain()
S
70 1 7