Benchmarks
Plugin footprint 58% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
These installer errors require your attention
- Install procedure validation failed for this plugin
- > Notice in wp-content/plugins/rss-image-feed/image-rss.php+133
Trying to access array offset on value of type null
Server metrics [RAM: ▲0.33MB] [CPU: ▼11.10ms] Passed 4 tests
A check of server-side resources used by RSS Image Feed
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.78 ▲0.32 | 35.32 ▼7.19 |
Dashboard /wp-admin | 3.70 ▲0.35 | 48.92 ▼11.03 |
Posts /wp-admin/edit.php | 3.75 ▲0.39 | 53.51 ▼0.69 |
Add New Post /wp-admin/post-new.php | 6.22 ▲0.33 | 83.37 ▼25.50 |
Media Library /wp-admin/upload.php | 3.56 ▲0.33 | 39.80 ▲2.99 |
RSS Image Feed /wp-admin/plugins.php?page=rss-image-feed | 3.50 | 35.17 |
Server storage [IO: ▲0.13MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
There were no storage issued detected upon installing this plugin
Filesystem: 14 new files
Database: no new tables, 7 new options
New WordPress options |
---|
rss_options |
widget_recent-comments |
db_upgraded |
widget_theysaidso_widget |
widget_recent-posts |
can_compress_scripts |
theysaidso_admin_options |
Browser metrics Passed 4 tests
This is an overview of browser requirements for RSS Image Feed
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,858 ▲112 | 13.26 ▼1.01 | 1.98 ▲0.17 | 40.80 ▼3.59 |
Dashboard /wp-admin | 2,228 ▲40 | 5.79 ▼0.11 | 98.51 ▼5.55 | 76.89 ▲35.01 |
Posts /wp-admin/edit.php | 2,114 ▲22 | 2.01 ▼0.00 | 36.17 ▼8.17 | 34.89 ▼4.62 |
Add New Post /wp-admin/post-new.php | 1,526 ▲7 | 17.69 ▼5.39 | 749.20 ▲118.53 | 62.98 ▲4.19 |
Media Library /wp-admin/upload.php | 1,401 ▲10 | 4.06 ▼0.14 | 102.70 ▲5.37 | 73.93 ▲29.11 |
RSS Image Feed /wp-admin/plugins.php?page=rss-image-feed | 1,087 | 4.61 | 46.54 | 51.60 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
It is recommended to fix the following
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_theysaidso_widget
- db_upgraded
- can_compress_scripts
- widget_recent-posts
- theysaidso_admin_options
- widget_recent-comments
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Smoke test failed, please fix the following
- > GET request to /wp-admin/plugins.php?page=rss-image-feed
- > Notice in wp-content/plugins/rss-image-feed/class-lib/RIF_AdminClass.php+84
Undefined index: action
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
Please fix the following items
- 1× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Class 'A5_OptionPage' not found in wp-content/plugins/rss-image-feed/class-lib/RIF_AdminClass.php:12
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser issues were found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
10 plugin tags: image, content, custom, enclosure, feed...
rss-image-feed/image-rss.php 85% from 13 tests
The principal PHP file in "RSS Image Feed" v. 4.2.5 is loaded by WordPress automatically on each request
You should first fix the following items:
- Description: Please don't use more than 140 characters for the plugin description (currently 215 characters long)
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("rss-image-feed.php" instead of "image-rss.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
No dangerous file extensions were detected1,502 lines of code in 7 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 6 | 1,190 | 440 | 1,371 |
PO File | 1 | 44 | 44 | 131 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.36 |
Average class complexity | 40.33 |
▷ Minimum class complexity | 22.00 |
▷ Maximum class complexity | 76.00 |
Average method complexity | 4.52 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 34.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 6 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 6 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 67 | |
▷ Static methods | 33 | 49.25% |
▷ Public methods | 61 | 91.04% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 6 | 8.96% |
Functions | 28 | |
▷ Named functions | 28 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 4 | |
▷ Global constants | 2 | 50.00% |
▷ Class constants | 2 | 50.00% |
▷ Public constants | 2 | 100.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
3 PNG files occupy 0.00MB with 0.00MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
img/a5-icon-11.png | 0.67KB | 0.42KB | ▼ 37.17% |
img/a5-icon-16.png | 0.77KB | 0.57KB | ▼ 25.99% |
img/a5-icon-34.png | 1.65KB | 1.35KB | ▼ 18.07% |