Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Installer ran successfully
Server metrics [RAM: ▲5.04MB] [CPU: ▲19.22ms] 75% from 4 tests
An overview of server-side resources used by Featured Images in RSS for Mailchimp & More
Please take the time to fix the following items
- Extra RAM: Extra memory usage should kept under 5MB (currently 5.04MB on /wp-admin/admin.php?page=freemius)
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 8.94 ▲5.48 | 62.74 ▲19.23 |
Dashboard /wp-admin | 8.96 ▲5.66 | 69.81 ▲18.96 |
Posts /wp-admin/edit.php | 8.96 ▲5.61 | 66.80 ▲22.36 |
Add New Post /wp-admin/post-new.php | 9.30 ▲3.42 | 105.13 ▲16.34 |
Media Library /wp-admin/upload.php | 8.96 ▲5.73 | 64.68 ▲31.31 |
Freemius Debug [v.2.5.10] /wp-admin/admin.php?page=freemius | 8.96 | 55.17 |
Server storage [IO: ▲3.19MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
No storage issues were detected
Filesystem: 182 new files
Database: no new tables, 9 new options
New WordPress options |
---|
fs_accounts |
widget_theysaidso_widget |
fs_active_plugins |
widget_recent-posts |
fs_debug_mode |
db_upgraded |
widget_recent-comments |
can_compress_scripts |
theysaidso_admin_options |
Browser metrics Passed 4 tests
Checking browser requirements for Featured Images in RSS for Mailchimp & More
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,837 ▲102 | 13.31 ▼1.07 | 4.32 ▲2.25 | 28.41 ▼19.23 |
Dashboard /wp-admin | 2,243 ▲55 | 5.86 ▲0.00 | 104.80 ▼6.00 | 44.48 ▲4.51 |
Posts /wp-admin/edit.php | 2,129 ▲43 | 2.04 ▼0.02 | 35.70 ▼1.55 | 36.29 ▲1.03 |
Add New Post /wp-admin/post-new.php | 1,535 ▲5 | 23.10 ▲4.59 | 683.73 ▲39.62 | 53.75 ▲3.12 |
Media Library /wp-admin/upload.php | 1,422 ▲34 | 4.29 ▲0.06 | 101.45 ▲2.48 | 44.92 ▲1.80 |
Freemius Debug [v.2.5.10] /wp-admin/admin.php?page=freemius | 1,079 | 1.72 | 26.02 | 26.52 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
The following items require your attention
- This plugin did not uninstall without warnings or errors
- > Notice in wp-content/plugins/featured-images-for-rss-feeds/includes/freemius/includes/class-freemius.php+8486
Undefined property: stdClass::$plugins
- This plugin does not fully uninstall, leaving 9 options in the database
- fs_debug_mode
- fs_active_plugins
- fs_accounts
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-posts
- widget_recent-comments
- can_compress_scripts
- db_upgraded
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
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
Almost there! Just fix the following items
- 1× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function plugins_url() in wp-content/plugins/featured-images-for-rss-feeds/featured_images_in_rss.php:14
- > 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 90% from 29 tests
readme.txt 88% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
Attributes that need to be fixed:
- Tags: Please delete some tags, you are using 13 tag instead of maximum 10
- Screenshots: Please add descriptions for these screenshots #5, #6 in featured-images-for-rss-feeds/assets to your readme.txt
featured-images-for-rss-feeds/featured_images_in_rss.php 92% from 13 tests
The principal PHP file in "Featured Images in RSS for Mailchimp & More" v. 1.6.2 is loaded by WordPress automatically on each request
Please take the time to fix the following:
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("featured-images-for-rss-feeds.php" instead of "featured_images_in_rss.php")
Code Analysis 97% from 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
Success! There were no dangerous files found in this plugin34,119 lines of code in 136 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 118 | 8,027 | 17,293 | 33,591 |
Markdown | 1 | 68 | 0 | 214 |
JavaScript | 3 | 34 | 59 | 194 |
PO File | 1 | 28 | 32 | 107 |
CSS | 13 | 0 | 0 | 13 |
PHP code 50% from 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
Please fix the following
- Class cyclomatic complexity should be reduced to less than 1000 (currently 3,073)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.63 |
Average class complexity | 93.06 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 3,073.00 |
Average method complexity | 4.59 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 94.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 48 | |
▷ Abstract classes | 2 | 4.17% |
▷ Concrete classes | 46 | 95.83% |
▷ Final classes | 0 | 0.00% |
Methods | 1,259 | |
▷ Static methods | 197 | 15.65% |
▷ Public methods | 870 | 69.10% |
▷ Protected methods | 17 | 1.35% |
▷ Private methods | 372 | 29.55% |
Functions | 118 | |
▷ Named functions | 118 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 147 | |
▷ Global constants | 100 | 68.03% |
▷ Class constants | 47 | 31.97% |
▷ Public constants | 47 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
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 |
includes/freemius/assets/img/theme-icon.png | 10.97KB | 5.78KB | ▼ 47.37% |
includes/images/5StarPlugins_Logo80x80.png | 2.08KB | 1.07KB | ▼ 48.52% |
includes/freemius/assets/img/plugin-icon.png | 9.16KB | 5.26KB | ▼ 42.58% |