Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The following installer errors require your attention
- This plugin did not install gracefully
- > Deprecated in wp-content/plugins/wp-multicolor-subscribe-widget/multicolor-subscribe-widget.php+21
Methods with the same name as their class will not be constructors in a future version of PHP; MultiColorSubscribeWidget has a deprecated constructor
Server metrics [RAM: ▼1.86MB] [CPU: ▼60.00ms] Passed 4 tests
Server-side resources used by Wordpress Multicolor Subscribe Widget
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.14 ▼1.33 | 5.66 ▼35.40 |
Dashboard /wp-admin | 2.16 ▼1.19 | 6.47 ▼64.93 |
Posts /wp-admin/edit.php | 2.16 ▼1.20 | 5.74 ▼40.83 |
Add New Post /wp-admin/post-new.php | 2.16 ▼3.73 | 6.41 ▼98.82 |
Media Library /wp-admin/upload.php | 2.16 ▼1.07 | 6.27 ▼33.04 |
Server storage [IO: ▲0.31MB] [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: 11 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_theysaidso_widget |
can_compress_scripts |
db_upgraded |
theysaidso_admin_options |
widget_recent-comments |
widget_multicolorsubscribewidget |
widget_recent-posts |
Browser metrics Passed 4 tests
A check of browser resources used by Wordpress Multicolor Subscribe Widget
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,870 ▲109 | 13.39 ▼0.98 | 8.70 ▲6.96 | 45.66 ▲2.63 |
Dashboard /wp-admin | 2,198 ▲20 | 5.64 ▼0.10 | 83.04 ▼31.96 | 42.48 ▼3.86 |
Posts /wp-admin/edit.php | 2,100 ▼0 | 1.99 ▼0.02 | 34.63 ▼2.44 | 35.23 ▼1.82 |
Add New Post /wp-admin/post-new.php | 1,531 ▲3 | 22.62 ▼0.63 | 672.46 ▲17.14 | 57.66 ▲0.39 |
Media Library /wp-admin/upload.php | 1,400 ▼0 | 4.11 ▼0.13 | 117.91 ▲1.37 | 47.68 ▼0.65 |
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
The following items require your attention
- The plugin did not uninstall gracefully
- > Deprecated in wp-content/plugins/wp-multicolor-subscribe-widget/multicolor-subscribe-widget.php+21
Methods with the same name as their class will not be constructors in a future version of PHP; MultiColorSubscribeWidget has a deprecated constructor
- This plugin did not uninstall successfully, leaving 7 options in the database
- widget_recent-comments
- db_upgraded
- theysaidso_admin_options
- widget_multicolorsubscribewidget
- widget_recent-posts
- widget_theysaidso_widget
- can_compress_scripts
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 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Please fix the following items
- 1× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/wp-multicolor-subscribe-widget/multicolor-subscribe-widget.php:21
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
There were no browser issues found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
7 plugin tags: feedburner widget, wordpress subscribe box, rss, wordpress multicolor subscribe box, subscribe to rss feeds...
wp-multicolor-subscribe-widget/multicolor-subscribe-widget.php 85% from 13 tests
"Wordpress Multicolor Subscribe Widget" version 2.1's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
The following require your attention:
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("wp-multicolor-subscribe-widget.php" instead of "multicolor-subscribe-widget.php")
- Description: The description should be shorter than 140 characters (currently 156 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
Success! There were no dangerous files found in this plugin209 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 29 | 25 | 163 |
CSS | 1 | 1 | 1 | 46 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.03 |
Average class complexity | 5.00 |
▷ Minimum class complexity | 5.00 |
▷ Maximum class complexity | 5.00 |
Average method complexity | 1.80 |
▷ 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 | 5 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 5 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 2 | |
▷ Named functions | 2 | 100.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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
2 PNG files occupy 0.06MB with 0.04MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
multicolor-widget.png | 44.17KB | 14.69KB | ▼ 66.76% |
colors.png | 15.53KB | 5.18KB | ▼ 66.67% |