Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Installer ran successfully
Server metrics [RAM: ▲0.00MB] [CPU: ▼8.12ms] Passed 4 tests
A check of server-side resources used by Integrate SharpSpring and Gravity Forms
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 45.57 ▲2.13 |
Dashboard /wp-admin | 3.31 ▲0.01 | 50.71 ▼7.20 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 49.57 ▼2.81 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.01 | 87.02 ▼24.58 |
Media Library /wp-admin/upload.php | 3.24 ▲0.00 | 39.59 ▲5.63 |
Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 5 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-comments |
db_upgraded |
theysaidso_admin_options |
can_compress_scripts |
widget_recent-posts |
Browser metrics Passed 4 tests
A check of browser resources used by Integrate SharpSpring and Gravity Forms
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,789 ▲28 | 14.76 ▲0.35 | 1.89 ▲0.14 | 49.15 ▲6.20 |
Dashboard /wp-admin | 2,183 ▲9 | 5.61 ▲0.08 | 89.80 ▼9.71 | 45.49 ▼1.72 |
Posts /wp-admin/edit.php | 2,103 ▼0 | 2.03 ▲0.07 | 39.70 ▼0.50 | 35.49 ▼0.16 |
Add New Post /wp-admin/post-new.php | 1,526 ▼0 | 23.21 ▲0.13 | 629.65 ▼74.99 | 69.53 ▲17.72 |
Media Library /wp-admin/upload.php | 1,391 ▼3 | 4.19 ▼0.03 | 96.96 ▼9.29 | 42.73 ▼4.37 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
These items require your attention
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_recent-comments
- db_upgraded
- theysaidso_admin_options
- widget_recent-posts
- widget_theysaidso_widget
- 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
Everything seems fine, however this is by no means an exhaustive test
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
The following issues need your attention
- 2× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Class 'GFForms' not found in wp-content/plugins/integrate-sharpspring-and-gravity-forms/class-integrate-sharpspring-and-gravity-forms.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/integrate-sharpspring-and-gravity-forms/integrate-sharpspring-and-gravity-forms.php:12
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
There were no browser issues found
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
3 plugin tags: gravity forms, crm, sharpspring
integrate-sharpspring-and-gravity-forms/integrate-sharpspring-and-gravity-forms.php Passed 13 tests
The primary PHP file in "Integrate SharpSpring and Gravity Forms" version 1.0.4 is used by WordPress to initiate all plugin functionality
122 characters long description:
Integrates Gravity Forms with SharpSpring, allowing form submissions to be automatically sent to your SharpSpring account.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
There were no executable files found in this plugin387 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 59 | 81 | 375 |
JavaScript | 1 | 1 | 1 | 7 |
CSS | 1 | 0 | 0 | 5 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.17 |
Average class complexity | 10.00 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 18.00 |
Average method complexity | 2.06 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 8.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
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 | 2 | 11.76% |
▷ Public methods | 17 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 1 | |
▷ Named functions | 1 | 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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
There are no PNG files in this plugin