Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Please fix the following installer errors
- This plugin did not install gracefully
- > Notice in wp-content/plugins/clearout-email-validator/src/clearout-plugin-page-settings.php+220
Trying to access array offset on value of type bool
Server metrics [RAM: ▲0.22MB] [CPU: ▲0.79ms] Passed 4 tests
Analyzing server-side resources used by Clearout Email Validator - Real Time Email Validation on Wordpress Forms
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.68 ▲0.22 | 40.69 ▲1.30 |
Dashboard /wp-admin | 3.53 ▲0.23 | 50.27 ▲1.10 |
Posts /wp-admin/edit.php | 3.65 ▲0.29 | 52.90 ▲2.20 |
Add New Post /wp-admin/post-new.php | 6.12 ▲0.22 | 97.09 ▲5.51 |
Media Library /wp-admin/upload.php | 3.46 ▲0.22 | 37.00 ▼1.42 |
Clearout Email Validator /wp-admin/options-general.php?page=clearout-email-validator | 3.42 | 36.46 |
Server storage [IO: ▲0.23MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
There were no storage issued detected upon installing this plugin
Filesystem: 15 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_recent-comments |
can_compress_scripts |
widget_recent-posts |
theysaidso_admin_options |
db_upgraded |
widget_theysaidso_widget |
clearout_email_validator |
Browser metrics Passed 4 tests
An overview of browser requirements for Clearout Email Validator - Real Time Email Validation on Wordpress Forms
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,876 ▲115 | 14.71 ▲0.36 | 1.96 ▲0.04 | 42.44 ▼1.93 |
Dashboard /wp-admin | 2,257 ▲89 | 5.67 ▲0.10 | 87.42 ▼2.89 | 43.11 ▲2.79 |
Posts /wp-admin/edit.php | 2,162 ▲62 | 2.08 ▲0.09 | 40.38 ▲2.14 | 38.45 ▲1.31 |
Add New Post /wp-admin/post-new.php | 1,574 ▲48 | 23.25 ▼0.42 | 629.49 ▼74.39 | 54.45 ▼9.34 |
Media Library /wp-admin/upload.php | 1,462 ▲65 | 4.35 ▲0.25 | 99.69 ▼23.47 | 46.23 ▼1.81 |
Clearout Email Validator /wp-admin/options-general.php?page=clearout-email-validator | 1,333 | 2.25 | 32.60 | 51.26 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
These items require your attention
- Uninstall procedure had uncaught errors
- > Notice in wp-content/plugins/clearout-email-validator/src/clearout-plugin-page-settings.php+254
Undefined index: api_key
- Zombie WordPress options detected upon uninstall: 6 options
- theysaidso_admin_options
- db_upgraded
- widget_recent-posts
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-comments
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check 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 | 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
- 4× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Warning
require_once(ABSPATHwp-admin/includes/plugin.php): failed to open stream: No such file or directory in wp-content/plugins/clearout-email-validator/plugin.php on line 31
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/clearout-email-validator/src/clearout-plugin.php:9
- > PHP Fatal error
require_once(): Failed opening required 'ABSPATHwp-admin/includes/plugin.php' (include_path='.:/usr/share/php') in wp-content/plugins/clearout-email-validator/plugin.php on line 31
- > PHP Warning
Use of undefined constant ABSPATH - assumed 'ABSPATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/clearout-email-validator/plugin.php on line 31
- > PHP Warning
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 90% from 29 tests
readme.txt 94% from 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
Attributes that need to be fixed:
- Tags: Please delete some tags, you are using 12 tag instead of maximum 10
clearout-email-validator/plugin.php 85% from 13 tests
The main PHP script in "Clearout Email Validator - Real Time Email Validation on Wordpress Forms" version 3.0.3 is automatically included on every request by WordPress
The following require your attention:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("clearout-email-validator.php" instead of "plugin.php")
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 328 characters long)
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
No dangerous file extensions were detected3,540 lines of code in 12 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 8 | 331 | 515 | 2,392 |
JavaScript | 2 | 61 | 39 | 908 |
CSS | 2 | 44 | 13 | 240 |
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.57 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 127 | |
▷ Named functions | 127 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 14 | |
▷ Global constants | 14 | 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
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/clearout_wp_logo.png | 5.75KB | 3.54KB | ▼ 38.53% |