Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Install script ran successfully
Server metrics [RAM: ▲0.36MB] [CPU: ▼1.86ms] Passed 4 tests
An overview of server-side resources used by ZeroBounce Email Verification & Validation
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.82 ▲0.35 | 38.80 ▼0.76 |
Dashboard /wp-admin | 3.73 ▲0.38 | 48.62 ▼11.28 |
Posts /wp-admin/edit.php | 3.78 ▲0.42 | 51.75 ▲4.15 |
Add New Post /wp-admin/post-new.php | 6.25 ▲0.35 | 100.06 ▲9.64 |
Media Library /wp-admin/upload.php | 3.59 ▲0.35 | 36.75 ▲0.45 |
Settings /wp-admin/admin.php?page=zerobounce-email-validator-settings | 3.56 | 37.39 |
Dashboard /wp-admin/admin.php?page=zerobounce-email-validator | 3.57 | 35.19 |
Logs /wp-admin/admin.php?page=zerobounce-email-validator-logs | 3.57 | 34.05 |
Tools /wp-admin/admin.php?page=zerobounce-email-validator-tools | 3.57 | 34.99 |
Server storage [IO: ▲1.00MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin was installed successfully
Filesystem: 35 new files
Database: 2 new tables, 8 new options
New tables |
---|
wp_zerobounce_validation_logs |
wp_zerobounce_credit_usage_logs |
New WordPress options |
---|
can_compress_scripts |
widget_recent-posts |
theysaidso_admin_options |
widget_recent-comments |
zerobounce_settings_validation_forms |
widget_theysaidso_widget |
zerobounce_settings_validation_pass |
db_upgraded |
Browser metrics Passed 4 tests
ZeroBounce Email Verification & Validation: an overview of browser usage
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,929 ▲167 | 13.76 ▼0.52 | 7.80 ▲6.23 | 38.08 ▲0.32 |
Dashboard /wp-admin | 2,226 ▲49 | 5.60 ▼0.04 | 91.26 ▼10.52 | 41.43 ▼3.86 |
Posts /wp-admin/edit.php | 2,131 ▲28 | 1.94 ▼0.03 | 40.85 ▲0.60 | 37.54 ▲2.07 |
Add New Post /wp-admin/post-new.php | 1,553 ▲24 | 23.12 ▼0.07 | 574.95 ▼41.03 | 57.59 ▲10.66 |
Media Library /wp-admin/upload.php | 1,428 ▲28 | 4.24 ▲0.07 | 96.58 ▼1.95 | 41.48 ▼2.61 |
Settings /wp-admin/admin.php?page=zerobounce-email-validator-settings | 1,108 | 2.09 | 34.22 | 48.65 |
Dashboard /wp-admin/admin.php?page=zerobounce-email-validator | 2,635 | 6.75 | 255.57 | 90.58 |
Logs /wp-admin/admin.php?page=zerobounce-email-validator-logs | 1,660 | 3.39 | 110.54 | 47.65 |
Tools /wp-admin/admin.php?page=zerobounce-email-validator-tools | 997 | 2.08 | 32.09 | 22.26 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Please fix the following items
- Zombie tables were found after uninstall: 2 tables
- wp_zerobounce_credit_usage_logs
- wp_zerobounce_validation_logs
- Zombie WordPress options detected upon uninstall: 8 options
- zerobounce_settings_validation_forms
- can_compress_scripts
- db_upgraded
- widget_recent-comments
- theysaidso_admin_options
- widget_theysaidso_widget
- zerobounce_settings_validation_pass
- widget_recent-posts
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
These server-side errors were triggered
- 4 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=zerobounce-email-validator-settings
- > Notice in wp-content/plugins/zerobounce/admin/class-zerobounce-email-validator-admin.php+401
Undefined offset: 0
SRP 50% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Please fix the following
- 4× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_url() in wp-content/plugins/zerobounce/admin/partials/zerobounce-email-validator-admin-tools-display.php:17
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_url() in wp-content/plugins/zerobounce/admin/partials/zerobounce-email-validator-admin-settings-display.php:17
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_url() in wp-content/plugins/zerobounce/admin/partials/zerobounce-email-validator-admin-logs-display.php:17
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_url() in wp-content/plugins/zerobounce/admin/partials/zerobounce-email-validator-admin-display.php:17
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
There were no browser issues found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
9 plugin tags: anti-spam, email validator, email verifier, spamtrap, email verification...
zerobounce/zerobounce-email-validator.php 85% from 13 tests
The primary PHP file in "ZeroBounce Email Verification & Validation" version 1.0.15 is used by WordPress to initiate all plugin functionality
The following require your attention:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("zerobounce.php" instead of "zerobounce-email-validator.php")
- Text Domain: Since WordPress version 4.6 the text domain is optional; if specified, it must be the same as the plugin slug
Code Analysis Passed 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
No dangerous file extensions were detected2,397 lines of code in 27 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 16 | 370 | 478 | 1,658 |
JavaScript | 5 | 65 | 51 | 591 |
CSS | 4 | 7 | 21 | 78 |
PO File | 1 | 12 | 22 | 46 |
SVG | 1 | 0 | 0 | 24 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.53 |
Average class complexity | 34.62 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 114.00 |
Average method complexity | 5.20 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 46.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 8 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 8 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 64 | |
▷ Static methods | 4 | 6.25% |
▷ Public methods | 56 | 87.50% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 8 | 12.50% |
Functions | 3 | |
▷ Named functions | 3 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 2 | |
▷ Global constants | 2 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
PNG images were not found in this plugin