Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Installer ran successfully
Server metrics [RAM: ▼7.88MB] [CPU: ▼1,612,920.42ms] Passed 4 tests
This is a short check of server-side resources used by Disposable Email Blocker - WPForms
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.52 ▼31.51 | 40.20 ▼6,451,643.24 |
Dashboard /wp-admin | 3.36 ▼0.03 | 50.19 ▼16.28 |
Posts /wp-admin/edit.php | 3.41 ▲0.01 | 51.81 ▼1.18 |
Add New Post /wp-admin/post-new.php | 5.94 ▲0.01 | 94.98 ▼20.98 |
Media Library /wp-admin/upload.php | 3.29 ▲0.01 | 36.58 ▲0.73 |
Server storage [IO: ▲2.77MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin installed successfully
Filesystem: 5 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_recent-comments |
widget_theysaidso_widget |
db_upgraded |
widget_recent-posts |
theysaidso_admin_options |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Disposable Email Blocker - WPForms
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,789 ▲43 | 14.72 ▲0.44 | 1.79 ▲0.07 | 41.67 ▼2.49 |
Dashboard /wp-admin | 2,198 ▲21 | 5.58 ▲0.00 | 85.26 ▼7.67 | 39.10 ▼2.64 |
Posts /wp-admin/edit.php | 2,100 ▲3 | 1.95 ▼0.05 | 39.99 ▲3.32 | 36.26 ▲1.82 |
Add New Post /wp-admin/post-new.php | 1,531 ▲5 | 23.24 ▼0.33 | 583.62 ▼144.86 | 53.21 ▼12.38 |
Media Library /wp-admin/upload.php | 1,400 ▼0 | 4.19 ▲0.00 | 101.48 ▼8.37 | 46.83 ▼2.26 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
These items require your attention
- The uninstall procedure has failed, leaving 6 options in the database
- db_upgraded
- can_compress_scripts
- widget_recent-posts
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-comments
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Good news, no errors were detected
SRP Passed 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
Looking good! No server-side errors or output on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser errors were detected
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
5 plugin tags: temporary-email, blocker, disposable-email-blocker, wpforms, temporary-email-blocker
disposable-email-blocker-wpforms/disposable-email-blocker-wpforms.php Passed 13 tests
The principal PHP file in "Disposable Email Blocker - WPForms" v. 1.0.2 is loaded by WordPress automatically on each request
78 characters long description:
Prevent Submitting Spammy Disposable/Temporary Emails On WPForms Contact Form.
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
No dangerous file extensions were detected74,214 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JSON | 2 | 0 | 0 | 74,164 |
PHP | 1 | 16 | 20 | 50 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.24 |
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 | 3 | |
▷ Named functions | 2 | 66.67% |
▷ Anonymous functions | 1 | 33.33% |
Constants | 3 | |
▷ Global constants | 3 | 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
PNG images were not found in this plugin