Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Installer ran successfully
Server metrics [RAM: ▲5.01MB] [CPU: ▲21.83ms] 75% from 4 tests
An overview of server-side resources used by Featured images in RSS feed — RSS Chimp
It is recommended to improve the following
- Extra RAM: Extra memory usage must be kept under 5MB (currently 5.01MB on /wp-admin/admin.php?page=freemius)
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 8.86 ▲5.39 | 63.27 ▲26.68 |
Dashboard /wp-admin | 8.91 ▲5.56 | 86.62 ▲19.59 |
Posts /wp-admin/edit.php | 8.91 ▲5.55 | 69.85 ▲21.36 |
Add New Post /wp-admin/post-new.php | 9.42 ▲3.53 | 118.26 ▲19.68 |
Media Library /wp-admin/upload.php | 8.91 ▲5.67 | 66.48 ▲28.83 |
Freemius Debug [v.2.5.10] /wp-admin/admin.php?page=freemius | 8.91 | 59.10 |
Server storage [IO: ▲3.27MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin installed successfully
Filesystem: 195 new files
Database: no new tables, 10 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-posts |
rss_chimp_customfeed_name |
fs_debug_mode |
theysaidso_admin_options |
fs_active_plugins |
can_compress_scripts |
widget_recent-comments |
fs_accounts |
db_upgraded |
Browser metrics Passed 4 tests
An overview of browser requirements for Featured images in RSS feed — RSS Chimp
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,822 ▲76 | 14.35 ▲0.00 | 1.85 ▲0.21 | 31.91 ▼6.62 |
Dashboard /wp-admin | 2,228 ▲47 | 5.61 ▼0.10 | 89.77 ▼9.83 | 45.18 ▲1.09 |
Posts /wp-admin/edit.php | 2,134 ▲34 | 1.97 ▼0.07 | 34.49 ▼5.39 | 34.24 ▼5.63 |
Add New Post /wp-admin/post-new.php | 1,553 ▲18 | 17.87 ▼0.07 | 615.77 ▼20.10 | 71.50 ▲6.32 |
Media Library /wp-admin/upload.php | 1,433 ▲33 | 4.20 ▼0.02 | 93.72 ▼11.37 | 45.23 ▼0.57 |
Freemius Debug [v.2.5.10] /wp-admin/admin.php?page=freemius | 1,101 | 1.69 | 24.40 | 27.40 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
The following items require your attention
- Uninstall procedure had uncaught errors
- > Notice in wp-content/plugins/rss-chimp/freemius/includes/class-freemius.php+8486
Undefined property: stdClass::$plugins
- This plugin did not uninstall successfully, leaving 10 options in the database
- fs_active_plugins
- fs_accounts
- fs_debug_mode
- db_upgraded
- widget_theysaidso_widget
- theysaidso_admin_options
- rss_chimp_customfeed_name
- widget_recent-posts
- can_compress_scripts
- widget_recent-comments
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Everything seems fine, however this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Please fix the following items
- 1× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html() in wp-content/plugins/rss-chimp/admin/partials/rss-chimp-admin-display.php:17
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
There were no browser issues found
Optimizations
Plugin configuration 96% 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
5 plugin tags: featured image, images in rss, add featured image to rss, feed images, rss images
rss-chimp/rss-chimp.php 92% from 13 tests
The entry point to "Featured images in RSS feed — RSS Chimp" version 1.2.5 is a PHP file that has certain tags in its header comment area
It is important to fix the following:
- Description: The description should be shorter than 140 characters (currently 297 characters long)
Code Analysis 97% from 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
Everything looks great! No dangerous files found in this plugin34,495 lines of code in 146 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 126 | 8,126 | 17,830 | 33,900 |
PO File | 1 | 184 | 339 | 270 |
JavaScript | 4 | 36 | 60 | 232 |
CSS | 14 | 16 | 18 | 72 |
SVG | 1 | 0 | 0 | 21 |
PHP code 50% from 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
Please fix the following
- Cyclomatic complexity of classes has to be reduced to less than 1000 (currently 3,073)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.62 |
Average class complexity | 83.81 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 3,073.00 |
Average method complexity | 4.48 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 94.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 54 | |
▷ Abstract classes | 2 | 3.70% |
▷ Concrete classes | 52 | 96.30% |
▷ Final classes | 0 | 0.00% |
Methods | 1,313 | |
▷ Static methods | 199 | 15.16% |
▷ Public methods | 920 | 70.07% |
▷ Protected methods | 17 | 1.29% |
▷ Private methods | 376 | 28.64% |
Functions | 105 | |
▷ Named functions | 104 | 99.05% |
▷ Anonymous functions | 1 | 0.95% |
Constants | 146 | |
▷ Global constants | 99 | 67.81% |
▷ Class constants | 47 | 32.19% |
▷ Public constants | 47 | 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.02MB with 0.01MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
admin/assets/rss-chimp-icon.png | 5.14KB | 2.45KB | ▼ 52.38% |
freemius/assets/img/theme-icon.png | 10.97KB | 5.78KB | ▼ 47.37% |
freemius/assets/img/plugin-icon.png | 9.16KB | 5.26KB | ▼ 42.58% |