93% rz-extended-registration-form

Code Review | extend registration on form

WordPress plugin extend registration on formscored 93% from 54 tests.

About plugin

  • Plugin page: rz-extended-regis...
  • Plugin version: 1.0
  • PHP compatiblity: 7.2+
  • PHP version: 7.4.16
  • WordPress compatibility: 5.2-5.4.1
  • WordPress version: 5.8.1
  • First release: Jun 18, 2020
  • Latest release: Jul 7, 2020
  • Number of updates: 15
  • Update frequency: every 1.3 days
  • Top authors: rezwanshiblu1952 (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active / 198 total downloads

Benchmarks

Plugin footprint Passed 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The plugin installed gracefully, with no errors

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

A check of server-side resources used by extend registration on form
This plugin has minimal impact on server resources
PageMemory (MB)CPU Time (ms)
Home /2.84 ▲0.0132.12 ▼6.93
Dashboard /wp-admin3.07 ▲0.0142.60 ▼10.70
Posts /wp-admin/edit.php3.12 ▲0.0146.50 ▼2.17
Add New Post /wp-admin/post-new.php5.42 ▼0.0189.36 ▼560.00
Media Library /wp-admin/upload.php3.01 ▲0.0132.66 ▼1.58

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

Analyzing filesystem and database footprints of this plugin
This plugin was installed successfully
Filesystem: 2 new files
Database: no new tables, no new options

Browser metrics Passed 4 tests

extend registration on form: an overview of browser usage
This plugin has a minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /3,697 ▲10115.72 ▼0.298.97 ▼4.4045.41 ▼4.44
Dashboard /wp-admin2,985 ▲545.94 ▼0.09149.05 ▼12.72111.05 ▲3.14
Posts /wp-admin/edit.php2,760 ▲212.72 ▲0.0065.74 ▼11.8687.10 ▼4.36
Add New Post /wp-admin/post-new.php1,696 ▲1318.70 ▲0.07397.55 ▲4.14113.87 ▲2.25
Media Library /wp-admin/upload.php1,752 ▼554.99 ▼0.05150.92 ▼16.04114.40 ▼6.12

Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests

🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Uninstall script ran successfully

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
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: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Almost there! Just fix the following items
  • 1× GET requests to PHP files return non-empty strings:
    • > /wp-content/plugins/rz-extended-registration-form/extend-registration-on-form.php

User-side errors Passed 1 test

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

Optimizations

Plugin configuration 87% from 29 tests

readme.txt 88% from 16 tests

The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
Please fix the following attributes:
  • Plugin Name: "Plugin Name" should be replaced with the name of your plugin on the first line ( === extend registration on form=== )
  • Screenshots: No descriptions were found for these screenshots #2, #3 in rz-extended-registration-form/assets to your readme.txt
You can look at the official readme.txt

rz-extended-registration-form/extend-registration-on-form.php 85% from 13 tests

"extend registration on form" version 1.0's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
Please make the necessary changes and fix the following:
  • Main file name: Please rename the main PHP file in this plugin to the plugin slug ("rz-extended-registration-form.php" instead of "extend-registration-on-form.php")
  • Text Domain: You no longer need to specify the text domain since WordPress 4.6; it must be the same as the plugin slug

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
There were no executable files found in this plugin67 lines of code in 1 file:
LanguageFilesBlank linesComment linesLines of code
PHP1353767

PHP code Passed 2 tests

A short review of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity problems
Cyclomatic complexity
Average complexity per logical line of code0.48
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%
Functions7
▷ Named functions7100.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 were not PNG files found in your plugin