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.11MB] [CPU: ▼3.23ms] Passed 4 tests
Server-side resources used by Klyp CF7 to Hubspot
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.57 ▲0.11 | 33.69 ▼7.25 |
Dashboard /wp-admin | 3.41 ▲0.11 | 46.66 ▼3.31 |
Posts /wp-admin/edit.php | 3.53 ▲0.17 | 41.71 ▼5.10 |
Add New Post /wp-admin/post-new.php | 5.99 ▲0.11 | 92.61 ▲2.83 |
Media Library /wp-admin/upload.php | 3.34 ▲0.11 | 38.06 ▲2.73 |
Klyp CF7 to Hubspot /wp-admin/options-general.php?page=klyp-cf7-to-hubspot | 3.30 | 30.22 |
Server storage [IO: ▲0.04MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
The plugin installed successfully
Filesystem: 11 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
widget_recent-comments |
widget_recent-posts |
widget_theysaidso_widget |
theysaidso_admin_options |
can_compress_scripts |
Browser metrics Passed 4 tests
An overview of browser requirements for Klyp CF7 to Hubspot
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,806 ▲71 | 13.31 ▼1.07 | 1.59 ▼0.24 | 36.99 ▼3.13 |
Dashboard /wp-admin | 2,207 ▲25 | 5.00 ▲0.11 | 113.51 ▲9.65 | 44.43 ▼3.53 |
Posts /wp-admin/edit.php | 2,093 ▲7 | 2.03 ▲0.03 | 37.17 ▼0.78 | 36.38 ▲0.85 |
Add New Post /wp-admin/post-new.php | 1,537 ▲18 | 22.98 ▼0.04 | 641.34 ▼30.75 | 64.10 ▲2.36 |
Media Library /wp-admin/upload.php | 1,392 ▲4 | 4.25 ▲0.12 | 114.66 ▼4.39 | 48.33 ▼1.88 |
Klyp CF7 to Hubspot /wp-admin/options-general.php?page=klyp-cf7-to-hubspot | 822 | 2.06 | 25.65 | 31.35 |
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
- db_upgraded
- can_compress_scripts
- widget_recent-posts
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-comments
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Good news, no errors were detected
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Almost there! Just fix the following items
- 6× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/klyp-contact-form-7-to-hubspot/klyp-cf7-to-hubspot.php
- > /wp-content/plugins/klyp-contact-form-7-to-hubspot/inc/settings-page.php
- > /wp-content/plugins/klyp-contact-form-7-to-hubspot/inc/settings.php
- > /wp-content/plugins/klyp-contact-form-7-to-hubspot/inc/hubspot.php
- > /wp-content/plugins/klyp-contact-form-7-to-hubspot/inc/cf7.php
- > /wp-content/plugins/klyp-contact-form-7-to-hubspot/inc/hubspot-api.php
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
There were no browser issues found
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
4 plugin tags: hubspot, contact, cf7, form
klyp-contact-form-7-to-hubspot/klyp-cf7-to-hubspot.php 92% from 13 tests
The primary PHP file in "Klyp CF7 to Hubspot" version 1.0.7 is used by WordPress to initiate all plugin functionality
The following require your attention:
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("klyp-contact-form-7-to-hubspot.php" instead of "klyp-cf7-to-hubspot.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
Everything looks great! No dangerous files found in this plugin858 lines of code in 10 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 7 | 147 | 111 | 777 |
JSON | 1 | 0 | 0 | 33 |
JavaScript | 1 | 3 | 0 | 28 |
Markdown | 1 | 8 | 0 | 20 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.45 |
Average class complexity | 23.00 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 45.00 |
Average method complexity | 3.44 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 11.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 | 18 | |
▷ Static methods | 2 | 11.11% |
▷ Public methods | 13 | 72.22% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 5 | 27.78% |
Functions | 13 | |
▷ Named functions | 12 | 92.31% |
▷ Anonymous functions | 1 | 7.69% |
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
No PNG files were detected