Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Installer ran successfully
Server metrics [RAM: ▲0.00MB] [CPU: ▼1.60ms] Passed 4 tests
Analyzing server-side resources used by Unbounce Gravity Forms
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.00 | 35.10 ▼3.95 |
Dashboard /wp-admin | 3.31 ▲0.00 | 45.32 ▲3.67 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 44.96 ▼2.31 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 87.46 ▲3.15 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 34.05 ▼3.30 |
Server storage [IO: ▲0.13MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
There were no storage issued detected upon installing this plugin
Filesystem: 13 new files
Database: no new tables, 7 new options
New WordPress options |
---|
theysaidso_admin_options |
db_upgraded |
widget_recent-comments |
u2g_plugin_version |
widget_recent-posts |
widget_theysaidso_widget |
can_compress_scripts |
Browser metrics Passed 4 tests
A check of browser resources used by Unbounce Gravity Forms
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲54 | 13.28 ▼1.10 | 1.64 ▼0.04 | 42.16 ▲1.00 |
Dashboard /wp-admin | 2,206 ▲20 | 5.85 ▲0.93 | 109.25 ▼14.59 | 41.10 ▼2.43 |
Posts /wp-admin/edit.php | 2,089 ▲11 | 1.99 ▼0.03 | 38.61 ▼1.78 | 35.31 ▼0.49 |
Add New Post /wp-admin/post-new.php | 1,520 ▼13 | 23.01 ▼0.27 | 665.47 ▲33.34 | 57.98 ▼14.10 |
Media Library /wp-admin/upload.php | 1,388 ▲3 | 4.23 ▲0.00 | 102.55 ▼6.19 | 41.14 ▼1.90 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
Please fix the following items
- This plugin did not uninstall successfully, leaving 6 options in the database
- db_upgraded
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-comments
- widget_recent-posts
- can_compress_scripts
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
The smoke test was a success, however most plugin functionality was not tested
SRP 0% 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 output text when accessed directly:
- > /wp-content/plugins/hkinfosoft-unbounce-to-gravity-form-integration/lead-unbounce-to-gravity/index.php
- 7× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/hkinfosoft-unbounce-to-gravity-form-integration/admin/admin_page_view.php:41
- > PHP Warning
Use of undefined constant ABSPATH - assumed 'ABSPATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/hkinfosoft-unbounce-to-gravity-form-integration/admin/U2gManageTable.php on line 8
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/hkinfosoft-unbounce-to-gravity-form-integration/admin/admin_functions.php:6
- > PHP Warning
require_once(ABSPATHwp-admin/includes/class-wp-list-table.php): failed to open stream: No such file or directory in wp-content/plugins/hkinfosoft-unbounce-to-gravity-form-integration/admin/U2gManageTable.php on line 8
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/hkinfosoft-unbounce-to-gravity-form-integration/admin/settings_option_page.php:15
- > PHP Fatal error
require_once(): Failed opening required 'ABSPATHwp-admin/includes/class-wp-list-table.php' (include_path='.:/usr/share/php') in wp-content/plugins/hkinfosoft-unbounce-to-gravity-form-integration/admin/U2gManageTable.php on line 8
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/hkinfosoft-unbounce-to-gravity-form-integration/includes/core_functions.php:5
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
8 plugin tags: gravity form, unbounce to gravity forms, unbounce gravity forms, forms, gravity forms...
hkinfosoft-unbounce-to-gravity-form-integration/UnbounceGravityIntegration.php 92% from 13 tests
The entry point to "Unbounce Gravity Forms" version 1.7 is a PHP file that has certain tags in its header comment area
It is important to fix the following:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("hkinfosoft-unbounce-to-gravity-form-integration.php" instead of "UnbounceGravityIntegration.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
Good job! No executable or dangerous file extensions detected683 lines of code in 10 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 8 | 79 | 98 | 539 |
CSS | 1 | 19 | 3 | 134 |
JavaScript | 1 | 2 | 0 | 10 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.21 |
Average class complexity | 7.00 |
▷ Minimum class complexity | 7.00 |
▷ Maximum class complexity | 7.00 |
Average method complexity | 1.86 |
▷ 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 | 7 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 7 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 27 | |
▷ Named functions | 27 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
2 PNG files occupy 0.09MB with 0.07MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
admin/images/u2gf-icon-30.png | 2.79KB | 0.83KB | ▼ 70.35% |
admin/images/u2gf_pro_banner.png | 92.59KB | 28.50KB | ▼ 69.22% |