Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.01MB] [CPU: ▼0.79ms] Passed 4 tests
This is a short check of server-side resources used by WPForms Widget For Elementor Page Builder
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 36.26 ▼1.36 |
Dashboard /wp-admin | 3.31 ▲0.01 | 45.33 ▼0.42 |
Posts /wp-admin/edit.php | 3.36 ▲0.01 | 47.86 ▼0.68 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.01 | 84.64 ▲0.07 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 35.07 ▼0.69 |
Server storage [IO: ▲0.16MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin installed successfully
Filesystem: 13 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-comments |
widget_recent-posts |
theysaidso_admin_options |
Browser metrics Passed 4 tests
WPForms Widget For Elementor Page Builder: an overview of browser usage
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,809 ▼2 | 14.39 ▼0.37 | 1.62 ▼0.31 | 42.05 ▼2.16 |
Dashboard /wp-admin | 2,215 ▲6 | 4.85 ▼0.20 | 106.41 ▲11.74 | 35.79 ▼0.61 |
Posts /wp-admin/edit.php | 2,097 ▲8 | 2.06 ▲0.03 | 36.02 ▲2.72 | 33.00 ▼0.76 |
Add New Post /wp-admin/post-new.php | 1,543 ▲29 | 22.96 ▲5.30 | 646.44 ▼10.90 | 49.74 ▼1.52 |
Media Library /wp-admin/upload.php | 1,394 ▲6 | 4.23 ▲0.02 | 93.53 ▼13.56 | 44.82 ▼1.19 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
You still need to fix the following
- The uninstall procedure has failed, leaving 6 options in the database
- can_compress_scripts
- db_upgraded
- widget_recent-posts
- widget_recent-comments
- widget_theysaidso_widget
- theysaidso_admin_options
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
The smoke test was a success, however most plugin functionality was not tested
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 items
- 1× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_die() in wp-content/plugins/ht-wpform/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 93% from 29 tests
readme.txt Passed 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
5 plugin tags: elementor addons, wpforms widget, elementor, wpforms, contact form
ht-wpform/wpform-widget-elementor.php 85% from 13 tests
The main PHP file in "WPForms Widget For Elementor Page Builder" ver. 1.1.5 adds more information about the plugin and also serves as the entry point for this plugin
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: It is recommended to name the main PHP file as the plugin slug ("ht-wpform.php" instead of "wpform-widget-elementor.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
Everything looks great! No dangerous files found in this plugin917 lines of code in 6 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 126 | 40 | 883 |
YAML | 2 | 2 | 0 | 34 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.16 |
Average class complexity | 12.50 |
▷ Minimum class complexity | 6.00 |
▷ Maximum class complexity | 19.00 |
Average method complexity | 2.35 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 7.00 |
Code structure | ||
---|---|---|
Namespaces | 2 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 17 | |
▷ Static methods | 1 | 5.88% |
▷ Public methods | 15 | 88.24% |
▷ Protected methods | 2 | 11.76% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 8 | |
▷ Global constants | 6 | 75.00% |
▷ Class constants | 2 | 25.00% |
▷ Public constants | 2 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
5 PNG files occupy 0.11MB with 0.05MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
.wordpress-org/screenshot-1.png | 11.09KB | 5.51KB | ▼ 50.33% |
.wordpress-org/banner-772x250.png | 61.99KB | 29.45KB | ▼ 52.49% |
.wordpress-org/screenshot-3.png | 11.19KB | 5.49KB | ▼ 50.91% |
.wordpress-org/screenshot-2.png | 21.19KB | 8.46KB | ▼ 60.06% |
.wordpress-org/icon-128x128.png | 5.56KB | 4.05KB | ▼ 27.15% |