84% create-user-with-password-multisite

Code Review | Create User With Password Multisite

WordPress plugin Create User With Password Multisite scored84%from 54 tests.

About plugin

  • Plugin page: create-user-with-...
  • Plugin version: 1.10.0
  • PHP compatiblity: 5.6+
  • PHP version: 7.4.16
  • WordPress compatibility: 3.0.1-6.3
  • WordPress version: 6.3.1
  • First release: Jan 15, 2015
  • Latest release: Jul 28, 2023
  • Number of updates: 49
  • Update frequency: every 63.6 days
  • Top authors: MooveAgency (100%)

Code review

54 tests

User reviews

10 reviews

Install metrics

200+ active /9,039 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
This plugin's installer ran successfully

Server metrics [RAM: ▼0.01MB] [CPU: ▼7.94ms] Passed 4 tests

An overview of server-side resources used by Create User With Password Multisite
Server-side resource usage in normal parameters
PageMemory (MB)CPU Time (ms)
Home /3.47 ▲0.0040.90 ▲5.86
Dashboard /wp-admin3.31 ▼0.0345.38 ▼8.63
Posts /wp-admin/edit.php3.36 ▲0.0048.33 ▲0.93
Add New Post /wp-admin/post-new.php5.89 ▲0.0082.81 ▼29.18
Media Library /wp-admin/upload.php3.23 ▲0.0041.02 ▲5.14

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

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

Browser metrics Passed 4 tests

An overview of browser requirements for Create User With Password Multisite
There were no issues detected in relation to browser resource usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,800 ▲5414.81 ▲0.621.93 ▲0.0942.47 ▼1.72
Dashboard /wp-admin2,203 ▲115.84 ▲0.89102.74 ▼4.4437.79 ▼5.49
Posts /wp-admin/edit.php2,089 ▼02.02 ▼0.0234.71 ▼4.3033.37 ▼0.89
Add New Post /wp-admin/post-new.php1,533 ▲1423.24 ▲0.30671.62 ▲29.8647.55 ▼2.00
Media Library /wp-admin/upload.php1,385 ▼34.22 ▲0.01104.52 ▼1.3945.23 ▲2.00

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

🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
Please fix the following items
  • Zombie WordPress options were found after uninstall: 6 options
    • widget_theysaidso_widget
    • widget_recent-comments
    • theysaidso_admin_options
    • can_compress_scripts
    • db_upgraded
    • widget_recent-posts

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
Everything seems fine, however 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× GET requests to PHP files have triggered server-side errors or warnings:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function is_multisite() in wp-content/plugins/create-user-with-password-multisite/create-user-with-password-multisite.php:19

User-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine on the user side

Optimizations

Plugin configuration Passed 29 tests

readme.txt Passed 16 tests

The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
5 plugin tags: admin, multisite, user, password, registration

create-user-with-password-multisite/create-user-with-password-multisite.php Passed 13 tests

The main file in "Create User With Password Multisite" v. 1.10.0 serves as a complement to information provided in readme.txt and as the entry point to the plugin
72 characters long description:
Add ability to register user with password on WP multisite installation.

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
Good job! No executable or dangerous file extensions detected283 lines of code in 6 files:
LanguageFilesBlank linesComment linesLines of code
PHP23854142
PO File2162099
JavaScript17435
CSS1007

PHP code Passed 2 tests

Cyclomatic complexity and code structure are the fingerprint of this plugin
There were no cyclomatic complexity issued detected
Cyclomatic complexity
Average complexity per logical line of code0.36
Average class complexity18.00
▷ Minimum class complexity18.00
▷ Maximum class complexity18.00
Average method complexity4.40
▷ Minimum method complexity1.00
▷ Maximum method complexity18.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%
Functions2
▷ Named functions2100.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
There are no PNG files in this plugin