Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
This plugin's installer ran successfully
Server metrics [RAM: ▲0.08MB] [CPU: ▼7.78ms] Passed 4 tests
Analyzing server-side resources used by Dilli Email Validator
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.03 | 44.79 ▲2.85 |
Dashboard /wp-admin | 3.40 ▲0.09 | 55.87 ▼0.97 |
Posts /wp-admin/edit.php | 3.51 ▲0.15 | 49.53 ▼17.43 |
Add New Post /wp-admin/post-new.php | 5.98 ▲0.09 | 87.62 ▼15.58 |
Media Library /wp-admin/upload.php | 3.32 ▲0.09 | 41.07 ▲3.37 |
Email Validation /wp-admin/options-general.php?page=dilli-email-validator | 3.29 | 34.78 |
Server storage [IO: ▲0.03MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin installed successfully
Filesystem: 9 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
widget_recent-comments |
db_upgraded |
theysaidso_admin_options |
can_compress_scripts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
A check of browser resources used by Dilli Email Validator
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,802 ▲16 | 14.27 ▼0.10 | 1.78 ▼0.60 | 43.87 ▼2.03 |
Dashboard /wp-admin | 2,205 ▲31 | 5.52 ▼0.14 | 86.32 ▼3.17 | 41.54 ▲1.46 |
Posts /wp-admin/edit.php | 2,113 ▲10 | 2.01 ▲0.05 | 35.67 ▼6.70 | 37.10 ▲0.76 |
Add New Post /wp-admin/post-new.php | 1,538 ▲12 | 23.59 ▲0.49 | 690.98 ▲2.90 | 52.38 ▼4.80 |
Media Library /wp-admin/upload.php | 1,410 ▲16 | 4.16 ▼0.01 | 101.10 ▼2.02 | 44.21 ▲0.45 |
Email Validation /wp-admin/options-general.php?page=dilli-email-validator | 849 | 2.07 | 23.08 | 31.73 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
It is recommended to fix the following
- Zombie WordPress options detected upon uninstall: 6 options
- theysaidso_admin_options
- db_upgraded
- widget_recent-comments
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-posts
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 everything seems fine, this is not an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
The following issues need your attention
- 2× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/dilli-email-validator/admin_options.php:10
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/dilli-email-validator/plugin.php:36
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
There were no browser issues found
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
Attributes that require attention:
- Tags: Please reduce the number of tags, currently 26 tag instead of maximum 10
dilli-email-validator/plugin.php 85% from 13 tests
The primary PHP file in "Dilli Email Validator" version 1.5.9.0 is used by WordPress to initiate all plugin functionality
The following require your attention:
- Main file name: Name the main plugin file the same as the plugin slug ("dilli-email-validator.php" instead of "plugin.php")
- Description: Keep the plugin description shorter than 140 characters (currently 269 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
Success! There were no dangerous files found in this plugin433 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 69 | 49 | 357 |
PO File | 1 | 26 | 28 | 76 |
PHP code Passed 2 tests
A brief analysis 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.47 |
Average class complexity | 28.50 |
▷ Minimum class complexity | 27.00 |
▷ Maximum class complexity | 30.00 |
Average method complexity | 4.12 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 25.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 18 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 18 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 2 | |
▷ Named functions | 1 | 50.00% |
▷ Anonymous functions | 1 | 50.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
1 PNG file occupies 0.00MB with 0.00MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screen-icon.png | 2.72KB | 1.70KB | ▼ 37.73% |