74% xslt

Code Review | Better RSS Feeds

WordPress plugin Better RSS Feeds scored74%from 54 tests.

About plugin

  • Plugin page: xslt
  • Plugin version: 2.0.1
  • PHP version: 7.4.16
  • WordPress compatibility: 4.0.0-5.2.2
  • WordPress version: 6.3.1
  • First release: Jul 15, 2014
  • Latest release: Sep 6, 2019
  • Number of updates: 64
  • Update frequency: every 29.3 days
  • Top authors: Waterloo Plugins (100%)

Code review

54 tests

User reviews

19 reviews

Install metrics

200+ active /39,041 total downloads

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: ▲0.15MB] [CPU: ▼8.61ms] Passed 4 tests

Analyzing server-side resources used by Better RSS Feeds
Server-side resource usage in normal parameters
PageMemory (MB)CPU Time (ms)
Home /3.58 ▲0.1229.59 ▼17.67
Dashboard /wp-admin3.46 ▲0.1652.17 ▼4.66
Posts /wp-admin/edit.php3.57 ▲0.2254.98 ▲0.24
Add New Post /wp-admin/post-new.php6.04 ▲0.1598.72 ▼12.33
Media Library /wp-admin/upload.php3.38 ▲0.1642.64 ▲4.86
Better RSS Feeds /wp-admin/options-general.php?page=better_rss_feeds3.3536.14

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

How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 4 new files
Database: no new tables, 6 new options
New WordPress options
widget_theysaidso_widget
db_upgraded
theysaidso_admin_options
can_compress_scripts
widget_recent-comments
widget_recent-posts

Browser metrics Passed 4 tests

A check of browser resources used by Better RSS Feeds
This plugin renders optimally with no browser resource issues detected
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,818 ▲5714.28 ▼0.091.83 ▲0.1042.24 ▼1.34
Dashboard /wp-admin2,199 ▲225.60 ▼0.0591.13 ▼1.2338.19 ▼3.07
Posts /wp-admin/edit.php2,118 ▲212.23 ▲0.1239.13 ▼1.9536.13 ▼1.09
Add New Post /wp-admin/post-new.php1,531 ▲523.55 ▼0.05637.92 ▼48.6650.32 ▼9.32
Media Library /wp-admin/upload.php1,417 ▲174.22 ▲0.04102.40 ▲5.7246.11 ▲2.64
Better RSS Feeds /wp-admin/options-general.php?page=better_rss_feeds1,0561.7825.3235.44

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

🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
It is recommended to fix the following
  • The plugin did not uninstall gracefully
    • > Deprecated in wp-includes/class-wp-hook.php+310
    Non-static method Better_Rss_Feeds::uninstall() should not be called statically
  • This plugin did not uninstall successfully, leaving 6 options in the database
    • can_compress_scripts
    • widget_recent-posts
    • widget_theysaidso_widget
    • db_upgraded
    • theysaidso_admin_options
    • widget_recent-comments

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A smoke test targeting server-side errors
Everything seems fine, however this is by no means an exhaustive test

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 fix the following
  • 2× GET requests to PHP files have triggered server-side errors or warnings:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/xslt/better-rss-feeds.php:36
    • > PHP Fatal error
      Uncaught Error: Call to undefined function wpsf_get_settings() in wp-content/plugins/xslt/settings/better-rss-feeds-cfg.php:3

User-side errors Passed 1 test

🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
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
Please fix the following attributes:
  • Screenshots: Add an image for screenshot #1 (Plugin settings)
You can look at the official readme.txt

xslt/better-rss-feeds.php 92% from 13 tests

The main PHP script in "Better RSS Feeds" version 2.0.1 is automatically included on every request by WordPress
Please take the time to fix the following:
  • Main file name: Name the main plugin file the same as the plugin slug ("xslt.php" instead of "better-rss-feeds.php")

Code Analysis Passed 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
There were no executable files found in this plugin689 lines of code in 3 files:
LanguageFilesBlank linesComment linesLines of code
PHP3102140689

PHP code Passed 2 tests

An overview of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity problems
Cyclomatic complexity
Average complexity per logical line of code0.50
Average class complexity57.00
▷ Minimum class complexity48.00
▷ Maximum class complexity66.00
Average method complexity4.11
▷ Minimum method complexity1.00
▷ Maximum method complexity29.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes2
▷ Abstract classes00.00%
▷ Concrete classes2100.00%
▷ Final classes00.00%
Methods36
▷ Static methods00.00%
▷ Public methods36100.00%
▷ Protected methods00.00%
▷ Private methods00.00%
Functions4
▷ Named functions4100.00%
▷ Anonymous functions00.00%
Constants0
▷ Global constants00.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

All PNG images should be compressed to minimize bandwidth usage for end users
There are no PNG files in this plugin