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
Install script ran successfully
Server metrics [RAM: ▲0.09MB] [CPU: ▼9.42ms] Passed 4 tests
Analyzing server-side resources used by Gravity Forms styler for Elementor Page Builder
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.56 ▲0.09 | 41.54 ▼2.34 |
Dashboard /wp-admin | 3.39 ▲0.09 | 52.09 ▼16.36 |
Posts /wp-admin/edit.php | 3.44 ▲0.09 | 51.08 ▼3.14 |
Add New Post /wp-admin/post-new.php | 5.97 ▲0.09 | 85.21 ▼15.84 |
Media Library /wp-admin/upload.php | 3.31 ▲0.09 | 39.98 ▲3.36 |
Server storage [IO: ▲0.33MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin was installed successfully
Filesystem: 14 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_recent-comments |
db_upgraded |
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-posts |
Browser metrics Passed 4 tests
An overview of browser requirements for Gravity Forms styler for Elementor Page Builder
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,841 ▲95 | 13.20 ▼1.10 | 1.87 ▼0.22 | 43.90 ▼3.38 |
Dashboard /wp-admin | 2,233 ▲45 | 5.91 ▲0.03 | 110.04 ▼14.58 | 72.07 ▲27.79 |
Posts /wp-admin/edit.php | 2,131 ▲42 | 2.05 ▲0.02 | 47.06 ▲8.65 | 51.91 ▲18.41 |
Add New Post /wp-admin/post-new.php | 1,549 ▲21 | 23.16 ▲4.96 | 664.35 ▼18.31 | 55.40 ▼3.38 |
Media Library /wp-admin/upload.php | 1,430 ▲42 | 4.22 ▲0.03 | 99.14 ▼15.35 | 66.28 ▲20.09 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Please fix the following items
- Zombie WordPress options were found after uninstall: 6 options
- widget_recent-comments
- db_upgraded
- widget_theysaidso_widget
- widget_recent-posts
- theysaidso_admin_options
- can_compress_scripts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
The smoke test was a success, however most plugin functionality was not tested
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
Almost there! Just 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 Elementor\\add_action() in wp-content/plugins/elementor-gravity-forms/includes/elementor-helper.php:14
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
There were no browser issues found
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
5 plugin tags: gravity form, gravity form styler, elementor addon, elementor widget, elementor
elementor-gravity-forms/elementor-gravity-form.php 92% from 13 tests
The main PHP script in "Gravity Forms styler for Elementor Page Builder" version 1.0.0 is automatically included on every request by WordPress
Please take the time to fix the following:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("elementor-gravity-forms.php" instead of "elementor-gravity-form.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
No dangerous file extensions were detected7,452 lines of code in 12 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 3 | 946 | 749 | 5,935 |
PHP | 6 | 158 | 114 | 1,177 |
CSS | 3 | 23 | 13 | 340 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.21 |
Average class complexity | 13.67 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 31.00 |
Average method complexity | 3.24 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 29.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 3 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 3 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 17 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 14 | 82.35% |
▷ Protected methods | 3 | 17.65% |
▷ Private methods | 0 | 0.00% |
Functions | 5 | |
▷ Named functions | 5 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 2 | |
▷ Global constants | 2 | 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
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 |
admin/assets/images/ea-icon.png | 1.15KB | 0.26KB | ▼ 77.51% |