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
Installer ran successfully
Server metrics [RAM: ▲0.02MB] [CPU: ▼5.26ms] Passed 4 tests
Server-side resources used by Email Verification for WooCommerce
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.02 | 37.08 ▼1.25 |
Dashboard /wp-admin | 3.33 ▲0.03 | 46.21 ▼4.26 |
Posts /wp-admin/edit.php | 3.44 ▲0.09 | 44.50 ▼1.60 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.02 | 82.70 ▼13.92 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 34.05 ▲0.56 |
Server storage [IO: ▲0.52MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
The plugin installed successfully
Filesystem: 58 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
widget_recent-comments |
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-posts |
can_compress_scripts |
Browser metrics Passed 4 tests
Checking browser requirements for Email Verification for WooCommerce
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,814 ▲53 | 14.34 ▼0.02 | 1.94 ▲0.44 | 41.56 ▲0.12 |
Dashboard /wp-admin | 2,195 ▲15 | 5.61 ▲0.03 | 83.93 ▼3.81 | 38.19 ▼3.74 |
Posts /wp-admin/edit.php | 2,097 ▼3 | 1.98 ▼0.07 | 33.90 ▼3.24 | 35.64 ▲1.91 |
Add New Post /wp-admin/post-new.php | 1,526 ▼9 | 23.11 ▲5.02 | 684.93 ▲38.42 | 61.26 ▼13.73 |
Media Library /wp-admin/upload.php | 1,400 ▼0 | 4.14 ▼0.04 | 93.25 ▼1.58 | 41.10 ▼0.95 |
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
You still need to fix the following
- Zombie WordPress options were found after uninstall: 6 options
- widget_recent-comments
- theysaidso_admin_options
- db_upgraded
- widget_recent-posts
- widget_theysaidso_widget
- can_compress_scripts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP 50% from 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
Please fix the following
- 4× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/emails-verification-for-woocommerce/includes/class-alg-wc-ev-verification-info-widget.php:13
- > PHP Fatal error
Uncaught Error: Interface 'Hashids\\Math\\MathInterface' not found in wp-content/plugins/emails-verification-for-woocommerce/vendor/hashids/hashids/src/Math/Bc.php:14
- > PHP Fatal error
Uncaught Error: Interface 'Hashids\\Math\\MathInterface' not found in wp-content/plugins/emails-verification-for-woocommerce/vendor/hashids/hashids/src/Math/Gmp.php:14
- > PHP Fatal error
Uncaught Error: Interface 'Hashids\\HashidsInterface' not found in wp-content/plugins/emails-verification-for-woocommerce/vendor/hashids/hashids/src/Hashids.php:19
- > PHP Fatal error
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 96% from 29 tests
readme.txt Passed 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
5 plugin tags: woo commerce, verification, email verification, woocommerce, email
emails-verification-for-woocommerce/email-verification-for-woocommerce.php 92% from 13 tests
The main PHP script in "Email Verification for WooCommerce" version 2.6.2 is automatically included on every request by WordPress
Please take the time to fix the following:
- Main file name: The principal plugin file should be the same as the plugin slug ("emails-verification-for-woocommerce.php" instead of "email-verification-for-woocommerce.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
Everything looks great! No dangerous files found in this plugin7,293 lines of code in 49 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 42 | 812 | 3,065 | 5,843 |
PO File | 2 | 474 | 574 | 1,233 |
JSON | 4 | 0 | 0 | 195 |
XML | 1 | 0 | 0 | 22 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.49 |
Average class complexity | 20.06 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 183.00 |
Average method complexity | 3.09 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 18.00 |
Code structure | ||
---|---|---|
Namespaces | 5 | |
Interfaces | 2 | |
Traits | 0 | |
Classes | 31 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 31 | 100.00% |
▷ Final classes | 1 | 3.23% |
Methods | 310 | |
▷ Static methods | 19 | 6.13% |
▷ Public methods | 288 | 92.90% |
▷ Protected methods | 20 | 6.45% |
▷ Private methods | 2 | 0.65% |
Functions | 34 | |
▷ Named functions | 21 | 61.76% |
▷ Anonymous functions | 13 | 38.24% |
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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
There are no PNG files in this plugin