Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
This plugin's installer ran successfully
Server metrics [RAM: ▲0.76MB] [CPU: ▼4.27ms] Passed 4 tests
This is a short check of server-side resources used by Integration for HubSpot and Contact Form 7, WPForms, Elementor, Ninja Forms
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.81 ▲0.35 | 41.08 ▼4.13 |
Dashboard /wp-admin | 4.22 ▲0.88 | 55.64 ▼7.27 |
Posts /wp-admin/edit.php | 4.27 ▲0.92 | 48.75 ▲1.87 |
Add New Post /wp-admin/post-new.php | 6.80 ▲0.92 | 85.28 ▼7.56 |
Media Library /wp-admin/upload.php | 4.14 ▲0.91 | 40.81 ▲6.34 |
Server storage [IO: ▲1.34MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
No storage issues were detected
Filesystem: 70 new files
Database: 3 new tables, 7 new options
New tables |
---|
wp_vxcf_hubspot_accounts |
wp_vxcf_hubspot_log |
wp_vxcf_hubspot |
New WordPress options |
---|
widget_recent-comments |
widget_theysaidso_widget |
db_upgraded |
widget_recent-posts |
can_compress_scripts |
vxcf_hubspot_version |
theysaidso_admin_options |
Browser metrics Passed 4 tests
A check of browser resources used by Integration for HubSpot and Contact Form 7, WPForms, Elementor, Ninja Forms
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,805 ▲59 | 14.35 ▼0.26 | 1.72 ▲0.08 | 44.07 ▼0.02 |
Dashboard /wp-admin | 2,208 ▲31 | 5.48 ▼0.05 | 83.42 ▼6.78 | 37.80 ▼1.53 |
Posts /wp-admin/edit.php | 2,116 ▲16 | 1.96 ▼0.06 | 36.05 ▲0.99 | 32.80 ▼5.74 |
Add New Post /wp-admin/post-new.php | 1,548 ▲22 | 18.26 ▼4.70 | 634.33 ▲4.18 | 63.79 ▲6.72 |
Media Library /wp-admin/upload.php | 1,419 ▲19 | 4.22 ▲0.01 | 94.80 ▼10.16 | 42.65 ▲0.77 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
The following items require your attention
- The uninstall procedure failed, leaving 3 tables in the database
- wp_vxcf_hubspot_accounts
- wp_vxcf_hubspot_log
- wp_vxcf_hubspot
- This plugin did not uninstall successfully, leaving 7 options in the database
- widget_recent-posts
- widget_theysaidso_widget
- widget_recent-comments
- can_compress_scripts
- db_upgraded
- vxcf_hubspot_version
- theysaidso_admin_options
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Everything seems fine, however this is by no means an exhaustive test
SRP Passed 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
Everything seems fine, however this is by no means an exhaustive test
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
There were no browser issues found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
5 plugin tags: elementor foems hubspot, ninja forms hubspot, contact form 7 hubspot, wpforms hubspot, contact form 7
cf7-hubspot/cf7-hubspot.php 85% from 13 tests
The main PHP script in "Integration for HubSpot and Contact Form 7, WPForms, Elementor, Ninja Forms" version 1.3.0 is automatically included on every request by WordPress
You should first fix the following items:
- Text Domain: Since WordPress version 4.6 the text domain is optional; if specified, it must be the same as the plugin slug
- Description: Please keep the plugin description shorter than 140 characters (currently 232 characters long)
Code Analysis 97% from 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 plugin9,032 lines of code in 29 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 20 | 868 | 907 | 8,115 |
SVG | 1 | 0 | 0 | 640 |
CSS | 5 | 23 | 10 | 271 |
JavaScript | 3 | 1 | 20 | 6 |
PHP code 50% from 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
These items need your attention
- Cyclomatic complexity of methods has to be reduced to less than 100 (currently 152)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.52 |
Average class complexity | 185.57 |
▷ Minimum class complexity | 6.00 |
▷ Maximum class complexity | 491.00 |
Average method complexity | 7.36 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 152.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 7 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 7 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 203 | |
▷ Static methods | 6 | 2.96% |
▷ Public methods | 197 | 97.04% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 6 | 2.96% |
Functions | 0 | |
▷ Named functions | 0 | 0.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
PNG files should be compressed to save space and minimize bandwidth usage
34 PNG files occupy 0.07MB with 0.02MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/deleted.png | 0.48KB | 0.33KB | ▼ 31.03% |
css/images/ui-icons_454545_256x240.png | 6.83KB | 4.17KB | ▼ 38.86% |
css/images/ui-icons_c02669_256x240.png | 4.44KB | 4.17KB | ▼ 6.02% |
images/active0.png | 0.22KB | 0.18KB | ▼ 16.67% |
css/images/ui-icons_222222_256x240.png | 6.76KB | 4.17KB | ▼ 38.24% |