Copy Anything to Clipboard 2.3.1

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

Summary

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

Memory usage: 58.9 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.0.1
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=39f5b37765
Aspect after-activation
HTTP status 200
Load time 0.330 s
Memory usage 3.79 MiB
JS errors None
Resource errors None

Settings → Copy to Clipboard

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

Settings → → Add New

Page screenshot: Settings →  → Add New
URL /wp-admin/options-general.php?page=copy-to-clipboard-add-new
Aspect menu-item
HTTP status 200
Load time 0.179 s
Memory usage 3.78 MiB
JS errors None
Resource errors None

Settings → → Shortcode Info

Page screenshot: Settings →  → Shortcode Info
URL /wp-admin/options-general.php?page=shortcode
Aspect menu-item
HTTP status 200
Load time 0.907 s
Memory usage 3.71 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.313 s
Memory usage 3.61 MiB
JS errors
[
    {
        "message": "DOMException: play() failed because the user didn't interact with the document first. https://goo.gl/xX8pDD",
        "trace": null,
        "code": null
    }
]
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.309 s0.259 s-0.050 s3.72 MiB3.77 MiB+ 53.7 KiB
/wp-admin/edit.php0.192 s0.203 s+0.011 s3.75 MiB3.81 MiB+ 53.7 KiB
/wp-admin/post-new.php0.745 s0.928 s+0.183 s5.54 MiB5.6 MiB+ 55.83 KiB
/wp-admin/upload.php0.407 s0.325 s-0.082 s3.68 MiB3.73 MiB+ 52.57 KiB
/wp-admin/options-writing.php0.270 s0.160 s-0.110 s3.62 MiB3.71 MiB+ 95.82 KiB
/wp-admin/media-new.php0.295 s0.218 s-0.077 s3.66 MiB3.71 MiB+ 52.74 KiB
/wp-admin/edit-tags.php?taxonomy=category0.187 s0.332 s+0.145 s3.69 MiB3.74 MiB+ 54.27 KiB
/wp-admin/post-new.php?post_type=page0.693 s0.687 s-0.006 s5.54 MiB5.6 MiB+ 55.75 KiB
/wp-admin/options-discussion.php0.225 s0.215 s-0.010 s3.6 MiB3.71 MiB+ 116.4 KiB
/wp-admin/edit-comments.php0.271 s0.222 s-0.049 s3.69 MiB3.75 MiB+ 52.55 KiB
/0.278 s0.233 s-0.045 s3.6 MiB3.61 MiB+ 4.53 KiB
Average 0.352 s0.344 s-0.008 s4.01 MiB4.07 MiB+ 58.9 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
PHP48.2%8674449
JavaScript24.6%443843
Markdown17.2%31002
CSS8.4%15242
JSON1.5%2701
Total 1,799 532 17

PHP Code Analysis | More results »

Lines of code 744
Total complexity 135
Median class complexity 11.5
Median method complexity 2.0
Most complex class Copy_The_Code_Analytics
Most complex function Copy_The_Code_Page::save_settings()
Classes 6
Methods 51
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