Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Installer ran successfully
Server metrics [RAM: ▲0.16MB] [CPU: ▲1.65ms] Passed 4 tests
An overview of server-side resources used by DeBounce.io Email Validator
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.58 ▲0.12 | 39.88 ▲0.10 |
Dashboard /wp-admin | 3.47 ▲0.17 | 50.20 ▲2.07 |
Posts /wp-admin/edit.php | 3.59 ▲0.23 | 52.22 ▲7.90 |
Add New Post /wp-admin/post-new.php | 6.06 ▲0.17 | 90.43 ▼3.49 |
Media Library /wp-admin/upload.php | 3.39 ▲0.16 | 38.02 ▲8.03 |
Translate /wp-admin/admin.php?page=debounce_email_validator_translate | 3.34 | 34.68 |
Tools /wp-admin/admin.php?page=debounce_email_validator_tools | 3.34 | 35.27 |
About /wp-admin/admin.php?page=debounce_email_validator_about | 3.34 | 33.30 |
Settings /wp-admin/admin.php?page=debounce_email_validator | 3.39 | 36.74 |
Server storage [IO: ▲0.10MB] [DB: ▲0.07MB] Passed 3 tests
Filesystem and database footprint
No storage issues were detected
Filesystem: 28 new files
Database: no new tables, 12 new options
New WordPress options |
---|
debounce_version |
zb_accept_category_catchall |
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-comments |
can_compress_scripts |
debounceio_timeout |
db_upgraded |
widget_recent-posts |
zb_accept_category_unknown |
... |
Browser metrics Passed 4 tests
An overview of browser requirements for DeBounce.io Email Validator
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,850 ▲88 | 14.35 ▲0.08 | 1.61 ▼0.00 | 38.11 ▼5.31 |
Dashboard /wp-admin | 2,258 ▲81 | 5.64 ▼0.03 | 96.02 ▲4.54 | 37.81 ▼3.66 |
Posts /wp-admin/edit.php | 2,164 ▲64 | 2.01 ▼0.14 | 40.83 ▲0.45 | 34.95 ▼2.64 |
Add New Post /wp-admin/post-new.php | 1,557 ▲23 | 23.18 ▼1.85 | 591.01 ▼31.74 | 47.30 ▼19.20 |
Media Library /wp-admin/upload.php | 1,460 ▲60 | 4.27 ▲0.09 | 109.14 ▲12.99 | 48.81 ▲7.86 |
Translate /wp-admin/admin.php?page=debounce_email_validator_translate | 710 | 1.14 | 7.36 | 14.93 |
Tools /wp-admin/admin.php?page=debounce_email_validator_tools | 710 | 1.35 | 7.52 | 18.75 |
About /wp-admin/admin.php?page=debounce_email_validator_about | 710 | 1.14 | 7.55 | 16.01 |
Settings /wp-admin/admin.php?page=debounce_email_validator | 1,207 | 1.97 | 25.41 | 57.14 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.07MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
The following items require your attention
- This plugin did not uninstall successfully, leaving 12 options in the database
- widget_recent-posts
- widget_theysaidso_widget
- zb_accept_category_valid
- debounceio_timeout
- debounce_version
- can_compress_scripts
- theysaidso_admin_options
- widget_recent-comments
- db_upgraded
- validation_on_zero_ballance
- ...
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Almost there, just fix the following server-side errors
- 6 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=debounce_email_validator_about
- > Warning in wp-includes/pluggable.php+1438
Cannot modify header information - headers already sent by (output started at wp-includes/script-loader.php:2838)
SRP 50% 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
- 5× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_url() in wp-content/plugins/debounce-io-email-validator/src/admin-partials/about.php:5
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/debounce-io-email-validator/src/admin-partials/translate.php:24
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_url() in wp-content/plugins/debounce-io-email-validator/src/admin-partials/settings.php:10
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_url() in wp-content/plugins/debounce-io-email-validator/src/admin-partials/tools.php:5
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/debounce-io-email-validator/plugin.php:18
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
No browser errors were detected
Optimizations
Plugin configuration 93% 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
10 plugin tags: email checker, email verifier, email, woocommerce, spam-trap...
debounce-io-email-validator/plugin.php 85% from 13 tests
The primary PHP file in "DeBounce.io Email Validator" version 5.2.0 is used by WordPress to initiate all plugin functionality
It is important to fix the following:
- Main file name: Name the main plugin file the same as the plugin slug ("debounce-io-email-validator.php" instead of "plugin.php")
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 252 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
Everything looks great! No dangerous files found in this plugin1,848 lines of code in 23 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 19 | 423 | 531 | 1,454 |
CSS | 1 | 41 | 1 | 203 |
JavaScript | 3 | 37 | 1 | 191 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.33 |
Average class complexity | 12.42 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 48.00 |
Average method complexity | 2.44 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 18.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 12 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 12 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 96 | |
▷ Static methods | 2 | 2.08% |
▷ Public methods | 93 | 96.88% |
▷ Protected methods | 2 | 2.08% |
▷ Private methods | 1 | 1.04% |
Functions | 6 | |
▷ Named functions | 3 | 50.00% |
▷ Anonymous functions | 3 | 50.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
PNG files should be compressed to save space and minimize bandwidth usage
1 PNG file occupies 0.01MB with 0.00MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/img/debounce-logo.png | 6.64KB | 4.83KB | ▼ 27.37% |