Duplicate Page 4.4

Does Duplicate Page work with WordPress 5.8 and PHP 7.4.8? A smoke test was performed on .

Summary

Errors
1PHP notices
No JavaScript exceptions
All test pages loaded successfully
No resource errors
Performance

Memory usage: 24.25 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 version5.8
PHP version7.4.8
MySQL version8.0.21
PHP memory limit256M
Plugin Info
Last updated
Active installs 3,000,000+
WordPress.org page https://wordpress.org/plugins/duplicate-page/
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-page%2Fduplicatepage.php&plugin_status=all&paged=1&s&_wpnonce=20901149a4
Aspect after-activation
HTTP status 200
Load time 0.240 s
Memory usage 3.06 MiB
JS errors None
Resource errors None

Settings → Duplicate Page

Page screenshot: Settings → Duplicate Page
URL /wp-admin/options-general.php?page=duplicate_page_settings
Aspect menu-item
HTTP status 200
Load time 0.362 s
Memory usage 3.08 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.201 s
Memory usage 2.93 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.304 s0.232 s-0.072 s3.08 MiB3.1 MiB+ 20.21 KiB
/wp-admin/edit.php0.191 s0.196 s+0.005 s3.11 MiB3.2 MiB+ 84.98 KiB
/wp-admin/post-new.php0.915 s1.515 s+0.600 s5.27 MiB5.29 MiB+ 24.57 KiB
/wp-admin/upload.php0.668 s0.294 s-0.374 s3.03 MiB3.05 MiB+ 19.11 KiB
/wp-admin/options-writing.php0.174 s0.131 s-0.043 s3.02 MiB3.03 MiB+ 3.09 KiB
/wp-admin/media-new.php0.233 s0.184 s-0.049 s3.01 MiB3.03 MiB+ 19.28 KiB
/wp-admin/edit-tags.php?taxonomy=category0.199 s0.170 s-0.029 s3.04 MiB3.06 MiB+ 20.19 KiB
/wp-admin/post-new.php?post_type=page0.980 s0.851 s-0.129 s5.26 MiB5.28 MiB+ 20.16 KiB
/wp-admin/options-discussion.php0.226 s0.319 s+0.093 s3 MiB3.02 MiB+ 19.59 KiB
/wp-admin/edit-comments.php0.228 s0.210 s-0.018 s3.04 MiB3.06 MiB+ 19.06 KiB
/0.293 s0.204 s-0.089 s2.91 MiB2.93 MiB+ 16.48 KiB
Average 0.401 s0.391 s-0.010 s3.43 MiB3.46 MiB+ 24.25 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.

PO File
PHP
Language % Lines of code Comment lines Files
PO File49.2%4491515
PHP39.3%358882
CSS6.7%6101
JavaScript4.8%4402
Total 912 239 10

PHP Code Analysis | More results »

Lines of code 269
Total complexity 67
Median class complexity 67.0
Median method complexity 2.0
Most complex class duplicate_page
Most complex function duplicate_page::dt_duplicate_post_as_draft()
Classes 1
Methods 15
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 1 lines

[20-Jul-2021 18:05:39 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/duplicate-page/duplicatepage.php on line 66
See also: All tests for this plugin, How to Hide the "Duplicate Page" Admin Menu