83% rss-via-shortcode-on-page-post

Code Review | RSS Via Shortcode for Page & Post

WordPress plugin RSS Via Shortcode for Page & Post scored83%from 54 tests.

About plugin

  • Plugin page: rss-via-shortcode...
  • Plugin version: 1.2.b...
  • PHP version: 7.4.16
  • WordPress compatibility: 2.8-4.1
  • WordPress version: 6.3.1
  • First release: Sep 10, 2014
  • Latest release: Mar 11, 2015
  • Number of updates: 11
  • Update frequency: every 16.6 days
  • Top authors: susantabeura (100%)

Code review

54 tests

User reviews

10 reviews

Install metrics

500+ active /13,393 total downloads


Plugin footprint 83% 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: ▼0.01MB] [CPU: ▼7.01ms] Passed 4 tests

Server-side resources used by RSS Via Shortcode for Page & Post
Server-side resource usage in normal parameters
PageMemory (MB)CPU Time (ms)
Home /3.46 ▲0.0037.00 ▼1.72
Dashboard /wp-admin3.31 ▼0.0459.95 ▼1.97
Posts /wp-admin/edit.php3.36 ▲0.0041.15 ▼7.04
Add New Post /wp-admin/post-new.php5.89 ▲0.0078.45 ▼17.29
Media Library /wp-admin/upload.php3.23 ▲0.0035.57 ▲2.67

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

How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 2 new files
Database: no new tables, 6 new options
New WordPress options

Browser metrics Passed 4 tests

This is an overview of browser requirements for RSS Via Shortcode for Page & Post
This plugin has a minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,800 ▲5413.60 ▼0.781.65 ▼0.2242.31 ▼1.62
Dashboard /wp-admin2,206 ▲184.85 ▼0.03110.72 ▼4.1644.26 ▼0.72
Posts /wp-admin/edit.php2,086 ▼32.05 ▲0.0536.00 ▼0.7134.19 ▲0.98
Add New Post /wp-admin/post-new.php1,534 ▲1523.21 ▼0.08677.70 ▲30.1855.87 ▲2.69
Media Library /wp-admin/upload.php1,388 ▲34.23 ▲0.00103.06 ▲4.1944.30 ▲3.20

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

🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
The following items require your attention
  • Zombie WordPress options detected upon uninstall: 6 options
    • widget_recent-posts
    • theysaidso_admin_options
    • widget_theysaidso_widget
    • db_upgraded
    • can_compress_scripts
    • widget_recent-comments

Smoke tests 75% 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 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
Almost there! Just fix the following items
  • 1× PHP files trigger server-side errors or warnings when accessed directly:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/rss-via-shortcode-on-page-post/rss-via-shortcode.php:63

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 errors were detected


Plugin configuration 90% from 29 tests

readme.txt 94% from 16 tests

The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
Please fix the following attributes:
  • Tags: Please reduce the number of tags, currently 23 tag instead of maximum 10
The official readme.txt might help

rss-via-shortcode-on-page-post/rss-via-shortcode.php 85% from 13 tests

The principal PHP file in "RSS Via Shortcode for Page & Post" v. 1.2.b... is loaded by WordPress automatically on each request
Please take the time to fix the following:
  • Main file name: It is recommended to name the main PHP file as the plugin slug ("rss-via-shortcode-on-page-post.php" instead of "rss-via-shortcode.php")
  • Version: Use only periods and digits for the version number (ex. "1.0.3" instead of "1.2.b...")

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
No dangerous file extensions were detected79 lines of code in 1 file:
LanguageFilesBlank linesComment linesLines of code

PHP code Passed 2 tests

A brief analysis of cyclomatic complexity and code structure for this plugin
Everything seems fine, there were no complexity issues found
Cyclomatic complexity
Average complexity per logical line of code0.23
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
▷ Abstract classes00.00%
▷ Concrete classes00.00%
▷ Final classes00.00%
▷ Static methods00.00%
▷ Public methods00.00%
▷ Protected methods00.00%
▷ Private methods00.00%
▷ Named functions3100.00%
▷ Anonymous functions00.00%
▷ 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 are no PNG files in this plugin