Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.00MB] [CPU: ▼7.81ms] Passed 4 tests
An overview of server-side resources used by MWB CF7 Integration with HubSpot -Sync HubSpot Forms, Contacts, Tickets
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 47.40 ▲5.26 |
Dashboard /wp-admin | 3.31 ▲0.00 | 49.48 ▼0.59 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 51.94 ▼10.46 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 83.63 ▼20.43 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 37.05 ▲0.24 |
Server storage [IO: ▲2.15MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
No storage issues were detected
Filesystem: 111 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-posts |
widget_recent-comments |
db_upgraded |
Browser metrics Passed 4 tests
This is an overview of browser requirements for MWB CF7 Integration with HubSpot -Sync HubSpot Forms, Contacts, Tickets
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,814 ▲53 | 14.24 ▼0.11 | 2.38 ▲0.53 | 43.56 ▼3.93 |
Dashboard /wp-admin | 2,195 ▲21 | 5.61 ▲0.08 | 90.25 ▼5.54 | 41.82 ▼2.40 |
Posts /wp-admin/edit.php | 2,103 ▼0 | 1.98 ▲0.00 | 42.62 ▼5.59 | 32.46 ▼11.06 |
Add New Post /wp-admin/post-new.php | 1,526 ▼11 | 23.36 ▲5.14 | 629.82 ▲18.43 | 51.10 ▼32.03 |
Media Library /wp-admin/upload.php | 1,394 ▼6 | 4.17 ▼0.03 | 96.51 ▼7.44 | 43.80 ▼3.53 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Please fix the following items
- This plugin does not fully uninstall, leaving 6 options in the database
- can_compress_scripts
- theysaidso_admin_options
- widget_recent-comments
- widget_recent-posts
- widget_theysaidso_widget
- db_upgraded
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Good news, no errors were detected
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
- 1× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/mwb-cf7-integration-with-hubspot/public/partials/mwb-cf7-integration-with-hubspot-public-display.php
- 6× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_die() in wp-content/plugins/mwb-cf7-integration-with-hubspot/mwb-crm-fw/framework/class-mwb-cf7-integration-connect-hubspot-framework.php:13
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html_e() in wp-content/plugins/mwb-cf7-integration-with-hubspot/admin/partials/setup-guide.php:52
- > PHP Fatal error
Uncaught Error: Call to undefined function get_current_screen() in wp-content/plugins/mwb-cf7-integration-with-hubspot/extra-templates/makewebbetter-onboarding-template-display.php:15
- > PHP Fatal error
Uncaught Error: Class 'Mwb_Cf7_Integration_Hubspot_Api_Base' not found in wp-content/plugins/mwb-cf7-integration-with-hubspot/mwb-crm-fw/api/class-mwb-cf7-integration-hubspot-api.php:21
- > PHP Notice
Undefined variable: custom_app in wp-content/plugins/mwb-cf7-integration-with-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-cf7-integration-with-hubspot/public/partials/email-template.php:21
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine on the user side
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
Attributes that need to be fixed:
- Screenshots: Add a description for screenshot #15 in mwb-cf7-integration-with-hubspot/assets to your readme.txt
mwb-cf7-integration-with-hubspot/mwb-cf7-integration-with-hubspot.php Passed 13 tests
The principal PHP file in "MWB CF7 Integration with HubSpot -Sync HubSpot Forms, Contacts, Tickets" v. 1.0.1 is loaded by WordPress automatically on each request
134 characters long description:
Collect data through Contact Form 7 and sync it over HubSpot for effortless data management using this HubSpot CF7 integration plugin.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
No dangerous file extensions were detected6,777 lines of code in 79 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 39 | 1,439 | 2,918 | 5,154 |
PO File | 1 | 221 | 261 | 513 |
JavaScript | 12 | 3 | 96 | 439 |
JSON | 6 | 10 | 0 | 345 |
SVG | 11 | 0 | 1 | 146 |
CSS | 7 | 17 | 12 | 97 |
Markdown | 3 | 76 | 0 | 83 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.42 |
Average class complexity | 48.12 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 181.00 |
Average method complexity | 4.57 |
▷ 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 | 208 | |
▷ Static methods | 21 | 10.10% |
▷ Public methods | 191 | 91.83% |
▷ Protected methods | 3 | 1.44% |
▷ Private methods | 14 | 6.73% |
Functions | 13 | |
▷ Named functions | 11 | 84.62% |
▷ Anonymous functions | 2 | 15.38% |
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
13 compressed PNG files occupy 0.13MB
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
admin/images/api.png | 48.50KB | 14.80KB | ▼ 69.48% |
packages/datatables/media/images/sort_desc.png | 0.15KB | 0.25KB | 0.00% |
packages/datatables/media/images/sort_asc.png | 0.16KB | 0.25KB | 0.00% |
admin/images/crm.png | 6.98KB | 7.48KB | 0.00% |
packages/datatables/media/images/sort_asc_disabled.png | 0.14KB | 0.25KB | 0.00% |