Copy Anything to Clipboard 2.2.2

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: 41.86 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=5c061bd0dd
Aspect after-activation
HTTP status 200
Load time 0.421 s
Memory usage 3.77 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.194 s
Memory usage 3.78 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.175 s
Memory usage 3.76 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.866 s
Memory usage 3.69 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

Test site – Just another WordPress site

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

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.325 s0.249 s-0.076 s3.72 MiB3.76 MiB+ 35.92 KiB
/wp-admin/edit.php0.175 s0.192 s+0.017 s3.75 MiB3.79 MiB+ 35.92 KiB
/wp-admin/post-new.php0.736 s0.908 s+0.172 s5.54 MiB5.59 MiB+ 44.28 KiB
/wp-admin/upload.php0.404 s0.663 s+0.259 s3.68 MiB3.72 MiB+ 34.79 KiB
/wp-admin/options-writing.php0.158 s0.207 s+0.049 s3.62 MiB3.69 MiB+ 78.7 KiB
/wp-admin/media-new.php0.412 s0.208 s-0.204 s3.66 MiB3.7 MiB+ 34.96 KiB
/wp-admin/edit-tags.php?taxonomy=category0.231 s0.200 s-0.031 s3.69 MiB3.72 MiB+ 35.87 KiB
/wp-admin/post-new.php?post_type=page0.617 s0.660 s+0.043 s5.54 MiB5.58 MiB+ 35.87 KiB
/wp-admin/options-discussion.php0.245 s0.197 s-0.048 s3.6 MiB3.69 MiB+ 99.27 KiB
/wp-admin/edit-comments.php0.215 s0.206 s-0.009 s3.69 MiB3.73 MiB+ 34.77 KiB
/0.261 s0.230 s-0.031 s3.6 MiB3.59 MiB- 9.91 KiB
Average 0.344 s0.356 s+0.013 s4.01 MiB4.05 MiB+ 41.86 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
PHP37.9%5382856
JavaScript27.6%392712
Markdown21.8%31002
CSS10.7%15242
JSON1.9%2701
Total 1,419 360 13

PHP Code Analysis | More results »

Lines of code 417
Total complexity 65
Median class complexity 8.0
Median method complexity 1.0
Most complex class Copy_The_Code_Page
Most complex function Copy_The_Code_Page::save_settings()
Classes 4
Methods 27
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