83% 1337-rss-feed-made-for-sharing

Code Review | 1337-RSS-Feed

WordPress plugin 1337-RSS-Feed scored 83% from 54 tests.

About plugin

  • Plugin page: 1337-rss-feed-mad...
  • Plugin version: 0.5.2
  • PHP version: 7.4.16
  • WordPress compatibility: 3.4-5.8.2
  • WordPress version: 5.9.2
  • First release: Aug 7, 2017
  • Latest release: Dec 16, 2021
  • Number of updates: 52
  • Update frequency: every 30.6 days
  • Top authors: codelyfe (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active / 1,914 total downloads


Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | The install procedure must perform silently
Install script ran successfully

Server metrics [RAM: ▲0.12MB] [CPU: ▼290.71ms] Passed 4 tests

An overview of server-side resources used by 1337-RSS-Feed
This plugin does not affect your website's performance
PageMemory (MB)CPU Time (ms)
Home /3.66 ▲0.1557.60 ▲7.53
Dashboard /wp-admin3.55 ▲0.1432.61 ▼0.88
Posts /wp-admin/edit.php3.78 ▲0.1434.92 ▼2.05
Add New Post /wp-admin/post-new.php7.02 ▲0.0591.92 ▼1,159.84
Media Library /wp-admin/upload.php3.43 ▲0.1425.18 ▼0.07

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

Filesystem and database footprint
This plugin installed successfully
Filesystem: 12 new files
Database: no new tables, 1 new option
New WordPress options

Browser metrics Passed 4 tests

Checking browser requirements for 1337-RSS-Feed
This plugin renders optimally with no browser resource issues detected
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /3,763 ▲815.90 ▲0.236.66 ▲0.692.18 ▲0.06
Dashboard /wp-admin2,895 ▲446.05 ▼0.14114.86 ▼17.09156.10 ▼0.62
Posts /wp-admin/edit.php2,688 ▼03.23 ▼0.0061.93 ▼1.78140.75 ▼3.30
Add New Post /wp-admin/post-new.php1,758 ▲4722.08 ▲1.36417.45 ▼19.70156.95 ▼4.06
Media Library /wp-admin/upload.php1,698 ▼05.54 ▲0.01134.86 ▼12.48186.89 ▼2.24

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

🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
You still need to fix the following
  • This plugin did not uninstall successfully, leaving 1 option in the database
    • widget_eliterssfeed_widget

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Even though everything seems fine, this is not 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 take a closer look at the following
  • 1× PHP files trigger server-side errors or warnings when accessed directly:
    • > PHP Fatal error
      Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/1337-rss-feed-made-for-sharing/1337RSSFeed.php:44

User-side errors Passed 1 test

🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine, but this is not an exhaustive test


Plugin configuration 86% from 29 tests

readme.txt 94% from 16 tests

Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
These attributes need to be fixed: Please take inspiration from this readme.txt

1337-rss-feed-made-for-sharing/1337RSSFeed.php 77% from 13 tests

The main PHP file in "1337-RSS-Feed" ver. 0.5.2 adds more information about the plugin and also serves as the entry point for this plugin
The following require your attention:
  • Main file name: Name the main plugin file the same as the plugin slug ("1337-rss-feed-made-for-sharing.php" instead of "1337RSSFeed.php")
  • Description: Please keep the plugin description shorter than 140 characters (currently 232 characters long)
  • Text Domain: The text domain name must use dashes instead of underscores, and it must be lowercase

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
There were no executable files found in this plugin617 lines of code in 2 files:
LanguageFilesBlank linesComment linesLines of code

PHP code Passed 2 tests

Analyzing logical lines of code, cyclomatic complexity, and other code metrics
This plugin has no cyclomatic complexity issues
Cyclomatic complexity
Average complexity per logical line of code0.04
Average class complexity18.00
▷ Minimum class complexity18.00
▷ Maximum class complexity18.00
Average method complexity4.40
▷ Minimum method complexity1.00
▷ Maximum method complexity13.00
Code structure
▷ Abstract classes00.00%
▷ Concrete classes1100.00%
▷ Final classes00.00%
▷ Static methods00.00%
▷ Public methods5100.00%
▷ Protected methods00.00%
▷ Private methods00.00%
▷ Named functions00.00%
▷ Anonymous functions1100.00%
▷ Global constants00.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
9 PNG files occupy 0.02MB with 0.01MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant
FileSize - originalSize - compressedSavings
icons/Facebook.png0.74KB0.34KB▼ 53.63%
icons/bTrello.png3.53KB1.62KB▼ 54.07%
icons/bLinkedin.png0.91KB0.49KB▼ 46.23%
icons/Linkedin.png1.00KB0.49KB▼ 51.08%