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
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.00MB] [CPU: ▼4.19ms] Passed 4 tests
Server-side resources used by MWB GF Integration for HubSpot -Sync HubSpot Forms, Contacts, Tickets
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.00 | 36.06 ▼6.47 |
Dashboard /wp-admin | 3.31 ▲0.00 | 44.91 ▼1.78 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 47.94 ▲0.88 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 89.10 ▼9.39 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 36.66 ▲3.06 |
Server storage [IO: ▲2.37MB] [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: 117 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
can_compress_scripts |
widget_recent-posts |
widget_theysaidso_widget |
widget_recent-comments |
theysaidso_admin_options |
Browser metrics Passed 4 tests
MWB GF Integration for HubSpot -Sync HubSpot Forms, Contacts, Tickets: an overview of browser usage
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,825 ▲90 | 13.59 ▼0.53 | 1.77 ▲0.04 | 40.92 ▼2.29 |
Dashboard /wp-admin | 2,209 ▲27 | 5.90 ▲1.05 | 108.07 ▼0.23 | 38.77 ▼5.24 |
Posts /wp-admin/edit.php | 2,089 ▼0 | 2.02 ▲0.02 | 39.50 ▲0.80 | 34.60 ▲1.70 |
Add New Post /wp-admin/post-new.php | 1,533 ▼0 | 23.24 ▲0.02 | 659.16 ▼72.18 | 65.34 ▲13.80 |
Media Library /wp-admin/upload.php | 1,391 ▲6 | 4.34 ▲0.20 | 97.51 ▼3.53 | 43.28 ▼0.62 |
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 does not fully uninstall, leaving 6 options in the database
- widget_recent-posts
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-comments
- db_upgraded
- theysaidso_admin_options
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Good news, no errors were detected
SRP 0% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Please fix the following items
- 1× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/mwb-gf-integration-for-hubspot/public/partials/mwb-gf-integration-for-hubspot-public-display.php
- 6× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html_e() in wp-content/plugins/mwb-gf-integration-for-hubspot/admin/partials/setup-guide.php:52
- > PHP Fatal error
Uncaught Error: Class 'Mwb_Gf_Integration_Hubspot_Api_Base' not found in wp-content/plugins/mwb-gf-integration-for-hubspot/mwb-crm-fw/api/class-mwb-gf-integration-hubspot-api.php:21
- > PHP Notice
Undefined variable: custom_app in wp-content/plugins/mwb-gf-integration-for-hubspot/admin/partials/setup-guide.php on line 18
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html__() in wp-content/plugins/mwb-gf-integration-for-hubspot/public/partials/email-template.php:21
- > PHP Fatal error
Uncaught Error: Call to undefined function get_current_screen() in wp-content/plugins/mwb-gf-integration-for-hubspot/extra-templates/makewebbetter-onboarding-template-display.php:15
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_die() in wp-content/plugins/mwb-gf-integration-for-hubspot/mwb-crm-fw/framework/class-mwb-gf-integration-connect-hubspot-framework.php:13
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser issues were found
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
Attributes that need to be fixed:
- Screenshots: These screenshots have no corresponding images in /assets: #13 (MWB GF Integration for HubSpot: primary field), #14 (MWB GF Integration for HubSpot: sync logs)
mwb-gf-integration-for-hubspot/mwb-gf-integration-for-hubspot.php Passed 13 tests
The entry point to "MWB GF Integration for HubSpot -Sync HubSpot Forms, Contacts, Tickets" version 1.0.0 is a PHP file that has certain tags in its header comment area
136 characters long description:
Automate lead generation and data collection by syncing Gravity Forms data over HubSpot with this MWB GF Integration for HubSpot plugin.
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 plugin10,400 lines of code in 80 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 39 | 1,394 | 2,836 | 4,972 |
CSS | 8 | 409 | 64 | 2,517 |
JavaScript | 13 | 295 | 390 | 1,871 |
PO File | 1 | 206 | 242 | 475 |
JSON | 6 | 10 | 0 | 345 |
SVG | 10 | 0 | 1 | 137 |
Markdown | 3 | 76 | 0 | 83 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.41 |
Average class complexity | 45.69 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 178.00 |
Average method complexity | 4.56 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 37.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 16 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 16 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 198 | |
▷ Static methods | 18 | 9.09% |
▷ Public methods | 181 | 91.41% |
▷ Protected methods | 3 | 1.52% |
▷ Private methods | 14 | 7.07% |
Functions | 10 | |
▷ Named functions | 9 | 90.00% |
▷ Anonymous functions | 1 | 10.00% |
Constants | 4 | |
▷ Global constants | 4 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
14 compressed PNG files occupy 0.14MB
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
packages/datatables/media/images/sort_desc_disabled.png | 0.14KB | 0.25KB | 0.00% |
admin/images/tooltip.png | 2.59KB | 2.26KB | ▼ 12.76% |
admin/images/banner.png | 45.89KB | 21.48KB | ▼ 53.19% |
admin/images/crm.png | 6.98KB | 7.48KB | 0.00% |
packages/datatables/media/images/sort_both.png | 0.20KB | 0.29KB | 0.00% |