10% categorized-rss-feed

Code Review | Categorized Rss Feed

WordPress plugin Categorized Rss Feed scored10%from 54 tests.

About plugin

  • Plugin page: categorized-rss-feed
  • Plugin version: 1.0.3
  • PHP version: 7.4.16
  • WordPress compatibility: 4.0-4.6.1
  • WordPress version: 6.3.1
  • First release: Aug 16, 2015
  • Latest release: Oct 8, 2016
  • Number of updates: 8
  • Update frequency: every 95.9 days
  • Top authors: boomil (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active /1,271 total downloads

Benchmarks

Plugin footprint 40% from 16 tests

Installer 0% from 1 test

🔺 Critical test (weight: 50) | The install procedure must perform silently
Please fix the following installer errors
  • Install procedure validation failed for this plugin
    • > Deprecated in wp-content/plugins/categorized-rss-feed/categorized-rss-feed.php+11
    Methods with the same name as their class will not be constructors in a future version of PHP; MyCategorizedRssFeedWidget has a deprecated constructor

Server metrics [RAM: ▼1.92MB] [CPU: ▼58.71ms] Passed 4 tests

Analyzing server-side resources used by Categorized Rss Feed
This plugin does not affect your website's performance
PageMemory (MB)CPU Time (ms)
Home /2.07 ▼1.405.57 ▼36.59
Dashboard /wp-admin2.09 ▼1.227.75 ▼49.54
Posts /wp-admin/edit.php2.09 ▼1.277.56 ▼46.16
Add New Post /wp-admin/post-new.php2.09 ▼3.805.43 ▼102.54
Media Library /wp-admin/upload.php2.09 ▼1.145.57 ▼29.89

Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] 67% from 3 tests

A short overview of filesystem and database impact
Please try to fix the following items
  • You have illegally modified 1 file (4.00KB) outside of "wp-content/plugins/categorized-rss-feed/" and "wp-content/uploads/"
    • (new file) wp-content/mgd_mirror/mgd_maximinodotpy-gitdown-test-repository
Filesystem: 4 new files
Database: no new tables, 7 new options
New WordPress options
widget_recent-comments
widget_theysaidso_widget
theysaidso_admin_options
db_upgraded
widget_mycategorizedrssfeedwidget
widget_recent-posts
can_compress_scripts

Browser metrics Passed 4 tests

Checking browser requirements for Categorized Rss Feed
Minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,815 ▲2914.74 ▲0.161.85 ▼0.0143.42 ▼1.03
Dashboard /wp-admin2,221 ▲184.88 ▼0.96120.78 ▲11.5842.86 ▼1.78
Posts /wp-admin/edit.php2,100 ▼02.05 ▲0.0235.67 ▼4.0433.93 ▼3.60
Add New Post /wp-admin/post-new.php1,545 ▼023.44 ▲0.30601.59 ▼82.3947.22 ▼2.70
Media Library /wp-admin/upload.php1,403 ▲94.20 ▼0.0497.16 ▼12.9643.17 ▼2.33

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

🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
The following items require your attention
  • This plugin did not uninstall without warnings or errors
    • > Deprecated in wp-content/plugins/categorized-rss-feed/categorized-rss-feed.php+11
    Methods with the same name as their class will not be constructors in a future version of PHP; MyCategorizedRssFeedWidget has a deprecated constructor
  • Zombie WordPress options were found after uninstall: 7 options
    • widget_mycategorizedrssfeedwidget
    • widget_recent-comments
    • db_upgraded
    • theysaidso_admin_options
    • widget_theysaidso_widget
    • widget_recent-posts
    • can_compress_scripts

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 applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Almost there! Just fix the following items
  • 1× PHP files trigger errors when accessed directly with GET requests:
    • > PHP Fatal error
      Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/categorized-rss-feed/categorized-rss-feed.php:11

User-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no browser errors were triggered
There were no browser issues found

Optimizations

Plugin configuration 93% from 29 tests

readme.txt 88% from 16 tests

The readme.txt file uses markdown syntax to describe your plugin to the world
Attributes that need to be fixed:
  • Screenshots: Screenshot #1 (Displayed Rss feed link button.) image required
  • Donate link: Invalid url: ""
The official readme.txt might help

categorized-rss-feed/categorized-rss-feed.php Passed 13 tests

The main PHP file in "Categorized Rss Feed" ver. 1.0.3 adds more information about the plugin and also serves as the entry point for this plugin
32 characters long description:
Widget for categorized RSS feed.

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
No dangerous file extensions were detected53 lines of code in 1 file:
LanguageFilesBlank linesComment linesLines of code
PHP14953

PHP code Passed 2 tests

Analyzing logical lines of code, cyclomatic complexity, and other code metrics
All good! No complexity issues found
Cyclomatic complexity
Average complexity per logical line of code0.20
Average class complexity6.00
▷ Minimum class complexity6.00
▷ Maximum class complexity6.00
Average method complexity2.25
▷ Minimum method complexity1.00
▷ Maximum method complexity6.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes1
▷ Abstract classes00.00%
▷ Concrete classes1100.00%
▷ Final classes00.00%
Methods4
▷ Static methods00.00%
▷ Public methods4100.00%
▷ Protected methods00.00%
▷ Private methods00.00%
Functions1
▷ Named functions1100.00%
▷ Anonymous functions00.00%
Constants0
▷ 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
2 PNG files occupy 0.01MB with 0.00MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant
FileSize - originalSize - compressedSavings
rss.png1.29KB1.40KB0.00%
screenshot-1.png9.10KB1.87KB▼ 79.43%