84% author-rss-feed

Code Review | Author RSS Feed

WordPress plugin Author RSS Feed scored84%from 54 tests.

About plugin

  • Plugin page: author-rss-feed
  • Plugin version: 1.0.3
  • PHP version: 7.4.16
  • WordPress compatibility: 3.5.0-4.2
  • WordPress version: 6.3.1
  • First release: May 8, 2015
  • Latest release: Oct 9, 2015
  • Number of updates: 5
  • Update frequency: every 30.8 days
  • Top authors: danielpataki (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active /1,657 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed successfully, without throwing any errors or notices

Server metrics [RAM: ▲0.04MB] [CPU: ▼9.36ms] Passed 4 tests

Server-side resources used by Author RSS Feed
This plugin does not affect your website's performance
PageMemory (MB)CPU Time (ms)
Home /3.50 ▲0.0433.02 ▼6.94
Dashboard /wp-admin3.35 ▲0.0449.08 ▲1.59
Posts /wp-admin/edit.php3.40 ▲0.0451.38 ▼1.04
Add New Post /wp-admin/post-new.php5.93 ▲0.0477.63 ▼26.64
Media Library /wp-admin/upload.php3.27 ▲0.0432.00 ▼2.80

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

Input-output and database impact of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 10 new files
Database: no new tables, 7 new options
New WordPress options
widget_recent-posts
can_compress_scripts
widget_author-rss-feed
widget_recent-comments
widget_theysaidso_widget
db_upgraded
theysaidso_admin_options

Browser metrics Passed 4 tests

This is an overview of browser requirements for Author RSS Feed
This plugin renders optimally with no browser resource issues detected
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,800 ▲5413.26 ▼1.301.60 ▼0.1437.53 ▼3.62
Dashboard /wp-admin2,206 ▲184.85 ▼0.16113.49 ▲8.1043.96 ▲0.22
Posts /wp-admin/edit.php2,089 ▼31.98 ▼0.0239.50 ▼1.5335.08 ▼0.07
Add New Post /wp-admin/post-new.php1,538 ▲2423.07 ▲5.56635.43 ▼32.5145.90 ▼8.52
Media Library /wp-admin/upload.php1,385 ▼34.22 ▲0.11101.06 ▼11.4543.67 ▼3.81

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

🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
The following items require your attention
  • This plugin does not fully uninstall, leaving 7 options in the database
    • can_compress_scripts
    • widget_recent-comments
    • widget_theysaidso_widget
    • theysaidso_admin_options
    • widget_author-rss-feed
    • db_upgraded
    • widget_recent-posts

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check for server-side errors
Everything seems fine, however this is by no means 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
Almost there! Just fix the following items
  • 2× PHP files trigger server errors when accessed directly:
    • > PHP Fatal error
      Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/author-rss-feed/class-author-rss-feed-widget.php:23
    • > PHP Fatal error
      Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/author-rss-feed/class-author-rss-feed-widget.php:23

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 issues were found

Optimizations

Plugin configuration Passed 29 tests

readme.txt Passed 16 tests

The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
4 plugin tags: widget, rss, authors, feed

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

"Author RSS Feed" version 1.0.3's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
98 characters long description:
A widget which lets you show different RSS feeds for your authors on their author pages and posts.

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
No dangerous file extensions were detected191 lines of code in 5 files:
LanguageFilesBlank linesComment linesLines of code
PHP255110131
PO File1121249
JavaScript1306
CSS1005

PHP code Passed 2 tests

This plugin's cyclomatic complexity and code structure detailed below
This plugin has no cyclomatic complexity issues
Cyclomatic complexity
Average complexity per logical line of code0.28
Average class complexity20.00
▷ Minimum class complexity20.00
▷ Maximum class complexity20.00
Average method complexity4.80
▷ Minimum method complexity1.00
▷ Maximum method complexity8.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%
Functions3
▷ Named functions3100.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
There were not PNG files found in your plugin