94% simple-rss-aggregator

Code Review | Simple RSS Aggregator

WordPress plugin Simple RSS Aggregator scored 94% from 54 tests.

About plugin

  • Plugin page: simple-rss-aggreg...
  • Plugin version: 1.0.1
  • PHP version: 7.4.16
  • WordPress compatibility: 3.0-4.5.3
  • WordPress version: 5.9.2
  • First release: Apr 8, 2013
  • Latest release: Jul 15, 2016
  • Number of updates: 3
  • Update frequency: every 399.0 days
  • Top authors: webarthur (100%)

Code review

54 tests

User reviews

2 reviews

Install metrics

10+ active / 3,650 total downloads

Benchmarks

Plugin footprint Passed 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed successfully, without throwing any errors or notices

Server metrics [RAM: ▲0.08MB] [CPU: ▼291.68ms] Passed 4 tests

A check of server-side resources used by Simple RSS Aggregator
This plugin has minimal impact on server resources
PageMemory (MB)CPU Time (ms)
Home /3.66 ▲0.1561.31 ▲6.21
Dashboard /wp-admin3.52 ▲0.1263.92 ▲31.49
Posts /wp-admin/edit.php3.74 ▲0.1038.09 ▲3.28
Add New Post /wp-admin/post-new.php6.98 ▲0.0198.38 ▼1,175.80
Media Library /wp-admin/upload.php3.39 ▲0.0926.90 ▼0.40
Add New /wp-admin/post-new.php?post_type=user_feed3.6839.78
User Feeds /wp-admin/edit.php?post_type=user_feed3.5025.85
Tags /wp-admin/edit-tags.php?taxonomy=post_tag&post_type=user_feed3.3923.93
RSS Aggregator /wp-admin/options-general.php?page=simple-rss-aggregator3.3825.18

Server storage [IO: ▲0.02MB] [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: 9 new files
Database: no new tables, no new options

Browser metrics Passed 4 tests

A check of browser resources used by Simple RSS Aggregator
There were no issues detected in relation to browser resource usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /3,844 ▲9016.26 ▲0.656.01 ▼2.482.78 ▼0.64
Dashboard /wp-admin2,939 ▲816.17 ▼0.00114.63 ▼24.08155.20 ▼5.72
Posts /wp-admin/edit.php2,733 ▲423.24 ▼0.0062.66 ▼1.54137.36 ▼5.67
Add New Post /wp-admin/post-new.php1,690 ▼015.84 ▼3.15458.31 ▲60.35154.24 ▼2.35
Media Library /wp-admin/upload.php1,746 ▲455.52 ▲0.05136.13 ▲1.84181.53 ▼7.52
Add New /wp-admin/post-new.php?post_type=user_feed2,3465.7295.29130.46
User Feeds /wp-admin/edit.php?post_type=user_feed1,3873.1760.88112.09
Tags /wp-admin/edit-tags.php?taxonomy=post_tag&post_type=user_feed1,7472.7655.58115.83
RSS Aggregator /wp-admin/options-general.php?page=simple-rss-aggregator1,3052.6654.12115.31

Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests

🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Uninstall script ran successfully

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though no errors were found, this is by no means an exhaustive test

SRP 50% from 2 tests

🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Please fix the following items
  • 6× PHP files trigger server errors when accessed directly:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function get_option() in wp-content/plugins/simple-rss-aggregator/add-userfields.php:3
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/simple-rss-aggregator/filters.php:3
    • > PHP Fatal error
      Uncaught Error: Call to undefined function __() in wp-content/plugins/simple-rss-aggregator/admin-template.php:8
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/simple-rss-aggregator/admin.php:3
    • > PHP Fatal error
      Uncaught Error: Call to undefined function get_option() in wp-content/plugins/simple-rss-aggregator/add-userfields.php:3
    • > PHP Fatal error
      Uncaught Error: Call to undefined function register_activation_hook() in wp-content/plugins/simple-rss-aggregator/cron-jobs.php:3

User-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine, but this is not an exhaustive test

Optimizations

Plugin configuration 97% from 29 tests

readme.txt 94% from 16 tests

The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
Please fix the following attributes:
  • Tags: There are too many tags (21 tag instead of maximum 10)
You can look at the official readme.txt

simple-rss-aggregator/simple-rss-aggregator.php Passed 13 tests

The main PHP script in "Simple RSS Aggregator" version 1.0.1 is automatically included on every request by WordPress
66 characters long description:
Imports and aggregates RSS Feeds using each user as feed provider.

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
Success! There were no dangerous files found in this plugin424 lines of code in 8 files:
LanguageFilesBlank linesComment linesLines of code
PHP815181424

PHP code Passed 2 tests

Cyclomatic complexity and code structure are the fingerprint of this plugin
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity
Average complexity per logical line of code0.43
Average class complexity0.00
▷ Minimum class complexity0.00
▷ Maximum class complexity0.00
Average method complexity0.00
▷ Minimum method complexity0.00
▷ Maximum method complexity0.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes0
▷ Abstract classes00.00%
▷ Concrete classes00.00%
▷ Final classes00.00%
Methods0
▷ Static methods00.00%
▷ Public methods00.00%
▷ Protected methods00.00%
▷ Private methods00.00%
Functions24
▷ Named functions24100.00%
▷ Anonymous functions00.00%
Constants0
▷ Global constants00.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

Often times overlooked, PNG files can occupy unnecessary space in your plugin
There were not PNG files found in your plugin