Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The following installer errors require your attention
- This plugin did not install gracefully
- > Deprecated in wp-content/plugins/wp-mail-validator/email-validator.inc.php+202
Array and string offset access syntax with curly braces is deprecated
Server metrics [RAM: ▼1.79MB] [CPU: ▼50.31ms] Passed 4 tests
An overview of server-side resources used by WP-Mail-Validator
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.19 ▼1.27 | 5.00 ▼36.14 |
Dashboard /wp-admin | 2.21 ▼1.09 | 7.21 ▼42.36 |
Posts /wp-admin/edit.php | 2.21 ▼1.14 | 7.90 ▼37.13 |
Add New Post /wp-admin/post-new.php | 2.21 ▼3.67 | 8.65 ▼85.61 |
Media Library /wp-admin/upload.php | 2.21 ▼1.02 | 6.42 ▼27.80 |
WP-Mail-Validator /wp-admin/options-general.php?page=wp-mail-validator | 2.21 | 5.98 |
Server storage [IO: ▲0.09MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin was installed successfully
Filesystem: 8 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
can_compress_scripts |
db_upgraded |
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-comments |
Browser metrics Passed 4 tests
An overview of browser requirements for WP-Mail-Validator
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲69 | 14.74 ▲0.55 | 1.59 ▼0.22 | 45.41 ▼3.18 |
Dashboard /wp-admin | 2,210 ▲25 | 4.84 ▼0.17 | 107.70 ▼8.31 | 40.62 ▼8.03 |
Posts /wp-admin/edit.php | 2,093 ▲4 | 1.97 ▼0.08 | 40.30 ▲4.74 | 35.07 ▼0.11 |
Add New Post /wp-admin/post-new.php | 1,536 ▲22 | 23.51 ▲5.91 | 587.55 ▼70.81 | 46.92 ▼11.68 |
Media Library /wp-admin/upload.php | 1,392 ▲4 | 4.22 ▼0.07 | 95.36 ▼5.94 | 41.74 ▼7.96 |
WP-Mail-Validator /wp-admin/options-general.php?page=wp-mail-validator | 1,089 | 1.73 | 29.73 | 27.80 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
Please fix the following items
- This plugin did not uninstall without warnings or errors
- > Deprecated in wp-content/plugins/wp-mail-validator/email-validator.inc.php+202
Array and string offset access syntax with curly braces is deprecated
- The uninstall procedure has failed, leaving 6 options in the database
- db_upgraded
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-comments
- can_compress_scripts
- widget_recent-posts
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Smoke test failed, please fix the following
- > GET request to /wp-admin/options-general.php?page=wp-mail-validator
- > Deprecated in wp-content/plugins/wp-mail-validator/email-validator.inc.php+202
Array and string offset access syntax with curly braces is deprecated
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
Please fix the following
- 1× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function load_plugin_textdomain() in wp-content/plugins/wp-mail-validator/wp-mail-validator.php:16
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine on the user side
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
These attributes need your attention:
- Tags: You are using too many tags: 12 tag instead of maximum 10
wp-mail-validator/wp-mail-validator.php 92% from 13 tests
The main PHP file in "WP-Mail-Validator" ver. 0.6.5 adds more information about the plugin and also serves as the entry point for this plugin
The following require your attention:
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 200 characters long)
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
No dangerous file extensions were detected687 lines of code in 6 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 137 | 69 | 618 |
Markdown | 1 | 21 | 0 | 51 |
JavaScript | 2 | 0 | 2 | 18 |
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 | 0.48 |
Average class complexity | 27.00 |
▷ Minimum class complexity | 27.00 |
▷ Maximum class complexity | 27.00 |
Average method complexity | 3.36 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 6.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 11 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 11 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 13 | |
▷ Named functions | 13 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 7 | |
▷ Global constants | 7 | 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