Benchmarks
Plugin footprint 58% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
It is recommended to fix the following installer errors
- Install procedure had errors
- > Notice in wp-content/plugins/jquery-ui-widgets/jquery-ui-widgets.php+78
Trying to access array offset on value of type bool
Server metrics [RAM: ▲0.12MB] [CPU: ▼7.03ms] Passed 4 tests
This is a short check of server-side resources used by jQuery UI Widgets
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.63 ▲0.17 | 49.12 ▲2.51 |
Dashboard /wp-admin | 3.44 ▲0.09 | 55.45 ▼12.86 |
Posts /wp-admin/edit.php | 3.49 ▲0.13 | 58.43 ▲8.05 |
Add New Post /wp-admin/post-new.php | 6.02 ▲0.13 | 104.23 ▼16.08 |
Media Library /wp-admin/upload.php | 3.36 ▲0.13 | 39.68 ▼1.67 |
jQuery UI Widgets /wp-admin/options-general.php?page=jquery-ui-widgets/jquery-ui-widgets.php | 3.33 | 35.42 |
Server storage [IO: ▲0.13MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
There were no storage issued detected upon installing this plugin
Filesystem: 10 new files
Database: no new tables, 7 new options
New WordPress options |
---|
db_upgraded |
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-comments |
can_compress_scripts |
widget_recent-posts |
jquiw_options |
Browser metrics Passed 4 tests
jQuery UI Widgets: an overview of browser usage
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,031 ▲270 | 14.35 ▼0.27 | 22.75 ▲21.01 | 44.50 ▲0.85 |
Dashboard /wp-admin | 2,199 ▲22 | 5.54 ▼0.02 | 88.64 ▼12.45 | 37.68 ▼5.90 |
Posts /wp-admin/edit.php | 2,107 ▲7 | 2.02 ▲0.03 | 38.58 ▲1.65 | 38.00 ▲3.74 |
Add New Post /wp-admin/post-new.php | 1,552 ▲26 | 23.53 ▲5.97 | 656.89 ▼49.39 | 60.98 ▼0.30 |
Media Library /wp-admin/upload.php | 1,407 ▲7 | 4.20 ▼0.01 | 97.77 ▼16.90 | 46.83 ▼2.54 |
jQuery UI Widgets /wp-admin/options-general.php?page=jquery-ui-widgets/jquery-ui-widgets.php | 1,497 | 2.14 | 28.29 | 60.99 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
These items require your attention
- Zombie WordPress options detected upon uninstall: 6 options
- widget_theysaidso_widget
- db_upgraded
- widget_recent-comments
- theysaidso_admin_options
- widget_recent-posts
- can_compress_scripts
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Good news, no errors were detected
SRP 50% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Almost there! Just fix the following items
- 2× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_basename() in wp-content/plugins/jquery-ui-widgets/jquery-ui-widgets.php:30
- > PHP Warning
Use of undefined constant WP_PLUGIN_URL - assumed 'WP_PLUGIN_URL' (this will throw an Error in a future version of PHP) in wp-content/plugins/jquery-ui-widgets/jquery-ui-widgets.php on line 30
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Please fix the following browser errors
- > GET request to /wp-admin/options-general.php?page=jquery-ui-widgets/jquery-ui-widgets.php
- > Network (severe)
wp-content/plugins/wp-content-filter/images/wpgo_plugins_logo.png - Failed to load resource: the server responded with a status of 404 (Not Found)
- > GET request to /wp-admin/options-general.php?page=jquery-ui-widgets/jquery-ui-widgets.php
- > Network (severe)
wp-content/plugins/wp-content-filter/images/twitter.png - Failed to load resource: the server responded with a status of 404 (Not Found)
- > GET request to /wp-admin/options-general.php?page=jquery-ui-widgets/jquery-ui-widgets.php
- > Network (severe)
wp-content/plugins/wp-content-filter/images/facebook.png - Failed to load resource: the server responded with a status of 404 (Not Found)
- > GET request to /wp-admin/options-general.php?page=jquery-ui-widgets/jquery-ui-widgets.php
- > Network (severe)
wp-content/plugins/wp-content-filter/images/yt.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 undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
Attributes that need to be fixed:
- Tags: Please delete some tags, you are using 16 tag instead of maximum 10
jquery-ui-widgets/jquery-ui-widgets.php Passed 13 tests
The main PHP script in "jQuery UI Widgets" version 0.60 is automatically included on every request by WordPress
76 characters long description:
Simple, clean, and flexible way to add jQuery UI widgets to your site pages.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
Good job! No executable or dangerous file extensions detected3,219 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 2 | 708 | 326 | 2,660 |
PHP | 1 | 60 | 73 | 559 |
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.44 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 13 | |
▷ Named functions | 13 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 1 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
5 PNG files occupy 0.01MB with 0.00MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/wpgo_plugins_logo.png | 7.61KB | 3.85KB | ▼ 49.41% |
images/info.png | 0.52KB | 0.46KB | ▼ 10.55% |
images/facebook.png | 1.89KB | 1.10KB | ▼ 41.73% |
images/twitter.png | 2.09KB | 1.30KB | ▼ 38.02% |
images/yt.png | 1.38KB | 1.10KB | ▼ 20.55% |