10% rss-blogroll

Code Review | RSS Blogroll

WordPress plugin RSS Blogroll scored10%from 54 tests.

About plugin

  • Plugin page: rss-blogroll
  • Plugin version: 0.4
  • PHP version: 7.4.16
  • WordPress compatibility: 2.8-4.2.3
  • WordPress version: 6.3.1
  • First release: Aug 21, 2009
  • Latest release: Aug 2, 2015
  • Number of updates: 9
  • Update frequency: every 243.1 days
  • Top authors: pantsonhead (100%)

Code review

54 tests

User reviews

2 reviews

Install metrics

300+ active /13,092 total downloads

Benchmarks

Plugin footprint 40% from 16 tests

Installer 0% from 1 test

🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
You still need to fix the following installer errors
  • This plugin did not install gracefully
    • > Deprecated in wp-content/plugins/rss-blogroll/rss-blogroll.php+30
    Methods with the same name as their class will not be constructors in a future version of PHP; RSSBlogroll has a deprecated constructor

Server metrics [RAM: ▼1.84MB] [CPU: ▼55.71ms] Passed 4 tests

Server-side resources used by RSS Blogroll
Server-side resource usage in normal parameters
PageMemory (MB)CPU Time (ms)
Home /2.16 ▼1.304.69 ▼41.05
Dashboard /wp-admin2.18 ▼1.176.29 ▼53.18
Posts /wp-admin/edit.php2.18 ▼1.186.29 ▼41.03
Add New Post /wp-admin/post-new.php2.18 ▼3.716.90 ▼87.56
Media Library /wp-admin/upload.php2.18 ▼1.055.64 ▼29.94

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

Filesystem and database footprint
There were no storage issued detected upon installing this plugin
Filesystem: 4 new files
Database: no new tables, 7 new options
New WordPress options
widget_recent-posts
theysaidso_admin_options
db_upgraded
widget_recent-comments
widget_theysaidso_widget
can_compress_scripts
widget_rssblogroll

Browser metrics Passed 4 tests

RSS Blogroll: an overview of browser usage
Minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,800 ▲5413.27 ▼1.031.61 ▼0.3737.22 ▼11.95
Dashboard /wp-admin2,206 ▲155.85 ▲0.95106.77 ▼15.9737.84 ▼8.24
Posts /wp-admin/edit.php2,092 ▲32.06 ▲0.0638.85 ▲2.8037.64 ▲3.95
Add New Post /wp-admin/post-new.php1,535 ▲2123.34 ▲5.53620.57 ▼72.7353.75 ▼10.05
Media Library /wp-admin/upload.php1,391 ▲64.22 ▲0.0197.26 ▼2.3644.11 ▼3.78

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

🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Please fix the following items
  • This plugin cannot be uninstalled
    • > Deprecated in wp-content/plugins/rss-blogroll/rss-blogroll.php+30
    Methods with the same name as their class will not be constructors in a future version of PHP; RSSBlogroll has a deprecated constructor
  • This plugin does not fully uninstall, leaving 7 options in the database
    • can_compress_scripts
    • widget_recent-posts
    • widget_recent-comments
    • db_upgraded
    • theysaidso_admin_options
    • widget_theysaidso_widget
    • widget_rssblogroll

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
Good news, no errors were detected

SRP 50% from 2 tests

🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Please fix 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/rss-blogroll/rss-blogroll.php:30

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)
No browser errors were detected

Optimizations

Plugin configuration 97% 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
Attributes that require attention:
  • Screenshots: These screenshots require images: #1 (Example implementation), #2 (Widget options)
You can look at the official readme.txt

rss-blogroll/rss-blogroll.php Passed 13 tests

The primary PHP file in "RSS Blogroll" version 0.4 is used by WordPress to initiate all plugin functionality
74 characters long description:
Sidebar widget that links to latest articles from your favorite RSS feeds.

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 plugin222 lines of code in 1 file:
LanguageFilesBlank linesComment linesLines of code
PHP15027222

PHP code Passed 2 tests

An overview of cyclomatic complexity and code structure
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity
Average complexity per logical line of code0.34
Average class complexity36.00
▷ Minimum class complexity36.00
▷ Maximum class complexity36.00
Average method complexity8.00
▷ Minimum method complexity1.00
▷ Maximum method complexity28.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%
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

All PNG images should be compressed to minimize bandwidth usage for end users
2 PNG files occupy 0.14MB with 0.09MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant
FileSize - originalSize - compressedSavings
screenshot-1.png97.94KB37.89KB▼ 61.31%
screenshot-2.png47.28KB16.66KB▼ 64.77%