Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.06MB] [CPU: ▼8.12ms] Passed 4 tests
An overview of server-side resources used by Email Address Validator
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.04 | 27.72 ▼13.86 |
Dashboard /wp-admin | 3.37 ▲0.06 | 51.18 ▲4.93 |
Posts /wp-admin/edit.php | 3.48 ▲0.12 | 47.74 ▼3.12 |
Add New Post /wp-admin/post-new.php | 5.95 ▲0.06 | 83.32 ▼18.17 |
Media Library /wp-admin/upload.php | 3.29 ▲0.06 | 35.60 ▲2.69 |
Email Validator /wp-admin/options-general.php?page=email-address-validator | 3.27 | 37.92 |
Server storage [IO: ▲0.05MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
The plugin installed successfully
Filesystem: 22 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
widget_theysaidso_widget |
can_compress_scripts |
theysaidso_admin_options |
widget_recent-posts |
widget_recent-comments |
Browser metrics Passed 4 tests
Checking browser requirements for Email Address Validator
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,892 ▲157 | 13.54 ▼0.85 | 8.61 ▲6.73 | 43.15 ▼7.77 |
Dashboard /wp-admin | 2,213 ▲25 | 4.84 ▼1.05 | 106.13 ▲2.92 | 38.14 ▼5.17 |
Posts /wp-admin/edit.php | 2,093 ▲1 | 1.99 ▼0.06 | 38.91 ▼1.76 | 34.92 ▼5.18 |
Add New Post /wp-admin/post-new.php | 1,536 ▲3 | 23.46 ▲0.08 | 675.03 ▲79.01 | 55.93 ▼1.79 |
Media Library /wp-admin/upload.php | 1,392 ▲4 | 4.20 ▼0.05 | 94.03 ▼12.14 | 41.66 ▼2.46 |
Email Validator /wp-admin/options-general.php?page=email-address-validator | 857 | 2.03 | 23.50 | 26.66 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
It is recommended to fix the following
- Zombie WordPress options detected upon uninstall: 6 options
- widget_recent-posts
- widget_recent-comments
- theysaidso_admin_options
- db_upgraded
- can_compress_scripts
- 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
- 3 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=email-address-validator
- > Notice in wp-content/plugins/email-address-validator/admin/partials/email-address-validator-admin-display.php+33
Trying to access array offset on value of type bool
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
Almost there! Just fix the following items
- 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/email-address-validator/admin/partials/email-address-validator-admin-display.php:19
- > 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 97% from 29 tests
readme.txt 94% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
Attributes that need to be fixed:
- Plugin Name: Please specify the plugin name on the first line (
=== email-address-validator ===
)
email-address-validator/email-address-validator.php Passed 13 tests
This is the main PHP file of "Email Address Validator" version 1.1, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
106 characters long description:
Check email address inputs for common typos and fix them with only one click. Easily define custom checks.
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
Success! There were no dangerous files found in this plugin336 lines of code in 16 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 11 | 176 | 473 | 266 |
JavaScript | 3 | 31 | 0 | 53 |
CSS | 2 | 2 | 4 | 17 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.04 |
Average class complexity | 1.43 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 3.00 |
Average method complexity | 1.10 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 3.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 7 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 7 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 29 | |
▷ Static methods | 2 | 6.90% |
▷ Public methods | 24 | 82.76% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 5 | 17.24% |
Functions | 3 | |
▷ Named functions | 3 | 100.00% |
▷ Anonymous functions | 0 | 0.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
PNG files should be compressed to save space and minimize bandwidth usage
No PNG images were found in this plugin