Benchmarks
Plugin footprint 83% from 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 successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.01MB] [CPU: ▼12.26ms] Passed 4 tests
A check of server-side resources used by WooCommerce Email Validation
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 38.44 ▼2.84 |
Dashboard /wp-admin | 3.33 ▼0.02 | 49.26 ▼13.00 |
Posts /wp-admin/edit.php | 3.38 ▲0.02 | 48.78 ▼12.49 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.02 | 81.29 ▼20.70 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 35.19 ▲1.29 |
Server storage [IO: ▲0.06MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
The plugin installed successfully
Filesystem: 24 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
widget_theysaidso_widget |
can_compress_scripts |
theysaidso_admin_options |
db_upgraded |
widget_recent-posts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for WooCommerce Email Validation
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,789 ▲43 | 14.09 ▼0.05 | 2.11 ▲0.37 | 41.72 ▲1.02 |
Dashboard /wp-admin | 2,195 ▲18 | 5.53 ▼0.08 | 89.49 ▼4.09 | 37.53 ▼15.42 |
Posts /wp-admin/edit.php | 2,100 ▼0 | 1.95 ▼0.01 | 38.10 ▼0.63 | 32.41 ▼2.74 |
Add New Post /wp-admin/post-new.php | 1,526 ▼0 | 23.21 ▼0.39 | 675.99 ▼15.42 | 51.08 ▼10.51 |
Media Library /wp-admin/upload.php | 1,400 ▼0 | 4.25 ▲0.07 | 99.98 ▼5.77 | 41.92 ▼5.46 |
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
It is recommended to fix the following
- The uninstall procedure has failed, leaving 6 options in the database
- db_upgraded
- theysaidso_admin_options
- widget_recent-posts
- widget_recent-comments
- widget_theysaidso_widget
- 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
Everything seems fine, however this is by no means an exhaustive test
SRP Passed 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Everything seems fine, however this is by no means an exhaustive test
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser issues were found
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
6 plugin tags: address, woocommerce, checkout, fields, validation...
woocommerce-email-validation/woocommerce-email-validation.php Passed 13 tests
The main PHP file in "WooCommerce Email Validation" ver. 2.1.1 adds more information about the plugin and also serves as the entry point for this plugin
70 characters long description:
Adds a 'confirm email address' field to the WooCommerce checkout page.
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
Everything looks great! No dangerous files found in this plugin350 lines of code in 12 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PO File | 9 | 46 | 70 | 276 |
PHP | 3 | 34 | 24 | 74 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.29 |
Average class complexity | 9.00 |
▷ Minimum class complexity | 9.00 |
▷ Maximum class complexity | 9.00 |
Average method complexity | 2.60 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 5.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 5 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 5 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
There are no PNG files in this plugin