94% embed-rss

Code Review | Embed RSS

WordPress plugin Embed RSS scored 94% from 53 tests.

About plugin

  • Plugin page: embed-rss
  • Plugin version: 3.1
  • PHP version: 7.4.16
  • WordPress compatibility: 3.3-3.8
  • WordPress version: 5.8.1
  • First release: Nov 19, 2009
  • Latest release: Jan 9, 2014
  • Number of updates: 30
  • Update frequency: every 50.4 days
  • Top authors: DeannaS (56.67%)MadtownLems (46.67%)

Code review

53 tests

User reviews

3 reviews

Install metrics

900+ active / 26,419 total downloads


Plugin footprint Passed 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The plugin installed successfully, without throwing any errors or notices

Server metrics [RAM: ▲0.03MB] [CPU: ▼266.09ms] Passed 4 tests

Analyzing server-side resources used by Embed RSS
This plugin does not affect your website's performance
PageMemory (MB)CPU Time (ms)
Home /2.86 ▲0.1442.77 ▲20.73
Dashboard /wp-admin3.09 ▲0.0440.45 ▼7.63
Posts /wp-admin/edit.php3.14 ▲0.0437.49 ▼6.20
Add New Post /wp-admin/post-new.php5.45 ▲0.0290.79 ▼1,046.12
Media Library /wp-admin/upload.php3.03 ▲0.0329.00 ▼4.41

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

A short overview of filesystem and database impact
The plugin installed successfully
Filesystem: 9 new files
Database: no new tables, no new options

Browser metrics Passed 4 tests

An overview of browser requirements for Embed RSS
Normal browser usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /3,655 ▲4916.02 ▲0.357.78 ▼1.7350.34 ▼5.54
Dashboard /wp-admin2,936 ▲835.94 ▲0.08133.55 ▼26.60100.81 ▼9.06
Posts /wp-admin/edit.php2,712 ▲62.68 ▼0.0263.90 ▼5.8692.96 ▼0.53
Add New Post /wp-admin/post-new.php1,657 ▲17619.07 ▲0.59379.55 ▲8.84105.46 ▼20.36
Media Library /wp-admin/upload.php1,776 ▲44.98 ▼0.01158.81 ▼4.48128.38 ▲20.15

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

🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
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
Everything seems fine, however this is by no means an exhaustive test

SRP 50% 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
Please fix the following
  • 3× GET requests to PHP files trigger server-side errors or Error 500 responses:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/embed-rss/sample-hooks.php:15
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/embed-rss/cets_EmbedRSS.php:29
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/embed-rss/ajax.php:8

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)
There were no browser issues found


Plugin configuration 93% 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
These attributes need your attention:
  • Screenshots: Add an image for screenshot #1 (User View of thickbox window for entering RSS link via media row button)
You can take inspiration from this readme.txt

embed-rss/cets_EmbedRSS.php 92% from 13 tests

The main file in "Embed RSS" v. 3.1 serves as a complement to information provided in readme.txt and as the entry point to the plugin
The following require your attention:
  • Main file name: The principal plugin file should be the same as the plugin slug ("embed-rss.php" instead of "cets_EmbedRSS.php")

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
No dangerous file extensions were detected308 lines of code in 6 files:
LanguageFilesBlank linesComment linesLines of code

PHP code Passed 2 tests

Cyclomatic complexity and code structure are the fingerprint of this plugin
This plugin has no cyclomatic complexity issues
Cyclomatic complexity
Average complexity per logical line of code0.46
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 functions10100.00%
▷ Anonymous functions00.00%
▷ Global constants00.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 1 test

Image compression Passed 1 test

It is recommended to compress PNG files in your plugin to minimize bandwidth usage
There were not PNG files found in your plugin