Benchmarks
Plugin footprint 82% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.16MB] [CPU: ▼6.95ms] 75% from 4 tests
This is a short check of server-side resources used by Contact Form 7 Widget For Elementor Page Builder & Gutenberg Blocks
It is recommended to improve the following
- CPU: Try to keep total CPU usage under 500.00ms (currently 1,434.22ms on /wp-admin/admin.php?page=ht-contactform_extensions)
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.62 ▲0.15 | 32.91 ▼6.67 |
Dashboard /wp-admin | 3.47 ▲0.16 | 46.46 ▼7.42 |
Posts /wp-admin/edit.php | 3.58 ▲0.22 | 45.22 ▼0.98 |
Add New Post /wp-admin/post-new.php | 6.07 ▲0.18 | 82.77 ▼12.73 |
Media Library /wp-admin/upload.php | 3.39 ▲0.16 | 37.02 ▲2.16 |
HT Contact Form /wp-admin/admin.php?page=htcontact-form | 3.36 | 33.83 |
Recommendations /wp-admin/admin.php?page=ht-contactform_extensions | 7.67 | 1,434.22 |
Server storage [IO: ▲0.27MB] [DB: ▲0.67MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 38 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-posts |
db_upgraded |
can_compress_scripts |
widget_recent-comments |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
An overview of browser requirements for Contact Form 7 Widget For Elementor Page Builder & Gutenberg Blocks
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,825 ▲64 | 14.55 ▼0.01 | 1.59 ▼0.00 | 39.20 ▲0.25 |
Dashboard /wp-admin | 2,231 ▲54 | 5.66 ▼0.00 | 84.17 ▼1.92 | 44.59 ▲3.45 |
Posts /wp-admin/edit.php | 2,158 ▲55 | 2.41 ▲0.41 | 37.86 ▲0.37 | 33.65 ▲0.45 |
Add New Post /wp-admin/post-new.php | 1,567 ▲41 | 23.04 ▼0.01 | 661.85 ▲9.92 | 64.95 ▲2.38 |
Media Library /wp-admin/upload.php | 1,448 ▲45 | 4.36 ▲0.19 | 97.41 ▲3.47 | 48.26 ▲4.89 |
HT Contact Form /wp-admin/admin.php?page=htcontact-form | 987 | 2.23 | 28.12 | 32.41 |
Recommendations /wp-admin/admin.php?page=ht-contactform_extensions | 2,834 | 2.36 | 33.90 | 67.92 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.67MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
You still need to fix the following
- Zombie WordPress options detected upon uninstall: 6 options
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-comments
- widget_recent-posts
- db_upgraded
- theysaidso_admin_options
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Smoke test failed, please fix the following
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=htcontact-form
- > request to
- > Notice in wp-config.php+20
Undefined index: REQUEST_METHOD
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
Please take a closer look at the following
- 3× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/ht-contactform/include/dashboard.php:42
- > PHP Fatal error
Uncaught Error: Call to undefined function HtContactForm\\Block\\add_action() in wp-content/plugins/ht-contactform/blocks/block-init.php:33
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_die() in wp-content/plugins/ht-contactform/index.php:3
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine on the user side
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
Attributes that require attention:
- Screenshots: These screenshots need descriptions #4, #5, #6, #7 in ht-contactform/assets to your readme.txt
ht-contactform/contact-form-widget-elementor.php 85% from 13 tests
"Contact Form 7 Widget For Elementor Page Builder & Gutenberg Blocks" version 1.2.0's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
Please take the time to fix the following:
- Domain Path: The domain path points to a folder that does not exist ("/languages")
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("ht-contactform.php" instead of "contact-form-widget-elementor.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
No dangerous file extensions were detected2,343 lines of code in 15 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 9 | 275 | 163 | 1,714 |
JSON | 1 | 0 | 0 | 216 |
JavaScript | 3 | 57 | 50 | 209 |
CSS | 2 | 27 | 12 | 204 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.28 |
Average class complexity | 26.25 |
▷ Minimum class complexity | 4.00 |
▷ Maximum class complexity | 53.00 |
Average method complexity | 4.06 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 29.00 |
Code structure | ||
---|---|---|
Namespaces | 4 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 4 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 4 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 33 | |
▷ Static methods | 2 | 6.06% |
▷ Public methods | 27 | 81.82% |
▷ Protected methods | 2 | 6.06% |
▷ Private methods | 4 | 12.12% |
Functions | 10 | |
▷ Named functions | 10 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 8 | |
▷ Global constants | 8 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
21 PNG files occupy 0.11MB with 0.08MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/icon/white-plus.png | 1.06KB | 0.14KB | ▼ 87.00% |
assets/images/icon/rating.png | 3.91KB | 1.85KB | ▼ 52.56% |
assets/images/extensions/woolentor-addons-pro.png | 3.20KB | 1.69KB | ▼ 47.09% |
assets/images/extensions/whols-pro.png | 15.30KB | 7.40KB | ▼ 51.65% |
(invalid) assets/images/extensions/ht-menu.png | 2.85KB | 0.00KB | ▼ 100.00% |