84% users-registered-list

Code Review | Users Registered List

WordPress plugin Users Registered List scored84%from 54 tests.

About plugin

  • Plugin page: users-registered-...
  • Plugin version: 1.0
  • PHP version: 7.4.16
  • WordPress compatibility: 3.3-3.7.1
  • WordPress version: 6.3.1
  • First release: Nov 10, 2013
  • Latest release: Aug 29, 2021
  • Number of updates: 9
  • Update frequency: every 316.6 days
  • Top authors: slaFFik (100%)

Code review

54 tests

User reviews

2 reviews

Install metrics

100+ active /2,927 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
Installer ran successfully

Server metrics [RAM: ▲0.00MB] [CPU: ▼4.90ms] Passed 4 tests

Analyzing server-side resources used by Users Registered List
This plugin does not affect your website's performance
PageMemory (MB)CPU Time (ms)
Home /3.47 ▲0.0138.73 ▼2.10
Dashboard /wp-admin3.32 ▼0.0344.51 ▼12.90
Posts /wp-admin/edit.php3.37 ▲0.0148.19 ▲2.03
Add New Post /wp-admin/post-new.php5.90 ▲0.0190.37 ▼3.67
Media Library /wp-admin/upload.php3.24 ▲0.0134.35 ▼0.92

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

How much does this plugin use your filesystem and database?
No storage issues were detected
Filesystem: 6 new files
Database: no new tables, 6 new options
New WordPress options
widget_theysaidso_widget
db_upgraded
can_compress_scripts
widget_recent-comments
theysaidso_admin_options
widget_recent-posts

Browser metrics Passed 4 tests

An overview of browser requirements for Users Registered List
There were no issues detected in relation to browser resource usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,800 ▲2913.34 ▼1.051.65 ▼0.1738.53 ▼1.81
Dashboard /wp-admin2,206 ▲185.85 ▲0.99108.92 ▲2.4142.90 ▲0.06
Posts /wp-admin/edit.php2,089 ▼02.03 ▼0.0141.05 ▲3.2236.06 ▲3.67
Add New Post /wp-admin/post-new.php1,538 ▲2422.83 ▲5.10656.38 ▼29.8858.21 ▲3.64
Media Library /wp-admin/upload.php1,391 ▲64.23 ▼0.0399.06 ▲3.7542.72 ▲1.61

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 6 options in the database
    • can_compress_scripts
    • widget_recent-posts
    • widget_recent-comments
    • widget_theysaidso_widget
    • theysaidso_admin_options
    • db_upgraded

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
Even though no errors were found, this is by no means an exhaustive test

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: Call to undefined function add_action() in wp-content/plugins/users-registered-list/users-registered-list.php:14

User-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check for browser errors
No browser issues were found

Optimizations

Plugin configuration 97% from 29 tests

readme.txt 94% from 16 tests

The readme.txt file uses markdown syntax to describe your plugin to the world
Please fix the following attributes:
  • Plugin Name: Please specify the plugin name on the first line ( === users-registered-list === )
You can take inspiration from this readme.txt

users-registered-list/users-registered-list.php Passed 13 tests

"Users Registered List" version 1.0's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
71 characters long description:
Adds sortable `Registered` column to the list of users in wp-admin area

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

PHP code Passed 2 tests

This is a very shot review 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.18
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%
Functions4
▷ Named functions4100.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
PNG images were not found in this plugin