Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Installer ran successfully
Server metrics [RAM: ▲0.00MB] [CPU: ▼3.92ms] Passed 4 tests
This is a short check of server-side resources used by Go high level (GHL) extension for Gravity Form
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.00 | 39.87 ▼1.26 |
Dashboard /wp-admin | 3.31 ▲0.00 | 49.31 ▼4.42 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 54.46 ▲4.96 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 91.78 ▼11.59 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 40.88 ▲1.59 |
Server storage [IO: ▲0.05MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 23 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
widget_recent-comments |
widget_theysaidso_widget |
db_upgraded |
can_compress_scripts |
theysaidso_admin_options |
Browser metrics Passed 4 tests
Go high level (GHL) extension for Gravity Form: an overview of browser usage
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,789 ▲28 | 14.69 ▲0.41 | 1.64 ▼0.26 | 43.85 ▼0.98 |
Dashboard /wp-admin | 2,198 ▲18 | 5.63 ▼0.03 | 87.33 ▼3.36 | 40.49 ▼4.63 |
Posts /wp-admin/edit.php | 2,100 ▼0 | 1.97 ▲0.01 | 38.29 ▼0.03 | 35.38 ▲1.70 |
Add New Post /wp-admin/post-new.php | 1,526 ▼2 | 23.13 ▲0.00 | 663.04 ▼25.06 | 70.21 ▲8.63 |
Media Library /wp-admin/upload.php | 1,403 ▲6 | 4.18 ▲0.08 | 97.01 ▼11.80 | 39.70 ▼8.50 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
These items require your attention
- This plugin did not uninstall successfully, leaving 6 options in the database
- can_compress_scripts
- db_upgraded
- widget_recent-posts
- widget_theysaidso_widget
- widget_recent-comments
- theysaidso_admin_options
Smoke tests 50% 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 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 take a closer look at the following
- 1× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/go-high-level-extension-for-gravity-form/public/partials/ghl-gf-extension-public-display.php
- 2× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_attr() in wp-content/plugins/go-high-level-extension-for-gravity-form/admin/partials/ghl-gf-extension-admin-display.php:45
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/go-high-level-extension-for-gravity-form/admin/partials/ghl-gf-extension-global-tag.php:3
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser errors were detected
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
6 plugin tags: go high level, addons, ghl, gfapi, extensions...
go-high-level-extension-for-gravity-form/ghl-gf-extension.php 85% from 13 tests
The main file in "Go high level (GHL) extension for Gravity Form" v. 2.1.0 serves as a complement to information provided in readme.txt and as the entry point to the plugin
Please make the necessary changes and fix the following:
- Main file name: Name the main plugin file the same as the plugin slug ("go-high-level-extension-for-gravity-form.php" instead of "ghl-gf-extension.php")
- Text Domain: The text domain is optional since WordPress version 4.6; if you do specify it, it must be the same as the plugin slug
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
There were no executable files found in this plugin414 lines of code in 16 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 13 | 141 | 552 | 330 |
CSS | 2 | 9 | 8 | 81 |
JavaScript | 1 | 2 | 27 | 3 |
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 | 3.43 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 15.00 |
Average method complexity | 1.61 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 12.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 7 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 7 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 28 | |
▷ Static methods | 2 | 7.14% |
▷ Public methods | 23 | 82.14% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 5 | 17.86% |
Functions | 5 | |
▷ Named functions | 5 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 1 | 100.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
There are no PNG files in this plugin