Copy Anything to Clipboard 2.2.0

Does Copy Anything to Clipboard work with WordPress 5.8 and PHP 7.4.8? A smoke test was performed on .

Summary

Errors
No PHP errors, warnings or notices
No JavaScript exceptions
All test pages loaded successfully
No resource errors
Looks good! No problems were detected.
Performance

Memory usage: 44.27 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 10,000+
WordPress.org page https://wordpress.org/plugins/copy-the-code/
Badges

WordPress compatibility badge PHP compatibility badge

Get badge code

Pages 5

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=copy-the-code%2Fcopy-the-code.php&plugin_status=all&paged=1&s&_wpnonce=5e600a0bba
Aspect after-activation
HTTP status 200
Load time 0.326 s
Memory usage 3.13 MiB
JS errors None
Resource errors None

Copy to Clipboard

Page screenshot: Copy to Clipboard
URL /wp-admin/edit.php?post_type=copy-to-clipboard
Aspect menu-item
HTTP status 200
Load time 0.230 s
Memory usage 3.13 MiB
JS errors None
Resource errors None

Copy to Clipboard → Add New

Page screenshot: Copy to Clipboard → Add New
URL /wp-admin/edit.php?post_type=copy-to-clipboard&page=copy-to-clipboard-add-new
Aspect menu-item
HTTP status 200
Load time 0.156 s
Memory usage 3.11 MiB
JS errors None
Resource errors None

Copy to Clipboard → Shortcode

Page screenshot: Copy to Clipboard → Shortcode
URL /wp-admin/edit.php?post_type=copy-to-clipboard&page=shortcode
Aspect menu-item
HTTP status 200
Load time 0.770 s
Memory usage 3.04 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.377 s
Memory usage 2.95 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.336 s0.253 s-0.083 s3.08 MiB3.12 MiB+ 40.02 KiB
/wp-admin/edit.php0.176 s0.195 s+0.019 s3.11 MiB3.21 MiB+ 104.02 KiB
/wp-admin/post-new.php1.150 s0.901 s-0.249 s5.27 MiB5.31 MiB+ 44.38 KiB
/wp-admin/upload.php0.586 s0.462 s-0.124 s3.03 MiB3.07 MiB+ 38.89 KiB
/wp-admin/options-writing.php0.150 s0.151 s+0.001 s3.02 MiB3.05 MiB+ 22.87 KiB
/wp-admin/media-new.php0.229 s0.192 s-0.037 s3.01 MiB3.04 MiB+ 39.06 KiB
/wp-admin/edit-tags.php?taxonomy=category0.177 s0.176 s-0.001 s3.04 MiB3.08 MiB+ 39.97 KiB
/wp-admin/post-new.php?post_type=page1.124 s0.980 s-0.144 s5.26 MiB5.29 MiB+ 39.97 KiB
/wp-admin/options-discussion.php0.268 s0.245 s-0.023 s3 MiB3.04 MiB+ 39.38 KiB
/wp-admin/edit-comments.php0.209 s0.234 s+0.025 s3.04 MiB3.08 MiB+ 38.88 KiB
/0.448 s0.366 s-0.082 s2.91 MiB2.95 MiB+ 39.53 KiB
Average 0.441 s0.378 s-0.063 s3.43 MiB3.48 MiB+ 44.27 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
JavaScript
Markdown
CSS
Language % Lines of code Comment lines Files
PHP38.6%5542996
JavaScript27.3%391722
Markdown21.6%31002
CSS10.6%15242
JSON1.9%2701
Total 1,434 375 13

PHP Code Analysis | More results »

Lines of code 433
Total complexity 73
Median class complexity 8.0
Median method complexity 1.5
Most complex class Copy_The_Code_Page
Most complex function Copy_The_Code_Page::save_settings()
Classes 4
Methods 30
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

Custom Post Types 1

ID Name
copy-to-clipboardCopy to Clipboard

PHP Error Log

The log file is empty.

See also: All tests for this plugin, How to Hide Copy Anything to Clipboard Admin Menus and Meta Boxes