Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.99MB] [CPU: ▲3.43ms] Passed 4 tests
This is a short check of server-side resources used by GEV Email Validator
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.43 ▲0.97 | 46.91 ▲6.70 |
Dashboard /wp-admin | 4.30 ▲0.99 | 54.41 ▲0.56 |
Posts /wp-admin/edit.php | 4.35 ▲0.99 | 53.34 ▲3.81 |
Add New Post /wp-admin/post-new.php | 6.90 ▲1.01 | 93.49 ▲2.65 |
Media Library /wp-admin/upload.php | 4.22 ▲0.99 | 43.71 ▲10.17 |
GEV Email Validator /wp-admin/options-general.php?page=gev-email-validator | 4.13 | 40.45 |
Server storage [IO: ▲1.52MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
No storage issues were detected
Filesystem: 271 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-posts |
db_upgraded |
can_compress_scripts |
theysaidso_admin_options |
widget_recent-comments |
Browser metrics Passed 4 tests
Checking browser requirements for GEV Email Validator
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,916 ▲170 | 13.92 ▼0.83 | 9.50 ▲7.82 | 43.35 ▼2.57 |
Dashboard /wp-admin | 2,214 ▲26 | 5.85 ▼0.01 | 107.47 ▼8.90 | 40.13 ▼7.09 |
Posts /wp-admin/edit.php | 2,097 ▲8 | 2.05 ▲0.06 | 38.99 ▲0.20 | 36.17 ▲1.26 |
Add New Post /wp-admin/post-new.php | 1,521 ▼12 | 23.33 ▲0.15 | 696.19 ▲20.08 | 64.03 ▲4.15 |
Media Library /wp-admin/upload.php | 1,393 ▲11 | 4.22 ▲0.02 | 104.00 ▲6.05 | 47.73 ▼1.00 |
GEV Email Validator /wp-admin/options-general.php?page=gev-email-validator | 1,000 | 2.08 | 28.03 | 26.78 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
Please fix the following items
- Zombie WordPress options detected upon uninstall: 6 options
- widget_theysaidso_widget
- db_upgraded
- widget_recent-comments
- can_compress_scripts
- widget_recent-posts
- theysaidso_admin_options
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Good news, no errors were detected
SRP 0% 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
Almost there! Just fix the following items
- 1× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/gev-email-validator/public/partials/email-validator-public-display.php
- 66× PHP files trigger server-side errors or warnings when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Interface 'OpenAPI\\Client\\Model\\ModelInterface' not found in wp-content/plugins/gev-email-validator/vendor/go-email-validator/sdk/php/lib/Model/EmailResponse.php:46
- > PHP Fatal error
Uncaught Error: Interface 'Psr\\Http\\Message\\StreamInterface' not found in wp-content/plugins/gev-email-validator/vendor/guzzlehttp/psr7/src/PumpStream.php:17
- > PHP Fatal error
Uncaught Error: Interface 'GuzzleHttp\\Promise\\TaskQueueInterface' not found in wp-content/plugins/gev-email-validator/vendor/guzzlehttp/promises/src/TaskQueue.php:14
- > PHP Fatal error
Uncaught Error: Class 'GuzzleHttp\\Exception\\TransferException' not found in wp-content/plugins/gev-email-validator/vendor/guzzlehttp/guzzle/src/Exception/RequestException.php:12
- > PHP Fatal error
Uncaught Error: Interface 'GuzzleHttp\\Promise\\PromiseInterface' not found in wp-content/plugins/gev-email-validator/vendor/guzzlehttp/promises/src/FulfilledPromise.php:11
- > PHP Fatal error
Uncaught Error: Class 'GuzzleHttp\\Exception\\BadResponseException' not found in wp-content/plugins/gev-email-validator/vendor/guzzlehttp/guzzle/src/Exception/ClientException.php:7
- > PHP Fatal error
Uncaught Error: Interface 'OpenAPI\\Client\\Model\\ModelInterface' not found in wp-content/plugins/gev-email-validator/vendor/go-email-validator/sdk/php/lib/Model/PromptEmailVerificationApiMX.php:46
- > PHP Fatal error
Uncaught Error: Class 'GuzzleHttp\\Exception\\RequestException' not found in wp-content/plugins/gev-email-validator/vendor/guzzlehttp/guzzle/src/Exception/ConnectException.php:11
- > PHP Fatal error
Uncaught Error: Interface 'GuzzleHttp\\Promise\\PromisorInterface' not found in wp-content/plugins/gev-email-validator/vendor/guzzlehttp/guzzle/src/Pool.php:20
- > PHP Fatal error
Uncaught Error: Class 'Symfony\\Polyfill\\Intl\ormalizer\ormalizer' not found in wp-content/plugins/gev-email-validator/vendor/symfony/polyfill-intl-normalizer/Resources/stubs/Normalizer.php:3
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
5 plugin tags: email validator, email validation, form validation, email verify, email filter
gev-email-validator/gev-email-validator.php 92% from 13 tests
"GEV Email Validator" version 1.0.0's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
Please take the time to fix the following:
- Description: The description should be shorter than 140 characters (currently 284 characters long)
Code Analysis 97% from 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
Everything looks great! No dangerous files found in this plugin37,340 lines of code in 240 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 185 | 3,551 | 10,776 | 31,940 |
Markdown | 30 | 1,234 | 0 | 3,731 |
JSON | 14 | 0 | 0 | 1,252 |
YAML | 1 | 0 | 7 | 297 |
make | 3 | 19 | 1 | 56 |
XML | 2 | 0 | 0 | 38 |
JavaScript | 2 | 4 | 54 | 16 |
Dockerfile | 1 | 8 | 0 | 10 |
CSS | 2 | 0 | 8 | 0 |
PHP code 50% from 2 tests
An overview of cyclomatic complexity and code structure
The following items need your attention
- Cyclomatic complexity of methods has to be reduced to less than 100 (currently 179)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.45 |
Average class complexity | 14.73 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 179.00 |
Average method complexity | 2.63 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 179.00 |
Code structure | ||
---|---|---|
Namespaces | 18 | |
Interfaces | 17 | |
Traits | 2 | |
Classes | 123 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 123 | 100.00% |
▷ Final classes | 24 | 19.51% |
Methods | 1,216 | |
▷ Static methods | 240 | 19.74% |
▷ Public methods | 1,054 | 86.68% |
▷ Protected methods | 12 | 0.99% |
▷ Private methods | 150 | 12.34% |
Functions | 195 | |
▷ Named functions | 88 | 45.13% |
▷ Anonymous functions | 107 | 54.87% |
Constants | 210 | |
▷ Global constants | 47 | 22.38% |
▷ Class constants | 163 | 77.62% |
▷ Public constants | 163 | 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
There were not PNG files found in your plugin