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

Code Review | 1337-RSS-Feed

WordPress plugin 1337-RSS-Feed scored83%from 54 tests.

About plugin

  • Plugin page: 1337-rss-feed-mad...
  • Plugin version: 0.5.8
  • PHP version: 7.4.16
  • WordPress compatibility: 3.4-6.3.2
  • WordPress version: 6.3.1
  • First release: Aug 7, 2017
  • Latest release: Nov 5, 2023
  • Number of updates: 58
  • Update frequency: every 39.3 days
  • Top authors: codelyfe (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active /2,524 total downloads

Benchmarks

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
The plugin installed gracefully, with no errors

Server metrics [RAM: ▲0.14MB] [CPU: ▼0.85ms] Passed 4 tests

Analyzing server-side resources used by 1337-RSS-Feed
No issues were detected with server-side resource usage
PageMemory (MB)CPU Time (ms)
Home /3.60 ▲0.1446.39 ▲6.60
Dashboard /wp-admin3.44 ▲0.1446.69 ▼1.86
Posts /wp-admin/edit.php3.50 ▲0.1446.82 ▼3.22
Add New Post /wp-admin/post-new.php6.03 ▲0.1487.77 ▲4.11
Media Library /wp-admin/upload.php3.37 ▲0.1434.34 ▼2.43

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

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

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 /2,798 ▲3614.74 ▲0.581.69 ▲0.0737.08 ▼8.91
Dashboard /wp-admin2,213 ▲335.71 ▲0.1091.92 ▼5.3879.87 ▲37.00
Posts /wp-admin/edit.php2,119 ▲222.02 ▲0.0744.11 ▲5.0740.59 ▲3.93
Add New Post /wp-admin/post-new.php1,697 ▲16822.40 ▼0.86741.58 ▲56.5952.32 ▼1.60
Media Library /wp-admin/upload.php1,418 ▲154.09 ▼0.11114.17 ▲14.5448.46 ▲2.15

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

🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
The following items require your attention
  • This plugin did not uninstall successfully, leaving 7 options in the database
    • widget_recent-comments
    • widget_eliterssfeed_widget
    • theysaidso_admin_options
    • widget_recent-posts
    • can_compress_scripts
    • widget_theysaidso_widget
    • db_upgraded

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check for server-side errors
The smoke test was a success, however most plugin functionality was not tested

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 items
  • 1× PHP files trigger server-side errors or warnings when accessed directly:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/1337-rss-feed-made-for-sharing/1337RSSFeed.php:40

User-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check for browser errors
There were no browser issues found

Optimizations

Plugin configuration 86% from 29 tests

readme.txt 94% from 16 tests

Often overlooked, readme.txt is one of the most important files in your plugin
Attributes that require attention: Please take inspiration from this readme.txt

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

"1337-RSS-Feed" version 0.5.8's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
The following require your attention:
  • Main file name: Please rename the main PHP file in this plugin to 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 | This is a short overview of programming languages used in this plugin, detecting executable files
There were no executable files found in this plugin640 lines of code in 2 files:
LanguageFilesBlank linesComment linesLines of code
PHP1106266515
Markdown1550125

PHP code Passed 2 tests

This is a very shot review of cyclomatic complexity and code structure
Great job! No cyclomatic complexity issues were detected in this plugin
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
Namespaces0
Interfaces0
Traits0
Classes1
▷ Abstract classes00.00%
▷ Concrete classes1100.00%
▷ Final classes00.00%
Methods5
▷ Static methods00.00%
▷ Public methods5100.00%
▷ Protected methods00.00%
▷ Private methods00.00%
Functions2
▷ Named functions150.00%
▷ Anonymous functions150.00%
Constants0
▷ Global constants00.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

It is recommended to compress PNG files in your plugin to 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/Twitter.png1.47KB0.68KB▼ 53.59%
icons/bTwitter.png1.39KB0.68KB▼ 50.84%
icons/Trello.png1.28KB1.42KB0.00%
icons/Facebook.png0.74KB0.34KB▼ 53.63%
img/logo.png4.45KB2.75KB▼ 38.08%