10% multi-rss-reader-widet

Code Review | Multi RSS Reader

WordPress plugin Multi RSS Reader scored 10% from 54 tests.

About plugin

  • Plugin page: multi-rss-reader-...
  • Plugin version: 0.8.2
  • PHP version: 7.4.16
  • WordPress compatibility: 3.4-3.6.0
  • WordPress version: 6.3.1
  • First release: Aug 17, 2013
  • Latest release: Sep 28, 2014
  • Number of updates: 19
  • Update frequency: every 21.4 days
  • Top authors: toshikazuito (100%)

Code review

54 tests

User reviews

1 review

Install metrics

100+ active / 8,888 total downloads

Benchmarks

Plugin footprint 40% from 16 tests

Installer 0% from 1 test

🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
You still need to fix the following installer errors
  • Install procedure validation failed for this plugin
    • > Deprecated in wp-content/plugins/multi-rss-reader-widet/Multi-RSS-Reader.php+814
    Array and string offset access syntax with curly braces is deprecated

Server metrics [RAM: ▼1.71MB] [CPU: ▼48.94ms] Passed 4 tests

Analyzing server-side resources used by Multi RSS Reader
No issues were detected with server-side resource usage
PageMemory (MB)CPU Time (ms)
Home /2.28 ▼1.188.99 ▼30.36
Dashboard /wp-admin2.29 ▼1.0110.53 ▼38.83
Posts /wp-admin/edit.php2.29 ▼1.069.97 ▼35.43
Add New Post /wp-admin/post-new.php2.29 ▼3.5911.70 ▼91.12
Media Library /wp-admin/upload.php2.29 ▼0.9310.70 ▼22.43
Multi RSS Reader /wp-admin/options-general.php?page=multi_rss_reader2.2910.36

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

Analyzing filesystem and database footprints of this plugin
This plugin installed successfully
Filesystem: 12 new files
Database: no new tables, 7 new options
New WordPress options
widget_recent-posts
theysaidso_admin_options
widget_recent-comments
widget_theysaidso_widget
db_upgraded
widget_multi_rss_reader
can_compress_scripts

Browser metrics Passed 4 tests

An overview of browser requirements for Multi RSS Reader
Minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,804 ▲6913.19 ▼1.201.54 ▼0.2340.45 ▼1.20
Dashboard /wp-admin2,210 ▲224.87 ▼1.01110.19 ▲2.2938.73 ▼2.73
Posts /wp-admin/edit.php2,096 ▲42.12 ▲0.0840.09 ▼0.2834.39 ▼0.68
Add New Post /wp-admin/post-new.php1,536 ▲1623.29 ▲0.10638.52 ▼35.2666.16 ▲15.57
Media Library /wp-admin/upload.php1,392 ▲14.20 ▲0.0197.14 ▼2.1443.43 ▲0.57
Multi RSS Reader /wp-admin/options-general.php?page=multi_rss_reader8812.0724.9640.90

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

🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
You still need to fix the following
  • This plugin cannot be uninstalled
    • > User deprecated in wp-includes/functions.php+5546
    The called constructor method for WP_Widget class in multi_rss_reader is deprecated since version 4.3.0! Use __construct() instead.
  • Zombie WordPress options detected upon uninstall: 7 options
    • can_compress_scripts
    • widget_multi_rss_reader
    • theysaidso_admin_options
    • widget_recent-comments
    • db_upgraded
    • widget_recent-posts
    • widget_theysaidso_widget

Smoke tests 50% from 4 tests

Server-side errors 0% from 1 test

🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Almost there, just fix the following server-side errors
    • > GET request to /wp-admin/options-general.php?page=multi_rss_reader
    • > User deprecated in wp-includes/functions.php+5546
    The called constructor method for WP_Widget class in multi_rss_reader is deprecated since version 4.3.0! Use __construct() instead.
    • > GET request to /wp-admin/options-general.php?page=multi_rss_reader
    • > User notice in wp-includes/functions.php+5905
    Function register_uninstall_hook was called incorrectly. Only a static class method or function can be used in an uninstall hook. Please see Debugging in WordPress for more information. (This message was added in version 3.1.0.)
    • > GET request to /wp-admin/options-general.php?page=multi_rss_reader
    • > User deprecated in wp-includes/functions.php+5463
    Function screen_icon is deprecated since version 3.8.0 with no alternative available.
    • > GET request to /wp-admin/options-general.php?page=multi_rss_reader
    • > User deprecated in wp-includes/functions.php+5463
    Function get_screen_icon is deprecated since version 3.8.0 with no alternative available.
    • > GET request to /wp-admin/options-general.php?page=multi_rss_reader
    • > Notice in wp-content/plugins/multi-rss-reader-widet/Multi-RSS-Reader.php+680
    Undefined index: layouttype

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
Please take a closer look at the following
  • 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/multi-rss-reader-widet/Multi-RSS-Reader.php:38

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

Optimizations

Plugin configuration 96% from 29 tests

readme.txt Passed 16 tests

Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
3 plugin tags: widget, rss, multi

multi-rss-reader-widet/Multi-RSS-Reader.php 92% from 13 tests

The main PHP script in "Multi RSS Reader" version 0.8.2 is automatically included on every request by WordPress
Please make the necessary changes and fix the following:
  • Main file name: Name the main plugin file the same as the plugin slug ("multi-rss-reader-widet.php" instead of "Multi-RSS-Reader.php")

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
There were no executable files found in this plugin707 lines of code in 2 files:
LanguageFilesBlank linesComment linesLines of code
PHP1131116636
PO File1275471

PHP code Passed 2 tests

An short overview of logical lines of code, cyclomatic complexity, and other code metrics
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity
Average complexity per logical line of code0.28
Average class complexity93.00
▷ Minimum class complexity93.00
▷ Maximum class complexity93.00
Average method complexity5.38
▷ Minimum method complexity1.00
▷ Maximum method complexity36.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes1
▷ Abstract classes00.00%
▷ Concrete classes1100.00%
▷ Final classes00.00%
Methods21
▷ Static methods00.00%
▷ Public methods21100.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

It is recommended to compress PNG files in your plugin to minimize bandwidth usage
6 PNG files occupy 0.38MB with 0.15MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant
FileSize - originalSize - compressedSavings
image/title_line.png0.22KB0.19KB▼ 14.35%
image/magazinelayout.png0.36KB0.33KB▼ 9.51%
screenshot-3.png103.04KB42.58KB▼ 58.68%
screenshot-1.png196.46KB67.96KB▼ 65.41%
screenshot-2.png87.46KB39.11KB▼ 55.28%