83% rrssb

Code Review | RRSSB

WordPress plugin RRSSB scored 83% from 54 tests.

About plugin

  • Plugin page: rrssb
  • Plugin version: 1.0.1
  • PHP version: 7.4.16
  • WordPress compatibility: 3.8-4.2
  • WordPress version: 6.3.1
  • First release: Jun 26, 2015
  • Latest release: Nov 17, 2015
  • Number of updates: 9
  • Update frequency: every 16.1 days
  • Top authors: whack47 (100%)

Code review

54 tests

User reviews

2 reviews

Install metrics

100+ active / 2,731 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
Install script ran successfully

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

Server-side resources used by RRSSB
This plugin does not affect your website's performance
PageMemory (MB)CPU Time (ms)
Home /3.51 ▲0.0542.93 ▲3.51
Dashboard /wp-admin3.35 ▲0.0551.25 ▲3.23
Posts /wp-admin/edit.php3.40 ▲0.0450.20 ▼0.51
Add New Post /wp-admin/post-new.php5.93 ▲0.0487.75 ▼2.22
Media Library /wp-admin/upload.php3.27 ▲0.0433.14 ▼4.84

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

Filesystem and database footprint
This plugin was installed successfully
Filesystem: 6 new files
Database: no new tables, 6 new options
New WordPress options
widget_theysaidso_widget
theysaidso_admin_options
widget_recent-posts
db_upgraded
widget_recent-comments
can_compress_scripts

Browser metrics Passed 4 tests

A check of browser resources used by RRSSB
This plugin renders optimally with no browser resource issues detected
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,988 ▲25313.67 ▼0.6810.87 ▲8.4641.11 ▼20.98
Dashboard /wp-admin2,203 ▲155.84 ▼0.0296.88 ▼21.7239.87 ▼1.76
Posts /wp-admin/edit.php2,092 ▼02.05 ▲0.0145.50 ▲5.8340.93 ▲3.43
Add New Post /wp-admin/post-new.php1,514 ▼017.91 ▲0.22599.66 ▼90.8048.71 ▼5.67
Media Library /wp-admin/upload.php1,388 ▼04.30 ▲0.1494.15 ▼9.3740.02 ▼6.02

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

🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Please fix the following items
  • The uninstall procedure has failed, leaving 6 options in the database
    • can_compress_scripts
    • db_upgraded
    • theysaidso_admin_options
    • widget_recent-posts
    • widget_theysaidso_widget
    • widget_recent-comments

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
The smoke test was a success, however most plugin functionality was not tested

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 server-side errors or warnings when accessed directly:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/rrssb/rrssb.php:87

User-side errors Passed 1 test

🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
There were no browser issues found

Optimizations

Plugin configuration 83% from 29 tests

readme.txt 88% from 16 tests

The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
Attributes that need to be fixed:
  • Tags: Please delete some tags, you are using 22 tag instead of maximum 10
  • Screenshots: A description for screenshot #0 is missing in rrssb/assets to your readme.txt
You can take inspiration from this readme.txt

rrssb/rrssb.php 77% from 13 tests

"RRSSB" version 1.0.1's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
The following require your attention:
  • Text Domain: The text domain name should consist of only dashes and lowercase characters
  • Domain Path: You should use only dashes and lowercase characters for the domain path ("Optional. Plugin's relative directory path to .mo files. Example: /locale/")
  • Description: Please don't use more than 140 characters for the plugin description (currently 224 characters long)

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
Success! There were no dangerous files found in this plugin277 lines of code in 5 files:
LanguageFilesBlank linesComment linesLines of code
PHP21916271
JavaScript2185
CSS1001

PHP code Passed 2 tests

A short review of cyclomatic complexity and code structure
Everything seems fine, there were no complexity issues found
Cyclomatic complexity
Average complexity per logical line of code0.32
Average class complexity0.00
▷ Minimum class complexity0.00
▷ Maximum class complexity0.00
Average method complexity0.00
▷ Minimum method complexity0.00
▷ Maximum method complexity0.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes0
▷ Abstract classes00.00%
▷ Concrete classes00.00%
▷ Final classes00.00%
Methods0
▷ Static methods00.00%
▷ Public methods00.00%
▷ Protected methods00.00%
▷ Private methods00.00%
Functions15
▷ Named functions15100.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
No PNG images were found in this plugin