Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▼1.17MB] [CPU: ▼43.51ms] Passed 4 tests
Server-side resources used by Email Validation Filter for Contact Form 7
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.80 ▼0.66 | 14.43 ▼29.34 |
Dashboard /wp-admin | 2.84 ▼0.46 | 16.99 ▼36.00 |
Posts /wp-admin/edit.php | 2.84 ▼0.52 | 19.28 ▼33.59 |
Add New Post /wp-admin/post-new.php | 2.84 ▼3.05 | 19.51 ▼75.10 |
Media Library /wp-admin/upload.php | 2.84 ▼0.39 | 18.00 ▼19.43 |
Server storage [IO: ▲0.20MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
The plugin installed successfully
Filesystem: 5 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_recent-comments |
theysaidso_admin_options |
widget_recent-posts |
widget_theysaidso_widget |
db_upgraded |
Browser metrics Passed 4 tests
An overview of browser requirements for Email Validation Filter for Contact Form 7
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,792 ▲31 | 14.23 ▲0.03 | 1.58 ▼0.00 | 42.37 ▼1.02 |
Dashboard /wp-admin | 2,192 ▲14 | 5.57 ▼0.14 | 91.09 ▼21.84 | 43.77 ▼3.56 |
Posts /wp-admin/edit.php | 2,103 ▲3 | 1.97 ▼0.05 | 40.50 ▲2.53 | 38.69 ▲6.10 |
Add New Post /wp-admin/post-new.php | 1,529 ▲1 | 23.20 ▲0.15 | 688.34 ▲62.63 | 57.23 ▼10.01 |
Media Library /wp-admin/upload.php | 1,406 ▲9 | 4.19 ▼0.20 | 98.78 ▼0.35 | 43.60 ▲0.84 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
You still need to fix the following
- Uninstall procedure had uncaught errors
- > Warning in wp-content/plugins/email-validation-filter-for-contact-form-7/wp-contact-form-7_email-validation-filter.php+59
Use of undefined constant WPCF7_VERSION - assumed 'WPCF7_VERSION' (this will throw an Error in a future version of PHP)
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_recent-posts
- can_compress_scripts
- db_upgraded
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-comments
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
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: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Please fix the following items
- 1× 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/email-validation-filter-for-contact-form-7/wp-contact-form-7_email-validation-filter.php:13
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 90% 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:
- Screenshots: Screenshot #1 (Email Validation Settings Page.) image not found
email-validation-filter-for-contact-form-7/wp-contact-form-7_email-validation-filter.php 85% from 13 tests
The principal PHP file in "Email Validation Filter for Contact Form 7" v. 1.0.2 is loaded by WordPress automatically on each request
It is important to fix the following:
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("email-validation-filter-for-contact-form-7.php" instead of "wp-contact-form-7_email-validation-filter.php")
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 158 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
There were no executable files found in this plugin333 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 39 | 14 | 275 |
PO File | 1 | 20 | 26 | 58 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for 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.29 |
Average class complexity | 28.00 |
▷ Minimum class complexity | 28.00 |
▷ Maximum class complexity | 28.00 |
Average method complexity | 2.06 |
▷ 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 | 18 | |
▷ Static methods | 1 | 5.56% |
▷ Public methods | 16 | 88.89% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 2 | 11.11% |
Functions | 2 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 2 | 100.00% |
Constants | 4 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 4 | 100.00% |
▷ Public constants | 4 | 100.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.18MB with 0.12MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-1.png | 179.75KB | 55.87KB | ▼ 68.92% |