Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.03MB] [CPU: ▼169.56ms] Passed 4 tests
This is a short check of server-side resources used by WP Valid Email
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.87 ▲0.15 | 34.43 ▲11.45 |
Dashboard /wp-admin | 3.09 ▲0.03 | 41.87 ▼2.07 |
Posts /wp-admin/edit.php | 3.14 ▲0.03 | 40.45 ▼0.39 |
Add New Post /wp-admin/post-new.php | 5.44 ▲0.01 | 85.27 ▼674.64 |
Media Library /wp-admin/upload.php | 3.03 ▲0.03 | 31.43 ▼1.13 |
WP Valid Email /wp-admin/options-general.php?page=mmve-valid-email-settings | 3.01 | 22.62 |
Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
There were no storage issued detected upon installing this plugin
Filesystem: 7 new files
Database: no new tables, 1 new option
New WordPress options |
---|
mmve_valid_email_options |
Browser metrics Passed 4 tests
An overview of browser requirements for WP Valid Email
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,802 ▲206 | 16.17 ▲0.62 | 12.79 ▲4.91 | 48.53 ▲2.14 |
Dashboard /wp-admin | 2,975 ▲44 | 5.86 ▼0.07 | 131.71 ▼13.94 | 109.42 ▼9.32 |
Posts /wp-admin/edit.php | 2,744 ▲5 | 2.68 ▼0.01 | 63.74 ▼2.23 | 96.92 ▲4.99 |
Add New Post /wp-admin/post-new.php | 1,503 ▼2,186 | 18.58 ▲3.54 | 353.56 ▼80.08 | 108.53 ▲3.94 |
Media Library /wp-admin/upload.php | 1,812 ▲5 | 5.01 ▼0.01 | 150.59 ▼6.02 | 115.13 ▼5.55 |
WP Valid Email /wp-admin/options-general.php?page=mmve-valid-email-settings | 1,121 | 2.05 | 59.63 | 73.27 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
You still need to fix the following
- Zombie WordPress options were found after uninstall: 1 option
- mmve_valid_email_options
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Even though no errors were found, this is by no means an exhaustive test
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
- 4× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/wp-valid-email/wp-valid-email-main.php:17
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_js() in wp-content/plugins/wp-valid-email/views/wp-valid-email-inline.php:10
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/wp-valid-email/views/wp-valid-email-settings.php:5
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/wp-valid-email/wp-valid-email-main.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
No browser issues were found
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
Please fix the following attributes:
- Tags: Please delete some tags, you are using 14 tag instead of maximum 10
wp-valid-email/wp-valid-email.php 92% from 13 tests
"WP Valid Email" version .1.0's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
It is important to fix the following:
- Version: The version number should be digits and periods (ex. "1.0.3" instead of ".1.0")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
Everything looks great! No dangerous files found in this plugin361 lines of code in 6 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 34 | 10 | 199 |
JavaScript | 2 | 27 | 23 | 162 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.26 |
Average class complexity | 14.00 |
▷ Minimum class complexity | 14.00 |
▷ Maximum class complexity | 14.00 |
Average method complexity | 2.18 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 8.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 | 1 | 9.09% |
▷ Public methods | 11 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 1 | 100.00% |
▷ Public constants | 1 | 100.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