67% wp-rss-aggregator

Code Review | WP RSS Aggregator - News Feeds, Autoblogging, Youtube Video Feeds and More

WordPress plugin WP RSS Aggregator - News Feeds, Autoblogging, Youtube Video Feeds and More scored67%from 54 tests.

About plugin

  • Plugin page: wp-rss-aggregator
  • Plugin version: 4.23.4
  • PHP compatiblity: 5.4+
  • PHP version: 7.4.16
  • WordPress version: 6.3.1
  • First release: Jan 5, 2012
  • Latest release: Nov 18, 2023
  • Number of updates: 467
  • Update frequency: every 9.3 days
  • Top authors: jeangalea (52.03%)Mekku (35.12%)markzahra (13.28%)

Code review

54 tests

User reviews

511 reviews

Install metrics

60,000+ active /2,548,827 total downloads

Benchmarks

Plugin footprint 64% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Install script ran successfully

Server metrics [RAM: ▲7.69MB] [CPU: ▲54.27ms] 50% from 4 tests

An overview of server-side resources used by WP RSS Aggregator - News Feeds, Autoblogging, Youtube Video Feeds and More
Please fix the following
  • RAM: Try to keep total memory usage under 10MB (currently 11.11MB on /wp-admin/edit.php?post_type=wprss_feed)
  • Extra RAM: The extra memory usage must be under 5MB (currently 7.69MB on /wp-admin/edit.php?post_type=wprss_feed)
PageMemory (MB)CPU Time (ms)
Home /11.09 ▲7.6389.95 ▲51.76
Dashboard /wp-admin11.03 ▲7.69108.03 ▲49.64
Posts /wp-admin/edit.php11.08 ▲7.72118.46 ▲73.28
Add New Post /wp-admin/post-new.php13.82 ▲7.93140.07 ▲48.37
Media Library /wp-admin/upload.php10.97 ▲7.7499.66 ▲67.32
Help & Support /wp-admin/edit.php?post_type=wprss_feed&page=wprss-help11.04103.99
Thank you for updating WP RSS Aggregator /wp-admin/admin.php?page=wpra-update11.4897.09
Upgrade /wp-admin/edit.php?post_type=wprss_feed&page=wprss_addons11.0785.84
Settings /wp-admin/edit.php?post_type=wprss_feed&page=wprss-aggregator-settings11.0987.62
Feed Items /wp-admin/edit.php?post_type=wprss_feed_item11.0588.12
Templates /wp-admin/edit.php?post_type=wprss_feed&page=wpra_feed_templates10.9586.02
Welcome to WP RSS Aggregator /wp-admin/admin.php?page=wpra-intro10.9591.37
Tools /wp-admin/edit.php?post_type=wprss_feed&page=wpra_tools11.66103.92
Feed Sources /wp-admin/edit.php?post_type=wprss_feed11.1196.32

Server storage [IO: ▲5.59MB] [DB: ▲0.01MB] Passed 3 tests

Input-output and database impact of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 1,282 new files
Database: 1 new table, 9 new options
New tables
wp_wprss_logs
New WordPress options
wprss_prev_update_page_version
widget_recent-comments
can_compress_scripts
widget_theysaidso_widget
wprss_db_version
db_upgraded
wprss_settings_general
widget_recent-posts
theysaidso_admin_options

Browser metrics Passed 4 tests

Checking browser requirements for WP RSS Aggregator - News Feeds, Autoblogging, Youtube Video Feeds and More
This plugin has a minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,868 ▲10614.33 ▼0.021.62 ▼0.1740.58 ▼3.96
Dashboard /wp-admin2,270 ▲965.60 ▼0.1294.02 ▼0.6246.83 ▲2.85
Posts /wp-admin/edit.php2,178 ▲782.01 ▲0.0139.27 ▼2.8136.45 ▼1.94
Add New Post /wp-admin/post-new.php1,722 ▲19620.92 ▼2.25639.84 ▼51.8537.26 ▼15.18
Media Library /wp-admin/upload.php1,469 ▲694.19 ▲0.0298.46 ▼1.9842.36 ▼0.74
Help & Support /wp-admin/edit.php?post_type=wprss_feed&page=wprss-help1,2855.4159.8847.51
Thank you for updating WP RSS Aggregator /wp-admin/admin.php?page=wpra-update1,3725.6560.4442.69
Upgrade /wp-admin/edit.php?post_type=wprss_feed&page=wprss_addons1,4265.6444.7642.11
Settings /wp-admin/edit.php?post_type=wprss_feed&page=wprss-aggregator-settings1,5445.5553.7248.26
Feed Items /wp-admin/edit.php?post_type=wprss_feed_item1,5195.8254.8439.45
Templates /wp-admin/edit.php?post_type=wprss_feed&page=wpra_feed_templates1,4157.6673.8848.74
Welcome to WP RSS Aggregator /wp-admin/admin.php?page=wpra-intro1,2556.2971.8850.85
Tools /wp-admin/edit.php?post_type=wprss_feed&page=wpra_tools1,8055.7448.6545.68
Feed Sources /wp-admin/edit.php?post_type=wprss_feed1,7085.8251.6757.23

Uninstaller [IO: ▲0.00MB] [DB: ▲0.01MB] 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
  • The uninstall procedure failed, leaving 1 table in the database
    • wp_wprss_logs
  • Zombie WordPress options were found after uninstall: 8 options
    • widget_recent-posts
    • db_upgraded
    • wprss_prev_update_page_version
    • wprss_settings_general
    • widget_theysaidso_widget
    • theysaidso_admin_options
    • can_compress_scripts
    • widget_recent-comments

