Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
This plugin's installer ran successfully
Server metrics [RAM: ▲0.02MB] [CPU: ▼169.98ms] Passed 4 tests
Server-side resources used by Users Without Email
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.86 ▲0.03 | 33.78 ▲2.07 |
Dashboard /wp-admin | 3.08 ▲0.03 | 44.99 ▲1.62 |
Posts /wp-admin/edit.php | 3.19 ▲0.09 | 45.13 ▲1.23 |
Add New Post /wp-admin/post-new.php | 5.44 ▲0.01 | 92.63 ▼683.29 |
Media Library /wp-admin/upload.php | 3.03 ▲0.02 | 32.19 ▲0.51 |
Server storage [IO: ▲0.06MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 14 new files
Database: no new tables, 2 new options
New WordPress options |
---|
UsersWithoutEmail_Plugin__version |
UsersWithoutEmail_Plugin__installed |
Browser metrics Passed 4 tests
Checking browser requirements for Users Without Email
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,679 ▲83 | 15.98 ▲0.46 | 8.45 ▼0.04 | 47.70 ▲0.27 |
Dashboard /wp-admin | 2,970 ▲39 | 5.87 ▼0.12 | 135.25 ▼5.42 | 118.38 ▲2.20 |
Posts /wp-admin/edit.php | 2,739 ▼0 | 2.72 ▼0.00 | 62.35 ▼0.59 | 93.92 ▲5.55 |
Add New Post /wp-admin/post-new.php | 1,672 ▲2 | 18.78 ▼0.46 | 389.01 ▼14.32 | 109.40 ▲6.89 |
Media Library /wp-admin/upload.php | 1,807 ▼3 | 5.05 ▲0.04 | 145.18 ▲3.18 | 123.00 ▲1.71 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
It is recommended to fix the following
- This plugin does not fully uninstall, leaving 2 options in the database
- UsersWithoutEmail_Plugin__version
- UsersWithoutEmail_Plugin__installed
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Good news, no errors were detected
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 plugin_basename() in wp-content/plugins/users-without-email/users-without-email.php:47
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser errors were detected
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
These attributes need to be fixed:
- Donate link: Invalid URI ("")
- Screenshots: Screenshot #1 (Here's how the registaration screen looks with the plugin activated:) image not found
users-without-email/users-without-email.php Passed 13 tests
The main PHP file in "Users Without Email" ver. 1.0 adds more information about the plugin and also serves as the entry point for this plugin
65 characters long description:
Allows users to sign up without needing to enter an email address
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
There were no executable files found in this plugin565 lines of code in 8 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 8 | 147 | 409 | 565 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.29 |
Average class complexity | 10.00 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 40.00 |
Average method complexity | 1.66 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 9.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 6 | |
▷ Abstract classes | 2 | 33.33% |
▷ Concrete classes | 4 | 66.67% |
▷ Final classes | 0 | 0.00% |
Methods | 84 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 60 | 71.43% |
▷ Protected methods | 24 | 28.57% |
▷ Private methods | 0 | 0.00% |
Functions | 4 | |
▷ Named functions | 4 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 2 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 2 | 100.00% |
▷ Public constants | 2 | 100.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
1 PNG file occupies 0.02MB with 0.01MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/screenshot-1.png | 22.08KB | 9.04KB | ▼ 59.06% |