Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Installer ran successfully
Server metrics [RAM: ▲0.09MB] [CPU: ▼14.48ms] Passed 4 tests
Analyzing server-side resources used by MailboxValidator Email Validator
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.72 ▲0.26 | 35.83 ▼7.85 |
Dashboard /wp-admin | 3.46 ▲0.12 | 35.17 ▼25.65 |
Posts /wp-admin/edit.php | 3.53 ▲0.17 | 38.50 ▼4.01 |
Add New Post /wp-admin/post-new.php | 5.70 ▼0.18 | 80.79 ▼20.41 |
Media Library /wp-admin/upload.php | 3.47 ▲0.24 | 33.07 ▲1.85 |
MailboxValidator Email Validator /wp-admin/options-general.php?page=mailboxvalidator-email-validator | 3.44 | 29.10 |
Server storage [IO: ▲0.15MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 22 new files
Database: 1 new table, 6 new options
New tables |
---|
wp_mailboxvalidator_email_validator_log |
New WordPress options |
---|
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-comments |
widget_recent-posts |
db_upgraded |
theysaidso_admin_options |
Browser metrics Passed 4 tests
MailboxValidator Email Validator: an overview of browser usage
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,818 ▲71 | 14.65 ▲0.50 | 1.56 ▼0.16 | 35.71 ▼8.47 |
Dashboard /wp-admin | 2,223 ▲42 | 5.22 ▼0.49 | 101.10 ▼4.17 | 44.93 ▼4.79 |
Posts /wp-admin/edit.php | 2,131 ▲31 | 2.39 ▲0.45 | 44.86 ▲6.15 | 34.60 ▲0.84 |
Add New Post /wp-admin/post-new.php | 1,557 ▲22 | 25.26 ▲6.74 | 631.04 ▼38.75 | 46.15 ▼13.01 |
Media Library /wp-admin/upload.php | 1,431 ▲34 | 4.72 ▲0.46 | 99.85 ▼3.73 | 42.39 ▼2.59 |
MailboxValidator Email Validator /wp-admin/options-general.php?page=mailboxvalidator-email-validator | 1,017 | 2.40 | 33.79 | 36.54 |
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
The following items require your attention
- Zombie WordPress options were found after uninstall: 6 options
- db_upgraded
- can_compress_scripts
- theysaidso_admin_options
- widget_recent-comments
- widget_recent-posts
- widget_theysaidso_widget
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Please fix the following server-side errors
- > GET request to /wp-admin/options-general.php?page=mailboxvalidator-email-validator
- > Notice in wp-content/plugins/mailboxvalidator-email-validator/mailboxvalidator-email-validator.php+542
Trying to access array offset on value of type bool
SRP 50% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Please fix the following items
- 4× PHP files trigger errors when accessed directly with GET requests:
- > PHP Warning
include_once(): Failed opening 'ABSPATHwp-admin/includes/plugin.php' for inclusion (include_path='.:/usr/share/php') in wp-content/plugins/mailboxvalidator-email-validator/mailboxvalidator-email-validator.php on line 20
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/mailboxvalidator-email-validator/mailboxvalidator-email-validator.php:59
- > PHP Warning
Use of undefined constant ABSPATH - assumed 'ABSPATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/mailboxvalidator-email-validator/mailboxvalidator-email-validator.php on line 20
- > PHP Warning
include_once(ABSPATHwp-admin/includes/plugin.php): failed to open stream: No such file or directory in wp-content/plugins/mailboxvalidator-email-validator/mailboxvalidator-email-validator.php on line 20
- > PHP Warning
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
Attributes that require attention:
- Screenshots: Add descriptions for screenshots #10, #11, #2, #3, #4, #5, #6, #7, #8, #9 in mailboxvalidator-email-validator/assets to your readme.txt
mailboxvalidator-email-validator/mailboxvalidator-email-validator.php 92% from 13 tests
The principal PHP file in "MailboxValidator Email Validator" v. 1.6.0 is loaded by WordPress automatically on each request
It is important to fix the following:
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 235 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
Success! There were no dangerous files found in this plugin1,860 lines of code in 17 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 10 | 274 | 328 | 1,422 |
Markdown | 1 | 51 | 0 | 164 |
PO File | 1 | 42 | 0 | 138 |
JavaScript | 3 | 13 | 42 | 70 |
JSON | 2 | 0 | 0 | 66 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.51 |
Average class complexity | 55.20 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 211.00 |
Average method complexity | 4.82 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 25.00 |
Code structure | ||
---|---|---|
Namespaces | 2 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 5 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 5 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 72 | |
▷ Static methods | 3 | 4.17% |
▷ Public methods | 62 | 86.11% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 10 | 13.89% |
Functions | 2 | |
▷ Named functions | 1 | 50.00% |
▷ Anonymous functions | 1 | 50.00% |
Constants | 1 | |
▷ Global constants | 1 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
There were not PNG files found in your plugin