Benchmarks
Plugin footprint 58% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The following installer errors require your attention
- This plugin did not install gracefully
- > User notice in wp-includes/functions.php+5905
Function register_uninstall_hook was called incorrectly. Only a static class method or function can be used in an uninstall hook. Please see Debugging in WordPress for more information. (This message was added in version 3.1.0.)
Server metrics [RAM: ▲0.01MB] [CPU: ▼4.19ms] Passed 4 tests
Analyzing server-side resources used by Integrator For HubSpot
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 41.48 ▼0.71 |
Dashboard /wp-admin | 3.32 ▲0.02 | 48.74 ▲4.87 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 45.85 ▼6.65 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.01 | 88.25 ▼10.83 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 33.75 ▲1.43 |
WCHub /wp-admin/options-general.php?page=wc-hub-options-page | 3.21 | 28.45 |
Server storage [IO: ▲18.41MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin was installed successfully
Filesystem: 1,531 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
widget_theysaidso_widget |
widget_recent-posts |
theysaidso_admin_options |
widget_recent-comments |
can_compress_scripts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Integrator For HubSpot
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,829 ▲72 | 13.35 ▼1.02 | 3.32 ▲1.38 | 46.61 ▲4.36 |
Dashboard /wp-admin | 2,207 ▲16 | 5.83 ▼0.05 | 98.19 ▼5.86 | 39.13 ▼4.27 |
Posts /wp-admin/edit.php | 2,093 ▲4 | 2.01 ▼0.03 | 33.46 ▼8.76 | 36.35 ▲1.49 |
Add New Post /wp-admin/post-new.php | 1,517 ▼17 | 17.50 ▼5.69 | 605.41 ▼72.46 | 47.98 ▼8.14 |
Media Library /wp-admin/upload.php | 1,389 ▼2 | 4.16 ▼0.08 | 95.82 ▼7.01 | 42.12 ▼0.79 |
WCHub /wp-admin/options-general.php?page=wc-hub-options-page | 792 | 2.06 | 23.95 | 25.98 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
You still need to fix the following
- Zombie WordPress options were found after uninstall: 6 options
- theysaidso_admin_options
- widget_recent-posts
- db_upgraded
- can_compress_scripts
- widget_recent-comments
- widget_theysaidso_widget
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though everything seems fine, this is not an exhaustive test
SRP 50% 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
The following issues need your attention
- 1022× GET requests to PHP files trigger server-side errors or Error 500 responses (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Interface 'HubSpot\\Client\\Cms\\Hubdb\\Model\\ModelInterface' not found in wp-content/plugins/wc-hub/lib/hubspot/api-client/codegen/Cms/Hubdb/Model/HubDbTableRowV3.php:45
- > PHP Fatal error
Uncaught Error: Interface 'HubSpot\\Client\\Cms\\Blogs\\BlogPosts\\Model\\ModelInterface' not found in wp-content/plugins/wc-hub/lib/hubspot/api-client/codegen/Cms/Blogs/BlogPosts/Model/Styles.php:45
- > PHP Fatal error
Uncaught Error: Interface 'HubSpot\\Client\\Crm\\Imports\\Model\\ModelInterface' not found in wp-content/plugins/wc-hub/lib/hubspot/api-client/codegen/Crm/Imports/Model/ForwardPaging.php:45
- > PHP Fatal error
Uncaught Error: Class 'Composer\\Installers\\BaseInstaller' not found in wp-content/plugins/wc-hub/lib/composer/installers/src/Composer/Installers/CodeIgniterInstaller.php:4
- > PHP Fatal error
Uncaught Error: Interface 'HubSpot\\Client\\Crm\\Deals\\Model\\ModelInterface' not found in wp-content/plugins/wc-hub/lib/hubspot/api-client/codegen/Crm/Deals/Model/BatchInputSimplePublicObjectInput.php:45
- > PHP Fatal error
Uncaught Error: Interface 'HubSpot\\Client\\Crm\\Associations\\Model\\ModelInterface' not found in wp-content/plugins/wc-hub/lib/hubspot/api-client/codegen/Crm/Associations/Model/StandardError.php:45
- > PHP Fatal error
Uncaught Error: Interface 'HubSpot\\Client\\Crm\\Objects\\FeedbackSubmissions\\Model\\ModelInterface' not found in wp-content/plugins/wc-hub/lib/hubspot/api-client/codegen/Crm/Objects/FeedbackSubmissions/Model/SimplePublicObjectInput.php:45
- > PHP Fatal error
Uncaught Error: Interface 'HubSpot\\Client\\Crm\\Contacts\\Model\\ModelInterface' not found in wp-content/plugins/wc-hub/lib/hubspot/api-client/codegen/Crm/Contacts/Model/SimplePublicObjectBatchInput.php:45
- > PHP Fatal error
Uncaught Error: Interface 'HubSpot\\Client\\Crm\\Properties\\Model\\ModelInterface' not found in wp-content/plugins/wc-hub/lib/hubspot/api-client/codegen/Crm/Properties/Model/PropertyCreate.php:45
- > PHP Fatal error
Uncaught Error: Interface 'HubSpot\\Client\\Cms\\Domains\\Model\\ModelInterface' not found in wp-content/plugins/wc-hub/lib/hubspot/api-client/codegen/Cms/Domains/Model/ErrorDetail.php:45
- > 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 93% from 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
4 plugin tags: crm, customers, woocommerce, hubspot
wc-hub/wc-hub.php 85% from 13 tests
The entry point to "Integrator For HubSpot" version 1.1.1 is a PHP file that has certain tags in its header comment area
It is important to fix the following:
- Requires PHP: Required version must match the one declared in readme.txt ("7.0" instead of "7.2")
- Domain Path: The domain path points to an invalid folder, "/languages" does not exist
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
Everything looks great! No dangerous files found in this plugin319,831 lines of code in 1,512 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1,473 | 61,770 | 260,763 | 314,655 |
Markdown | 17 | 1,374 | 0 | 4,032 |
JSON | 14 | 0 | 0 | 1,040 |
YAML | 6 | 14 | 0 | 72 |
XML | 1 | 2 | 0 | 23 |
make | 1 | 4 | 0 | 9 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.27 |
Average class complexity | 18.53 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 744.00 |
Average method complexity | 1.93 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 71.00 |
Code structure | ||
---|---|---|
Namespaces | 264 | |
Interfaces | 71 | |
Traits | 4 | |
Classes | 1,382 | |
▷ Abstract classes | 2 | 0.14% |
▷ Concrete classes | 1,380 | 99.86% |
▷ Final classes | 34 | 2.46% |
Methods | 27,154 | |
▷ Static methods | 5,263 | 19.38% |
▷ Public methods | 26,800 | 98.70% |
▷ Protected methods | 154 | 0.57% |
▷ Private methods | 200 | 0.74% |
Functions | 1,595 | |
▷ Named functions | 41 | 2.57% |
▷ Anonymous functions | 1,554 | 97.43% |
Constants | 12,773 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 12,773 | 100.00% |
▷ Public constants | 12,762 | 99.91% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
No PNG files were detected