Code Analysis: Just Duplicate 1.0.1

Function Rating Maintainability Complexity Lines of code
Just_Duplicate\Duplicate_Handler::process_duplication()
A
41 14 54
Just_Duplicate\Duplicate_Handler::process_duplication()
A
41 14 54
Just_Duplicate\Admin_Settings::duplicate_post()
A
45 12 39
Just_Duplicate\Admin_Settings::duplicate_post()
A
45 12 39
Just_Duplicate\Admin\Menu_Duplicator::duplicate_menu()
A
45 9 41
Just_Duplicate\Admin\Menu_Duplicator::duplicate_menu()
A
45 9 41
Just_Duplicate\Duplicate_Handler::preview_duplicate()
A
45 9 38
Just_Duplicate\Duplicate_Handler::preview_duplicate()
A
45 9 38
Just_Duplicate\Admin_Settings::preview_duplicate()
A
46 9 36
Just_Duplicate\Admin_Settings::preview_duplicate()
A
46 9 36
Just_Duplicate\Loader::define_admin_hooks()
S
54 7 23
Just_Duplicate\Loader::define_admin_hooks()
S
54 7 23
Just_Duplicate\Admin\Menu_Duplicator::handle_duplicate_menu()
S
54 6 19
Just_Duplicate\Admin\Menu_Duplicator::handle_duplicate_menu()
S
54 6 19
Just_Duplicate\Admin\Media_Duplicator::handle_duplicate_media()
S
54 5 19
Just_Duplicate\Admin\Media_Duplicator::handle_duplicate_media()
S
54 5 19
Just_Duplicate\Duplicate_Handler::duplicate_attachment()
S
49 4 29
Just_Duplicate\Duplicate_Handler::duplicate_attachment()
S
49 4 29
Just_Duplicate\Admin_Settings::register_settings()
S
43 1 61
Just_Duplicate\Admin_Settings::register_settings()
S
43 1 61
Just_Duplicate\Admin\Menu_Duplicator::output_duplicate_menu_button()
S
49 2 45
Just_Duplicate\Admin_Settings::sanitize_settings()
S
62 5 10
Just_Duplicate\Admin_Settings::sanitize_settings()
S
62 5 10
Just_Duplicate\Admin\Menu_Duplicator::output_duplicate_menu_button()
S
49 2 45
Just_Duplicate\Duplicate_Handler::copy_post_meta()
S
59 4 15
Just_Duplicate\Duplicate_Handler::copy_post_meta()
S
59 4 15
Just_Duplicate\Loader::define_hooks()
S
62 4 12
Just_Duplicate\Loader::define_hooks()
S
62 4 12
Just_Duplicate\Duplicate_Handler::add_duplicate_link()
S
49 2 35
Just_Duplicate\Duplicate_Handler::add_duplicate_link()
S
49 2 35
Just_Duplicate\Admin_Settings::render_help_page()
S
48 1 46
Just_Duplicate\Admin_Settings::render_help_page()
S
48 1 46
Just_Duplicate\Admin_Settings::copy_post_taxonomies()
S
63 4 9
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_post_taxonomies()
S
62 4 10
Just_Duplicate\Admin\Media_Duplicator::add_duplicate_media_field()
S
54 2 21
Just_Duplicate\Admin\Media_Duplicator::add_duplicate_media_field()
S
54 2 21
Just_Duplicate\Admin\Media_Duplicator::add_duplicate_media_link()
S
58 2 16
Just_Duplicate\Admin\Media_Duplicator::add_duplicate_media_link()
S
58 2 16
Just_Duplicate\Admin_Settings::copy_post_meta()
S
66 3 8
Just_Duplicate\Admin_Settings::render_settings_page()
S
53 1 30
Just_Duplicate\Admin_Settings::handle_bulk_action()
S
64 3 9
Just_Duplicate\Admin_Settings::render_settings_page()
S
53 1 30
Just_Duplicate\Admin_Settings::handle_bulk_action()
S
64 3 9
Just_Duplicate\Admin_Settings::copy_post_meta()
S
66 3 8
just_duplicate_init()
S
74 2 5
just_duplicate_enqueue_admin_assets()
S
61 1 15
Just_Duplicate\Loader::instance()
S
71 2 6
just_duplicate_init()
S
74 2 5
Just_Duplicate\Loader::instance()
S
71 2 6
just_duplicate_enqueue_admin_assets()
S
61 1 15
Just_Duplicate\Admin_Settings::render_suffix_field()
S
65 1 9
Just_Duplicate\Loader::__wakeup()
S
80 1 3
Just_Duplicate\Admin_Settings::render_redirect_field()
S
65 1 9
just_duplicate_load_textdomain()
S
70 1 7
Just_Duplicate\Duplicate_Handler::init()
S
71 1 5
Just_Duplicate\Admin\Menu_Duplicator::init()
S
74 1 4
Just_Duplicate\Loader::__wakeup()
S
80 1 3
Just_Duplicate\Loader::__clone()
S
98 1 1
Just_Duplicate\Admin_Settings::add_settings_page()
S
65 1 10
Just_Duplicate\Admin_Settings::render_duplicate_post_meta_field()
S
65 1 9
Just_Duplicate\Admin_Settings::init()
S
65 1 8
Just_Duplicate\Loader::__construct()
S
82 1 3
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::register_bulk_action()
S
74 1 4
Just_Duplicate\Admin_Settings::render_duplicate_attachments_field()
S
65 1 9
Just_Duplicate\Admin_Settings::render_redirect_field()
S
65 1 9
Just_Duplicate\Admin_Settings::render_duplicate_taxonomies_field()
S
65 1 9
Just_Duplicate\Admin\Menu_Duplicator::init()
S
74 1 4
Just_Duplicate\Duplicate_Handler::init()
S
71 1 5
Just_Duplicate\Loader::__construct()
S
82 1 3
Just_Duplicate\Admin_Settings::add_settings_page()
S
65 1 10
Just_Duplicate\Admin_Settings::render_prefix_field()
S
65 1 9
Just_Duplicate\Admin_Settings::register_bulk_action()
S
74 1 4
Just_Duplicate\Admin_Settings::init()
S
65 1 8
Just_Duplicate\Admin_Settings::render_suffix_field()
S
65 1 9
Just_Duplicate\Loader::__clone()
S
98 1 1
just_duplicate_load_textdomain()
S
70 1 7
Just_Duplicate\Admin\Media_Duplicator::init()
S
71 1 5
Just_Duplicate\Admin\Media_Duplicator::init()
S
71 1 5
Just_Duplicate\Admin_Settings::render_duplicate_post_meta_field()
S
65 1 9
Just_Duplicate\Admin_Settings::render_prefix_field()
S
65 1 9