Benchmarks
Plugin footprint 82% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.06MB] [CPU: ▲1.02ms] 75% from 4 tests
Server-side resources used by Email Verifications
The following require your attention
- CPU: Total CPU usage should be kept under 500.00ms (currently 5,043.52ms on /wp-admin/options-general.php?page=emvfs_settings)
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.03 | 41.95 ▼0.32 |
Dashboard /wp-admin | 3.37 ▲0.07 | 53.83 ▼1.12 |
Posts /wp-admin/edit.php | 3.49 ▲0.13 | 50.62 ▲1.97 |
Add New Post /wp-admin/post-new.php | 5.95 ▲0.07 | 100.97 ▲6.06 |
Media Library /wp-admin/upload.php | 3.29 ▲0.07 | 37.07 ▲3.54 |
Email Verifications /wp-admin/options-general.php?page=emvfs_settings | 3.61 | 5,043.52 |
Server storage [IO: ▲0.30MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
The plugin installed successfully
Filesystem: 10 new files
Database: no new tables, 9 new options
New WordPress options |
---|
emailverifier_country |
theysaidso_admin_options |
widget_recent-posts |
emailverifier_server_status |
widget_recent-comments |
emailverifier_server_msg |
widget_theysaidso_widget |
db_upgraded |
can_compress_scripts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Email Verifications
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,795 ▲34 | 14.71 ▲0.36 | 1.98 ▲0.08 | 44.37 ▼2.73 |
Dashboard /wp-admin | 2,201 ▲24 | 5.65 ▲0.03 | 93.96 ▼5.93 | 40.78 ▼2.27 |
Posts /wp-admin/edit.php | 2,106 ▲6 | 2.02 ▲0.06 | 39.64 ▲3.08 | 38.09 ▲3.71 |
Add New Post /wp-admin/post-new.php | 1,531 ▼2 | 23.11 ▲0.25 | 661.75 ▼31.46 | 57.52 ▲6.72 |
Media Library /wp-admin/upload.php | 1,406 ▲6 | 4.10 ▼0.04 | 116.85 ▲1.76 | 47.37 ▼1.31 |
Email Verifications /wp-admin/options-general.php?page=emvfs_settings | 2,348 | 2.05 | 24.03 | 33.86 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
You still need to fix the following
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_theysaidso_widget
- db_upgraded
- widget_recent-comments
- can_compress_scripts
- theysaidso_admin_options
- widget_recent-posts
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP 0% 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
- 1× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/email-verifications/includes/emailverifier_footer.php
- 9× PHP files trigger server errors when accessed directly:
- > PHP Notice
Undefined variable: message in wp-content/plugins/email-verifications/includes/emailverifier_header.php on line 5
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_nonce_field() in wp-content/plugins/email-verifications/includes/emailverifier_footer.php:293
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/email-verifications/includes/mobileverifier_stat.php:10
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/email-verifications/plugin_interface.php:6
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_nonce_field() in wp-content/plugins/email-verifications/includes/emailverifier_header.php:36
- > PHP Notice
Undefined variable: error in wp-content/plugins/email-verifications/includes/emailverifier_header.php on line 8
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/email-verifications/includes/emailverifier_stat.php:11
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/email-verifications/email-verifications.php:36
- > PHP Notice
Undefined variable: selected_country_message in wp-content/plugins/email-verifications/includes/emailverifier_footer.php on line 45
- > PHP Notice
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 Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
8 plugin tags: mobile verification, email verification, email validation, mobile number exists, mobile number validation...
email-verifications/email-verifications.php Passed 13 tests
"Email Verifications" version 1.0's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
62 characters long description:
Allow only real email and mobile number pass in contact form 7
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
Everything looks great! No dangerous files found in this plugin855 lines of code in 7 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 6 | 134 | 35 | 849 |
CSS | 1 | 0 | 0 | 6 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 1.25 |
Average class complexity | 16.50 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 32.00 |
Average method complexity | 3.21 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 8.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 14 | |
▷ Static methods | 1 | 7.14% |
▷ Public methods | 14 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 2 | |
▷ Named functions | 2 | 100.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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
2 PNG files occupy 0.23MB with 0.15MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-2.png | 77.35KB | 29.66KB | ▼ 61.66% |
screenshot-1.png | 160.31KB | 54.19KB | ▼ 66.20% |