Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.05MB] [CPU: ▼7.15ms] Passed 4 tests
An overview of server-side resources used by WP Widget Clipboard - Duplicate widgets intuitively
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.51 ▲0.04 | 42.16 ▼6.30 |
Dashboard /wp-admin | 3.36 ▲0.05 | 48.77 ▼3.37 |
Posts /wp-admin/edit.php | 3.41 ▲0.05 | 49.09 ▼2.08 |
Add New Post /wp-admin/post-new.php | 5.94 ▲0.05 | 88.82 ▼16.86 |
Media Library /wp-admin/upload.php | 3.28 ▲0.05 | 36.94 ▼0.55 |
WP Widget Clipboard /wp-admin/options-general.php?page=wpwc-widget-clipboard | 3.25 | 32.28 |
Server storage [IO: ▲0.26MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 43 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
theysaidso_admin_options |
widget_recent-comments |
widget_recent-posts |
widget_theysaidso_widget |
db_upgraded |
Browser metrics Passed 4 tests
WP Widget Clipboard - Duplicate widgets intuitively: an overview of browser usage
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,829 ▲83 | 14.48 ▲0.08 | 2.09 ▲0.04 | 44.20 ▼0.07 |
Dashboard /wp-admin | 2,210 ▲25 | 5.88 ▼0.02 | 111.43 ▲4.22 | 42.93 ▲2.88 |
Posts /wp-admin/edit.php | 2,093 ▲4 | 1.99 ▼0.01 | 37.36 ▼3.12 | 32.85 ▼2.64 |
Add New Post /wp-admin/post-new.php | 1,540 ▲7 | 23.35 ▼0.01 | 686.63 ▲70.21 | 58.41 ▲10.31 |
Media Library /wp-admin/upload.php | 1,395 ▲10 | 4.26 ▲0.08 | 100.97 ▼4.02 | 40.68 ▼5.49 |
WP Widget Clipboard /wp-admin/options-general.php?page=wpwc-widget-clipboard | 1,041 | 2.03 | 34.38 | 61.45 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
You still need to fix the following
- The uninstall procedure has failed, leaving 6 options in the database
- widget_recent-comments
- theysaidso_admin_options
- can_compress_scripts
- db_upgraded
- widget_theysaidso_widget
- widget_recent-posts
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP 50% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Please fix the following items
- 7× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_url() in wp-content/plugins/wp-widget-clipboard/includes/views/languages/ja/donate-guide.php:8
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_url() in wp-content/plugins/wp-widget-clipboard/includes/views/languages/ja/usage-guide.php:8
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_url() in wp-content/plugins/wp-widget-clipboard/includes/views/donate-guide.php:8
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_url() in wp-content/plugins/wp-widget-clipboard/includes/views/languages/ja/upgrade-guide.php:8
- > PHP Fatal error
Uncaught Error: Call to undefined function is_admin() in wp-content/plugins/wp-widget-clipboard/wp-widget-clipboard.php:38
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_url() in wp-content/plugins/wp-widget-clipboard/includes/views/usage-guide.php:8
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_url() in wp-content/plugins/wp-widget-clipboard/includes/views/upgrade-guide.php:8
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
There are user-side issues you should fix
- > GET request to /wp-admin/options-general.php?page=wpwc-widget-clipboard
- > Network (severe)
wp-content/plugins/wp-widget-clipboard/css/images/ui-bg_flat_75_ffffff_40x100.png - Failed to load resource: the server responded with a status of 404 (Not Found)
- > GET request to /wp-admin/options-general.php?page=wpwc-widget-clipboard
- > Network (severe)
wp-content/plugins/wp-widget-clipboard/css/images/ui-bg_highlight-soft_75_cccccc_1x100.png - Failed to load resource: the server responded with a status of 404 (Not Found)
- > GET request to /wp-admin/options-general.php?page=wpwc-widget-clipboard
- > Network (severe)
wp-content/plugins/wp-widget-clipboard/css/images/ui-bg_glass_65_ffffff_1x400.png - Failed to load resource: the server responded with a status of 404 (Not Found)
- > GET request to /wp-admin/options-general.php?page=wpwc-widget-clipboard
- > Network (severe)
wp-content/plugins/wp-widget-clipboard/css/images/ui-bg_glass_75_e6e6e6_1x400.png - Failed to load resource: the server responded with a status of 404 (Not Found)
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
Please fix the following attributes:
- Donate link: Please fix this invalid url: ""
wp-widget-clipboard/wp-widget-clipboard.php Passed 13 tests
"WP Widget Clipboard - Duplicate widgets intuitively" version 1.2.15's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
53 characters long description:
The Clipboard plugin to copy and paste widgets easily
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
Everything looks great! No dangerous files found in this plugin1,349 lines of code in 17 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 8 | 209 | 93 | 708 |
CSS | 5 | 57 | 158 | 540 |
PO File | 2 | 27 | 47 | 87 |
SVG | 1 | 0 | 0 | 13 |
JSON | 1 | 0 | 0 | 1 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.25 |
Average class complexity | 19.00 |
▷ Minimum class complexity | 19.00 |
▷ Maximum class complexity | 19.00 |
Average method complexity | 2.64 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 12.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 11 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 11 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 1 | |
▷ Named functions | 1 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 4 | |
▷ Global constants | 1 | 25.00% |
▷ Class constants | 3 | 75.00% |
▷ Public constants | 3 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
19 compressed PNG files occupy 0.18MB
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
includes/views/upgrade_feature_2_1_collective_selection.png | 7.37KB | 5.87KB | ▼ 20.31% |
includes/views/languages/ja/upgrade_feature_1_1_favo_click_add_favo_link_ja.png | 9.38KB | 9.80KB | 0.00% |
includes/views/upgrade_feature_1_4_favo_pasted_favo_widget.png | 19.50KB | 20.24KB | 0.00% |
includes/views/upgrade_feature_1_1_favo_click_add_favo_link.png | 9.39KB | 9.87KB | 0.00% |
includes/views/usage_1_2_multidup_drag_and_drop_copied_widgets.png | 9.41KB | 9.18KB | ▼ 2.41% |