Duplicate Page and Post 2.9.4

Does Duplicate Page and Post work with WordPress 6.6.2 and PHP 8.1.12? A smoke test was performed on .

Summary

Errors
2PHP warnings
No JavaScript exceptions
All test pages loaded successfully
No resource errors
Performance

Memory usage: 8.92 KiB
The average PHP memory usage increased by this amount after activating by the plugin.

Page speed impact: insignificant.
The plugin didn't make the site noticeably slower.

Environment
WordPress version6.6.2
PHP version8.1.12
MySQL version10.6.10
PHP memory limit512M
Plugin Info
Last updated
Active installs 70,000+
WordPress.org page https://wordpress.org/plugins/duplicate-wp-page-post/
Badges

WordPress compatibility badge PHP compatibility badge

Get badge code

Pages 3

Plugins ‹ Test site — WordPress

Page screenshot: Plugins ‹ Test site — WordPress
URL /wp-admin/plugins.php?plugin_status=all&paged=1&s
Requested URL /wp-admin/plugins.php?action=activate&plugin=duplicate-wp-page-post%2Fduplicate-wp-page-post.php&plugin_status=all&paged=1&s&_wpnonce=4e9a7de40c
Aspect after-activation
HTTP status 200
Load time 0.260 s
Memory usage 3.5 MiB
JS errors None
Resource errors None

Settings → Duplicate post

Page screenshot: Settings → Duplicate post
URL /wp-admin/options-general.php?page=dpp_page_settings
Aspect menu-item
HTTP status 200
Load time 0.160 s
Memory usage 3.48 MiB
JS errors None
Resource errors None

Test site – Just another WordPress site

Page screenshot: Test site – Just another WordPress site
URL /
Aspect front-page
HTTP status 200
Load time 0.183 s
Memory usage 3.42 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.356 s0.302 s-0.054 s3.47 MiB3.49 MiB+ 20.59 KiB
/wp-admin/edit.php0.214 s0.202 s-0.012 s3.54 MiB3.56 MiB+ 19.87 KiB
/wp-admin/post-new.php0.818 s0.608 s-0.210 s5.75 MiB5.78 MiB+ 24.96 KiB
/wp-admin/upload.php0.719 s0.496 s-0.223 s3.49 MiB3.49 MiB+ 2.45 KiB
/wp-admin/options-writing.php0.230 s0.227 s-0.003 s3.41 MiB3.41 MiB+ 1.26 KiB
/wp-admin/media-new.php0.263 s0.262 s-0.001 s3.4 MiB3.41 MiB+ 14.64 KiB
/wp-admin/edit-tags.php?taxonomy=category0.209 s0.198 s-0.011 s3.47 MiB3.5 MiB+ 25.31 KiB
/wp-admin/post-new.php?post_type=page0.614 s0.613 s-0.001 s5.75 MiB5.77 MiB+ 20.55 KiB
/wp-admin/options-discussion.php0.316 s0.268 s-0.048 s3.41 MiB3.41 MiB+ 2.95 KiB
/wp-admin/edit-comments.php0.245 s0.443 s+0.198 s3.49 MiB3.49 MiB+ 2.45 KiB
/0.324 s0.253 s-0.071 s3.45 MiB3.42 MiB- 36.95 KiB
Average 0.392 s0.352 s-0.040 s3.88 MiB3.88 MiB+ 8.92 KiB

Code Statistics

Note: Third-party libraries and minified JS/CSS files are excluded from these statistics where possible, so the numbers you see here may be lower than those reported by other tools.

PHP
Language % Lines of code Comment lines Files
PHP100.0%338302
Total 338 30 2

PHP Code Analysis | More results »

Lines of code 214
Total complexity 55
Median class complexity 55.0
Median method complexity 3.0
Most complex class dpp_wpp_page
Most complex function dpp_wpp_page::dt_dpp_post_as_draft()
Classes 1
Methods 11
Functions 0

Additions

Things that the plugin adds to the site. This section is not intended to be comprehensive. The test tool only looks for a few specific types of added content.

Options wp_options 1

PHP Error Log 2 lines

[10-Sep-2024 19:57:13 UTC] PHP Warning:  Trying to access array offset on value of type bool in /wp-content/plugins/duplicate-wp-page-post/duplicate-wp-page-post.php on line 51
[10-Sep-2024 19:57:14 UTC] PHP Warning:  Undefined array key "instruct" in /wp-content/plugins/duplicate-wp-page-post/duplicate-wp-page-post-setting.php on line 9
See also: All tests for this plugin, How to Hide the "Duplicate post" Admin Menu