Smoke tests 50% 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)
Good news, no errors were detected

SRP 0% 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
The following issues need your attention
  • 2× PHP files output text when accessed directly:
    • > /wp-content/plugins/wp-rss-aggregator/templates/help-tooltip-content.php
    • > /wp-content/plugins/wp-rss-aggregator/templates/help-tooltip-handle.php
  • 604× PHP files trigger errors when accessed directly with GET requests (only 10 are shown):
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/wp-rss-aggregator/includes/admin-display.php:4
    • > PHP Fatal error
      Uncaught Error: Interface 'RebelCode\\Entities\\Api\\StoreInterface' not found in wp-content/plugins/wp-rss-aggregator/lib/Entities/Stores/ArrayStore.php:13
    • > PHP Fatal error
      Uncaught Error: Class 'Aventura\\Wprss\\Core\\Exception' not found in wp-content/plugins/wp-rss-aggregator/includes/Aventura/Wprss/Core/Model/CommandException.php:12
    • > PHP Fatal error
      Uncaught Error: Interface 'RebelCode\\Entities\\Api\\PropertyInterface' not found in wp-content/plugins/wp-rss-aggregator/lib/Entities/Properties/DefaultingProperty.php:14
    • > PHP Fatal error
      Uncaught Error: Interface 'RebelCode\\Wpra\\Core\\Modules\\ModuleInterface' not found in wp-content/plugins/wp-rss-aggregator/src/Modules/ResetToolModule.php:13
    • > PHP Fatal error
      Uncaught Error: Class 'Psr\\Log\ullLogger' not found in wp-content/plugins/wp-rss-aggregator/src/Logger/ProblemLogger.php:12
    • > PHP Notice
      Undefined variable: vars in wp-content/plugins/wp-rss-aggregator/templates/help-tooltip-handle.php on line 13
    • > PHP Fatal error
      Uncaught Error: Interface 'Dhii\\Stats\\AggregatorInterface' not found in wp-content/plugins/wp-rss-aggregator/vendor/dhii/stats-abstract/src/AbstractAggregator.php:12
    • > PHP Fatal error
      Uncaught Error: Class 'Twig\\Extension\\AbstractExtension' not found in wp-content/plugins/wp-rss-aggregator/vendor/twig/twig/src/Extension/SandboxExtension.php:21
    • > PHP Fatal error
      Uncaught Error: Class 'Symfony\\Component\\Translation\\Loader\\ArrayLoader' not found in wp-content/plugins/wp-rss-aggregator/vendor/symfony/translation/Loader/FileLoader.php:21

User-side errors Passed 1 test

🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser errors were detected

Optimizations

Plugin configuration 90% from 29 tests

readme.txt 88% from 16 tests

Often overlooked, readme.txt is one of the most important files in your plugin
Attributes that require attention:
  • Tags: Too many tags (12 tag instead of maximum 10); only the first 5 tags are used in your directory listing
  • Requires at least: Version format is invalid
The official readme.txt is a good inspiration

wp-rss-aggregator/wp-rss-aggregator.php 92% from 13 tests

The entry point to "WP RSS Aggregator - News Feeds, Autoblogging, Youtube Video Feeds and More" version 4.23.4 is a PHP file that has certain tags in its header comment area
It is important to fix the following:
  • Text Domain: If you choose to specify the text domain, it must be the same as the plugin slug; optional since WordPress version 4.6

Code Analysis 97% from 3 tests

File types Passed 1 test

🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
Success! There were no dangerous files found in this plugin81,094 lines of code in 1,197 files:
LanguageFilesBlank linesComment linesLines of code
PHP1,05113,30536,64557,186
PO File62,4792,6487,304
JavaScript367307293,975
JSON37003,327
CSS213651982,978
XSD392482,803
Markdown857501,866
Twig32130241,120
SVG100414
YAML2370121

PHP code 50% from 2 tests

This is a very shot review of cyclomatic complexity and code structure
The following items need your attention
  • Please reduce cyclomatic complexity of methods to less than 100 (currently 157)
Cyclomatic complexity
Average complexity per logical line of code0.37
Average class complexity5.44
▷ Minimum class complexity1.00
▷ Maximum class complexity186.00
Average method complexity2.35
▷ Minimum method complexity1.00
▷ Maximum method complexity157.00
Code structure
Namespaces131
Interfaces160
Traits66
Classes773
▷ Abstract classes8110.48%
▷ Concrete classes69289.52%
▷ Final classes50.72%
Methods3,671
▷ Static methods1754.77%
▷ Public methods2,66372.54%
▷ Protected methods93425.44%
▷ Private methods742.02%
Functions983
▷ Named functions48649.44%
▷ Anonymous functions49750.56%
Constants291
▷ Global constants6923.71%
▷ Class constants22276.29%
▷ Public constants222100.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

Using a strong compression for your PNG files is a great way to speed-up your plugin
24 PNG files occupy 0.09MB with 0.04MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant
FileSize - originalSize - compressedSavings
vendor/container-interop/container-interop/docs/images/interoperating_containers.png25.13KB12.83KB▼ 48.97%
images/colorbox/ie6/borderMiddleRight.png0.11KB0.10KB▼ 7.41%
images/wpra-icon-transparent.png8.36KB4.42KB▼ 47.10%
images/wpra-icon-transparent-new.png3.34KB1.41KB▼ 57.92%
vendor/container-interop/container-interop/docs/images/priority.png15.87KB8.86KB▼ 44.20%