84% rss-feed-pro

Code Review | RSS Feed Pro

WordPress plugin RSS Feed Pro scored84%from 54 tests.

About plugin

  • Plugin page: rss-feed-pro
  • Plugin version: 1.1.4
  • PHP compatiblity: 7.4.33+
  • PHP version: 7.4.16
  • WordPress compatibility: 4.6-6.4.1
  • WordPress version: 6.3.1
  • First release: Sep 23, 2020
  • Latest release: Dec 2, 2023
  • Number of updates: 15
  • Update frequency: every 77.7 days
  • Top authors: artiosmedia (100%)

Code review

54 tests

User reviews

1 review

Install metrics

300+ active /6,407 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
This plugin's installer ran successfully

Server metrics [RAM: ▲0.49MB] [CPU: ▲1.13ms] Passed 4 tests

Analyzing server-side resources used by RSS Feed Pro
This plugin has minimal impact on server resources
PageMemory (MB)CPU Time (ms)
Home /3.95 ▲0.4940.54 ▼1.73
Dashboard /wp-admin3.78 ▲0.4849.88 ▲0.15
Posts /wp-admin/edit.php3.90 ▲0.5451.21 ▲0.46
Add New Post /wp-admin/post-new.php6.39 ▲0.50101.06 ▲8.32
Media Library /wp-admin/upload.php3.71 ▲0.4839.29 ▲5.65
Add New /wp-admin/post-new.php?post_type=rssfp-shortcode3.7446.41
All RSS Archives /wp-admin/edit.php?post_type=rssfp-shortcode3.7541.23

Server storage [IO: ▲0.20MB] [DB: ▲0.00MB] Passed 3 tests

How much does this plugin use your filesystem and database?
No storage issues were detected
Filesystem: 16 new files
Database: no new tables, 9 new options
New WordPress options
can_compress_scripts
widget_recent-posts
rssfp_ask_for_rating_on
widget_rssfp_lib
widget_theysaidso_widget
theysaidso_admin_options
db_upgraded
widget_rssfeedpro
widget_recent-comments

Browser metrics Passed 4 tests

Checking browser requirements for RSS Feed Pro
Normal browser usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,941 ▲17913.71 ▼1.028.68 ▲6.9539.63 ▼3.76
Dashboard /wp-admin2,229 ▲525.62 ▼0.0093.25 ▼6.3943.82 ▲0.21
Posts /wp-admin/edit.php2,131 ▲282.05 ▲0.0940.82 ▲2.9935.97 ▲1.29
Add New Post /wp-admin/post-new.php1,556 ▲2023.39 ▲0.22594.64 ▼55.3156.41 ▲10.28
Media Library /wp-admin/upload.php1,434 ▲404.23 ▲0.0397.42 ▼4.1541.80 ▼1.77
Add New /wp-admin/post-new.php?post_type=rssfp-shortcode1,5932.5653.8456.52
All RSS Archives /wp-admin/edit.php?post_type=rssfp-shortcode1,1121.9133.5129.97

Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests

🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
You still need to fix the following
  • This plugin did not uninstall successfully, leaving 9 options in the database
    • widget_recent-posts
    • db_upgraded
    • widget_theysaidso_widget
    • widget_recent-comments
    • theysaidso_admin_options
    • widget_rssfp_lib
    • can_compress_scripts
    • widget_rssfeedpro
    • rssfp_ask_for_rating_on

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A smoke test targeting server-side errors
The smoke test was a success, however most plugin functionality was not tested

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
Please take a closer look at the following
  • 2× PHP files trigger server errors when accessed directly:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/rss-feed-pro/inc/cpt.php:3
    • > PHP Fatal error
      Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/rss-feed-pro/inc/widgets.php:4

User-side errors Passed 1 test

🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
There were no browser issues found

Optimizations

Plugin configuration 96% from 29 tests

readme.txt Passed 16 tests

It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
8 plugin tags: rss, mp3, itunes, castos, podcast...

rss-feed-pro/rss-feed-pro.php 92% from 13 tests

Analyzing the main PHP file in "RSS Feed Pro" version 1.1.4
It is important to fix the following:
  • Description: Keep the plugin description shorter than 140 characters (currently 186 characters long)

Code Analysis Passed 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
Everything looks great! No dangerous files found in this plugin4,241 lines of code in 11 files:
LanguageFilesBlank linesComment linesLines of code
PHP42493223,187
PO File3357397802
JavaScript23128141
CSS2190111

PHP code Passed 2 tests

Analyzing cyclomatic complexity and code structure
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity
Average complexity per logical line of code0.31
Average class complexity42.00
▷ Minimum class complexity15.00
▷ Maximum class complexity64.00
Average method complexity5.92
▷ Minimum method complexity1.00
▷ Maximum method complexity41.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes3
▷ Abstract classes00.00%
▷ Concrete classes3100.00%
▷ Final classes00.00%
Methods25
▷ Static methods1040.00%
▷ Public methods25100.00%
▷ Protected methods00.00%
▷ Private methods00.00%
Functions17
▷ Named functions1694.12%
▷ Anonymous functions15.88%
Constants6
▷ Global constants6100.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

PNG files should be compressed to save space and minimize bandwidth usage
There were not PNG files found in your plugin