10% email-re-validator

Code Review | Email Re-Validator; revalidation solution for Ultimate Member

WordPress plugin Email Re-Validator; revalidation solution for Ultimate Member scored10%from 54 tests.

About plugin

  • Plugin page: email-re-validator
  • Plugin version: 1.0.0
  • PHP compatiblity: 5.6+
  • PHP version: 7.4.16
  • WordPress compatibility: 6.0-6.1
  • WordPress version: 6.3.1
  • First release: Nov 29, 2022
  • Latest release: Nov 29, 2022
  • Number of updates: 6
  • Update frequency: N/A
  • Top authors: ifixcodes (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active /166 total downloads

Benchmarks

Plugin footprint 58% from 16 tests

Installer 0% from 1 test

🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
You still need to fix the following installer errors
  • The plugin did not install without errors
    • > Deprecated in wp-includes/class-wp-hook.php+310
    Non-static method IFXERV_PLUGIN_CHECK::ifxerv_plugin_checks() should not be called statically

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

A check of server-side resources used by Email Re-Validator; revalidation solution for Ultimate Member
This plugin has minimal impact on server resources
PageMemory (MB)CPU Time (ms)
Home /3.46 ▲0.0036.27 ▼4.78
Dashboard /wp-admin3.31 ▲0.0049.98 ▼2.81
Posts /wp-admin/edit.php3.36 ▲0.0051.44 ▼3.76
Add New Post /wp-admin/post-new.php5.89 ▲0.0092.94 ▼17.22
Media Library /wp-admin/upload.php3.23 ▲0.0037.87 ▼1.87

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

How much does this plugin use your filesystem and database?
The plugin installed successfully
Filesystem: 2 new files
Database: no new tables, 6 new options
New WordPress options
can_compress_scripts
widget_recent-comments
widget_recent-posts
widget_theysaidso_widget
db_upgraded
theysaidso_admin_options

Browser metrics Passed 4 tests

An overview of browser requirements for Email Re-Validator; revalidation solution for Ultimate Member
This plugin has a minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,789 ▲2814.27 ▼0.381.91 ▲0.1940.79 ▼0.96
Dashboard /wp-admin2,192 ▲185.54 ▼0.0486.61 ▼3.8335.95 ▼7.73
Posts /wp-admin/edit.php2,100 ▼32.00 ▲0.0639.78 ▼1.0034.16 ▼2.04
Add New Post /wp-admin/post-new.php1,531 ▲323.36 ▲0.29623.80 ▼42.1448.80 ▼5.96
Media Library /wp-admin/upload.php1,403 ▲34.22 ▲0.10106.11 ▼6.8441.81 ▼10.35

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

🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
You still need to fix the following
  • Zombie WordPress options detected upon uninstall: 6 options
    • can_compress_scripts
    • theysaidso_admin_options
    • widget_recent-posts
    • db_upgraded
    • widget_recent-comments
    • widget_theysaidso_widget

Smoke tests Passed 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Everything seems fine, however this is by no means an exhaustive test

SRP Passed 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
Everything seems fine, however this is by no means an exhaustive test

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

Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
8 plugin tags: re-validator, account, validation, confirmation, verification...

email-re-validator/email-re-validator.php Passed 13 tests

The main PHP file in "Email Re-Validator; revalidation solution for Ultimate Member" ver. 1.0.0 adds more information about the plugin and also serves as the entry point for this plugin
137 characters long description:
The easiest solution that allows site owners the option to enable email re-validation for their users through the ultimate member plugin.

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
No dangerous file extensions were detected69 lines of code in 1 file:
LanguageFilesBlank linesComment linesLines of code
PHP1276369

PHP code Passed 2 tests

An overview of cyclomatic complexity and code structure
There were no cyclomatic complexity issued detected
Cyclomatic complexity
Average complexity per logical line of code0.33
Average class complexity2.00
▷ Minimum class complexity2.00
▷ Maximum class complexity2.00
Average method complexity2.00
▷ Minimum method complexity2.00
▷ Maximum method complexity2.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes1
▷ Abstract classes00.00%
▷ Concrete classes1100.00%
▷ Final classes00.00%
Methods1
▷ Static methods00.00%
▷ Public methods1100.00%
▷ Protected methods00.00%
▷ Private methods00.00%
Functions4
▷ Named functions4100.00%
▷ Anonymous functions00.00%
Constants1
▷ Global constants1100.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

PNG files should be compressed to save space and minimize bandwidth usage
No PNG files were detected