Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Installer ran successfully
Server metrics [RAM: ▲5.04MB] [CPU: ▲19.63ms] 75% from 4 tests
Server-side resources used by RSS Control
Please fix the following
- Extra RAM: The extra memory usage must be under 5MB (currently 5.04MB on /wp-admin/options-general.php?page=rss-control)
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 8.93 ▲5.47 | 67.84 ▲14.08 |
Dashboard /wp-admin | 8.95 ▲5.60 | 79.19 ▲14.06 |
Posts /wp-admin/edit.php | 8.95 ▲5.59 | 83.66 ▲32.67 |
Add New Post /wp-admin/post-new.php | 9.39 ▲3.50 | 113.22 ▲17.70 |
Media Library /wp-admin/upload.php | 8.95 ▲5.72 | 73.28 ▲34.04 |
Freemius Debug [v.2.5.10] /wp-admin/admin.php?page=freemius | 8.95 | 63.19 |
RSS Control /wp-admin/options-general.php?page=rss-control | 8.95 | 71.53 |
Server storage [IO: ▲3.27MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
The plugin installed successfully
Filesystem: 241 new files
Database: no new tables, 9 new options
New WordPress options |
---|
widget_theysaidso_widget |
fs_debug_mode |
widget_recent-posts |
fs_active_plugins |
can_compress_scripts |
fs_accounts |
widget_recent-comments |
db_upgraded |
theysaidso_admin_options |
Browser metrics Passed 4 tests
Checking browser requirements for RSS Control
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,810 ▲49 | 14.34 ▲0.08 | 1.47 ▼0.38 | 31.18 ▼6.63 |
Dashboard /wp-admin | 2,216 ▲39 | 5.59 ▲0.04 | 93.85 ▼1.01 | 41.17 ▼3.99 |
Posts /wp-admin/edit.php | 2,125 ▲22 | 1.98 ▲0.02 | 39.67 ▼2.88 | 37.84 ▼0.19 |
Add New Post /wp-admin/post-new.php | 1,542 ▲14 | 24.42 ▲1.25 | 653.03 ▼6.74 | 65.48 ▲15.91 |
Media Library /wp-admin/upload.php | 1,421 ▲27 | 4.20 ▼0.08 | 97.23 ▼4.23 | 45.81 ▼3.35 |
Freemius Debug [v.2.5.10] /wp-admin/admin.php?page=freemius | 1,089 | 1.65 | 26.06 | 27.50 |
RSS Control /wp-admin/options-general.php?page=rss-control | 981 | 1.67 | 24.95 | 66.40 |
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
Please fix the following items
- Uninstall procedure validation failed for this plugin
- > Notice in wp-content/plugins/rss-control/vendor/freemius/wordpress-sdk/freemius/includes/class-freemius.php+8486
Undefined property: stdClass::$plugins
- The uninstall procedure has failed, leaving 9 options in the database
- widget_recent-comments
- fs_active_plugins
- db_upgraded
- widget_theysaidso_widget
- can_compress_scripts
- fs_accounts
- widget_recent-posts
- theysaidso_admin_options
- fs_debug_mode
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
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
The following issues need your attention
- 33× PHP files trigger server errors when accessed directly (only 10 are shown):
- > PHP Warning
Use of undefined constant RSS_CONTROL_URL - assumed 'RSS_CONTROL_URL' (this will throw an Error in a future version of PHP) in wp-content/plugins/rss-control/admin/partials/base.php on line 4
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/rss-control/admin/partials/form/taxonomy_term.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/rss-control/admin/partials/form/image_styles.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/rss-control/admin/partials/form/include_title_in_description.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/rss-control/admin/partials/form/button_text.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/rss-control/admin/partials/form/excerpt_length.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/rss-control/admin/partials/form/excerpt_more_text.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/rss-control/admin/partials/form/orderby.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/rss-control/admin/partials/form/tag_not_in.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/rss-control/admin/partials/form/button_text_styles.php:2
- > PHP Warning
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 94% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
These attributes need to be fixed:
- Screenshots: Add descriptions for screenshots #1, #2, #3 in rss-control/assets to your readme.txt
rss-control/rss-control.php 92% from 13 tests
The principal PHP file in "RSS Control" v. 3.0.8 is loaded by WordPress automatically on each request
You should first fix the following items:
- Text Domain: The text domain must be the same as the plugin slug, although optional since WordPress version 4.6
Code Analysis 97% from 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
Success! There were no dangerous files found in this plugin36,267 lines of code in 188 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 165 | 8,189 | 17,600 | 34,345 |
PO File | 2 | 204 | 216 | 961 |
JavaScript | 5 | 118 | 158 | 604 |
CSS | 14 | 75 | 8 | 322 |
JSON | 2 | 0 | 0 | 35 |
PHP code 50% from 2 tests
Analyzing cyclomatic complexity and code structure
The following items need your attention
- Please reduce cyclomatic complexity of classes to less than 1000 (currently 3,073)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.62 |
Average class complexity | 79.34 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 3,073.00 |
Average method complexity | 4.49 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 94.00 |
Code structure | ||
---|---|---|
Namespaces | 2 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 58 | |
▷ Abstract classes | 2 | 3.45% |
▷ Concrete classes | 56 | 96.55% |
▷ Final classes | 0 | 0.00% |
Methods | 1,331 | |
▷ Static methods | 216 | 16.23% |
▷ Public methods | 928 | 69.72% |
▷ Protected methods | 24 | 1.80% |
▷ Private methods | 379 | 28.47% |
Functions | 103 | |
▷ Named functions | 101 | 98.06% |
▷ Anonymous functions | 2 | 1.94% |
Constants | 153 | |
▷ Global constants | 102 | 66.67% |
▷ Class constants | 51 | 33.33% |
▷ Public constants | 51 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
3 PNG files occupy 0.03MB with 0.01MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
admin/img/icon.png | 14.27KB | 13.93KB | ▼ 2.35% |
vendor/freemius/wordpress-sdk/freemius/assets/img/plugin-icon.png | 9.16KB | 5.26KB | ▼ 42.58% |
vendor/freemius/wordpress-sdk/freemius/assets/img/theme-icon.png | 10.97KB | 5.78KB | ▼ 47.37% |