Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Install script ran successfully
Server metrics [RAM: ▲0.07MB] [CPU: ▼1.45ms] Passed 4 tests
Analyzing server-side resources used by RSS Icon Widget
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.53 ▲0.07 | 39.78 ▲1.13 |
Dashboard /wp-admin | 3.38 ▲0.07 | 50.15 ▼1.55 |
Posts /wp-admin/edit.php | 3.49 ▲0.13 | 47.80 ▼2.90 |
Add New Post /wp-admin/post-new.php | 5.96 ▲0.07 | 97.78 ▼2.49 |
Media Library /wp-admin/upload.php | 3.30 ▲0.07 | 44.61 ▲10.35 |
RSS Icon Widget Changelog /wp-admin/admin.php?page=rssiw-changelog | 3.28 | 33.92 |
Server storage [IO: ▲0.08MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
No storage issues were detected
Filesystem: 17 new files
Database: no new tables, 8 new options
New WordPress options |
---|
widget_rssiconwidget |
widget_recent-posts |
widget_theysaidso_widget |
widget_dynamicrssiconwidget |
db_upgraded |
widget_recent-comments |
theysaidso_admin_options |
can_compress_scripts |
Browser metrics Passed 4 tests
Checking browser requirements for RSS Icon Widget
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,789 ▲28 | 14.27 ▼0.25 | 1.79 ▲0.08 | 43.74 ▼7.17 |
Dashboard /wp-admin | 2,195 ▲23 | 5.53 ▼0.08 | 88.29 ▼17.02 | 39.30 ▼6.55 |
Posts /wp-admin/edit.php | 2,097 ▼6 | 1.97 ▼0.02 | 36.17 ▼8.72 | 36.86 ▼3.37 |
Add New Post /wp-admin/post-new.php | 1,535 ▲7 | 18.28 ▼4.72 | 638.01 ▼22.77 | 79.98 ▲25.72 |
Media Library /wp-admin/upload.php | 1,403 ▼0 | 4.20 ▲0.07 | 99.38 ▼11.90 | 41.17 ▼5.07 |
RSS Icon Widget Changelog /wp-admin/admin.php?page=rssiw-changelog | 1,079 | 2.11 | 23.59 | 27.63 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
The following items require your attention
- Zombie WordPress options detected upon uninstall: 8 options
- db_upgraded
- widget_recent-comments
- theysaidso_admin_options
- widget_rssiconwidget
- widget_theysaidso_widget
- widget_recent-posts
- can_compress_scripts
- widget_dynamicrssiconwidget
Smoke tests 75% 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 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Please fix the following
- 3× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html_e() in wp-content/plugins/rss-icon-widget/views/changelog.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_url() in wp-content/plugins/rss-icon-widget/rss-icon-widget.php:31
- > PHP Fatal error
Uncaught Error: Call to undefined function register_activation_hook() in wp-content/plugins/rss-icon-widget/lib/changelog.php:22
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine on the user side
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
4 plugin tags: rss feed, feed icon, sidebar, widget
rss-icon-widget/rss-icon-widget.php 92% from 13 tests
Analyzing the main PHP file in "RSS Icon Widget" version 5.2
The following require your attention:
- Text Domain: Since WordPress version 4.6 the text domain is optional; if specified, it must be the same as the plugin slug
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
Good job! No executable or dangerous file extensions detected554 lines of code in 8 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 90 | 84 | 350 |
SVG | 3 | 0 | 1 | 168 |
CSS | 1 | 6 | 0 | 25 |
JavaScript | 1 | 0 | 0 | 11 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.12 |
Average class complexity | 5.00 |
▷ Minimum class complexity | 4.00 |
▷ Maximum class complexity | 6.00 |
Average method complexity | 1.75 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 5.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 3 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 3 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 16 | |
▷ Static methods | 7 | 43.75% |
▷ Public methods | 16 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 3 | |
▷ Named functions | 3 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 7 | |
▷ Global constants | 7 | 100.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
6 compressed PNG files occupy 0.00MB
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
icons/feed-icon-12x12.png | 0.54KB | 0.49KB | ▼ 9.78% |
icons/feed-icon-14x14.png | 0.67KB | 0.70KB | 0.00% |
icons/feed-icon-24x24.png | 1.06KB | 0.97KB | ▼ 8.62% |
icons/feed-icon-10x10.png | 0.46KB | 0.39KB | ▼ 14.07% |
icons/feed-icon-32x32.png | 1.41KB | 1.19KB | ▼ 15.34% |