Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Installer ran successfully
Server metrics [RAM: ▼1.76MB] [CPU: ▼185.49ms] Passed 4 tests
This is a short check of server-side resources used by Gravity Forms - Help Scout Docs Search Field
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 1.87 ▼0.97 | 5.35 ▼28.71 |
Dashboard /wp-admin | 1.89 ▼1.17 | 5.74 ▼37.60 |
Posts /wp-admin/edit.php | 1.89 ▼1.22 | 6.22 ▼38.77 |
Add New Post /wp-admin/post-new.php | 1.89 ▼3.55 | 6.10 ▼636.88 |
Media Library /wp-admin/upload.php | 1.89 ▼1.12 | 5.76 ▼26.89 |
Server storage [IO: ▲0.05MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
There were no storage issued detected upon installing this plugin
Filesystem: 5 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
Gravity Forms - Help Scout Docs Search Field: an overview of browser usage
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,679 ▲107 | 15.94 ▲0.28 | 8.16 ▼2.61 | 43.89 ▼3.28 |
Dashboard /wp-admin | 2,973 ▲39 | 6.11 ▲0.15 | 135.05 ▼11.20 | 102.09 ▼6.07 |
Posts /wp-admin/edit.php | 2,739 ▼0 | 2.72 ▲0.01 | 71.27 ▲5.12 | 88.47 ▼6.40 |
Add New Post /wp-admin/post-new.php | 1,672 ▼200 | 18.83 ▼0.33 | 341.96 ▼40.13 | 107.51 ▼1.26 |
Media Library /wp-admin/upload.php | 1,810 ▲3 | 5.02 ▼0.03 | 144.04 ▼1.18 | 117.84 ▼1.01 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
It is recommended to fix the following
- Uninstall procedure validation failed for this plugin
- > User notice in wp-includes/functions.php+5663
PW_GF_HS_Search::__construct was called incorrectly. The Help Scout Docs Search Field plugin requires a base URL. Define it using the `HELPSCOUT_DOCS_BASE_URL` constant, or set it using the `gf_helpscout_docs_base_url` filter Please see Debugging in WordPress for more information. (This message was added in version 3.0.2.)
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 | 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
- 1× 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/gravity-forms-help-scout-search/gravity-forms-help-scout-search.php:184
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser errors were detected
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
4 plugin tags: help scout, gravity forms, helpscout, documentation
gravity-forms-help-scout-search/gravity-forms-help-scout-search.php Passed 13 tests
"Gravity Forms - Help Scout Docs Search Field" version 3.0.2's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
55 characters long description:
Adds a special text field for searching Help Scout docs
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 detected256 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 2 | 85 | 50 | 164 |
PHP | 1 | 33 | 59 | 92 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.33 |
Average class complexity | 10.00 |
▷ Minimum class complexity | 10.00 |
▷ Maximum class complexity | 10.00 |
Average method complexity | 2.29 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 4.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 | 6 | 85.71% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 1 | 14.29% |
Functions | 1 | |
▷ Named functions | 1 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 2 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 2 | 100.00% |
▷ Public constants | 2 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
There were not PNG files found in your plugin