90% no-login-by-email-address

Code Review | No Login by Email Address

WordPress plugin No Login by Email Address scored90%from 54 tests.

About plugin

  • Plugin page: no-login-by-email...
  • Plugin version: 1.3.0
  • PHP version: 7.4.16
  • WordPress compatibility: 4.9-6.0
  • WordPress version: 6.3.1
  • First release: Mar 3, 2016
  • Latest release: May 25, 2022
  • Number of updates: 22
  • Update frequency: every 103.4 days
  • Top authors: numeeja (100%)

Code review

54 tests

User reviews

4 reviews

Install metrics

1,000+ active /9,194 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
The plugin installed gracefully, with no errors

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

Analyzing server-side resources used by No Login by Email Address
Server-side resource usage in normal parameters
PageMemory (MB)CPU Time (ms)
Home /3.47 ▲0.0135.96 ▼6.29
Dashboard /wp-admin3.31 ▼0.0343.91 ▼16.22
Posts /wp-admin/edit.php3.36 ▲0.0143.26 ▼0.65
Add New Post /wp-admin/post-new.php5.89 ▲0.0182.77 ▼22.99
Media Library /wp-admin/upload.php3.24 ▲0.0135.96 ▲1.73

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

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

Browser metrics Passed 4 tests

No Login by Email Address: an overview of browser usage
There were no issues detected in relation to browser resource usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,789 ▲4314.35 ▼0.211.69 ▼0.0938.62 ▼4.64
Dashboard /wp-admin2,195 ▲145.64 ▼0.0687.12 ▼10.3638.85 ▼3.18
Posts /wp-admin/edit.php2,103 ▲32.03 ▲0.0839.58 ▲2.3534.62 ▼1.84
Add New Post /wp-admin/post-new.php1,535 ▲917.94 ▼5.71621.85 ▼61.2463.70 ▲3.24
Media Library /wp-admin/upload.php1,403 ▲34.18 ▼0.0599.33 ▼0.5445.62 ▼0.88

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

🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
These items require your attention
  • The uninstall procedure has failed, leaving 6 options in the database
    • theysaidso_admin_options
    • widget_theysaidso_widget
    • widget_recent-comments
    • db_upgraded
    • widget_recent-posts
    • can_compress_scripts

Smoke tests Passed 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though everything seems fine, this is not an exhaustive test

SRP Passed 2 tests

🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Everything seems fine, however this is by no means an exhaustive test

User-side errors Passed 1 test

🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
There were no browser issues found

Optimizations

Plugin configuration Passed 29 tests

readme.txt Passed 16 tests

The readme.txt file uses markdown syntax to describe your plugin to the world
3 plugin tags: email, username, login

no-login-by-email-address/no-login-by-email-address.php Passed 13 tests

Analyzing the main PHP file in "No Login by Email Address" version 1.3.0
31 characters long description:
Prevent log in by email address

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
Good job! No executable or dangerous file extensions detected27 lines of code in 1 file:
LanguageFilesBlank linesComment linesLines of code
PHP1142727

PHP code Passed 2 tests

Cyclomatic complexity and code structure are the fingerprint of this plugin
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity
Average complexity per logical line of code0.33
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

Using a strong compression for your PNG files is a great way to speed-up your plugin
No PNG images were found in this plugin