Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Please fix the following installer errors
- Install procedure had errors
- > Deprecated in wp-content/plugins/jquery-tabber-widget/jquery-tabber-widget.php+91
Function create_function() is deprecated
Server metrics [RAM: ▼1.96MB] [CPU: ▼54.85ms] Passed 4 tests
A check of server-side resources used by jQuery Tabber Widget
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.03 ▼1.44 | 4.69 ▼34.96 |
Dashboard /wp-admin | 2.05 ▼1.25 | 7.17 ▼42.14 |
Posts /wp-admin/edit.php | 2.05 ▼1.31 | 5.31 ▼46.91 |
Add New Post /wp-admin/post-new.php | 2.05 ▼3.84 | 5.43 ▼95.40 |
Media Library /wp-admin/upload.php | 2.05 ▼1.18 | 7.14 ▼27.51 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 5 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_recent-comments |
db_upgraded |
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-posts |
widget_tabberwidget |
theysaidso_admin_options |
Browser metrics Passed 4 tests
An overview of browser requirements for jQuery Tabber Widget
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲54 | 13.59 ▼1.16 | 1.83 ▲0.03 | 44.89 ▲2.30 |
Dashboard /wp-admin | 2,206 ▲32 | 5.81 ▲0.68 | 99.54 ▼9.15 | 39.31 ▼4.39 |
Posts /wp-admin/edit.php | 2,089 ▼3 | 2.02 ▼0.03 | 34.90 ▼7.48 | 30.00 ▼5.64 |
Add New Post /wp-admin/post-new.php | 1,536 ▲3 | 23.30 ▼0.06 | 655.80 ▲50.77 | 66.60 ▲19.08 |
Media Library /wp-admin/upload.php | 1,391 ▲3 | 4.19 ▼0.00 | 95.56 ▼5.53 | 44.30 ▲0.68 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
These items require your attention
- Uninstall procedure had uncaught errors
- > Deprecated in wp-content/plugins/jquery-tabber-widget/jquery-tabber-widget.php+91
Function create_function() is deprecated
- This plugin does not fully uninstall, leaving 7 options in the database
- widget_tabberwidget
- theysaidso_admin_options
- widget_theysaidso_widget
- db_upgraded
- can_compress_scripts
- widget_recent-posts
- widget_recent-comments
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
The smoke test was a success, however most plugin functionality was not tested
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
The following issues need your attention
- 1× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/jquery-tabber-widget/jquery-tabber-widget.php:9
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
There were no browser issues found
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
6 plugin tags: posts, tabber, sidebar, jquery, widget...
jquery-tabber-widget/jquery-tabber-widget.php 92% from 13 tests
This is the main PHP file of "jQuery Tabber Widget" version 1.0.2, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
You should first fix the following items:
- Description: The description should be shorter than 140 characters (currently 295 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
No dangerous file extensions were detected99 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 15 | 9 | 69 |
CSS | 1 | 1 | 1 | 16 |
JavaScript | 1 | 1 | 2 | 14 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.14 |
Average class complexity | 4.00 |
▷ Minimum class complexity | 4.00 |
▷ Maximum class complexity | 4.00 |
Average method complexity | 2.50 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 4.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 | 3 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 3 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.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
1 PNG file occupies 0.01MB with 0.00MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-1.png | 8.21KB | 4.13KB | ▼ 49.71% |