Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.00MB] [CPU: ▼2.72ms] Passed 4 tests
Analyzing server-side resources used by Curious Brains GF HubSpot Addon
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 45.04 ▲3.21 |
Dashboard /wp-admin | 3.31 ▲0.00 | 52.49 ▲0.19 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 54.24 ▼2.95 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 89.06 ▼9.34 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 38.42 ▲1.22 |
Server storage [IO: ▲0.29MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin was installed successfully
Filesystem: 6 new files
Database: no new tables, 8 new options
New WordPress options |
---|
widget_recent-comments |
widget_recent-posts |
theysaidso_admin_options |
db_upgraded |
hubspot_table_name1 |
hubspot_table_name2 |
widget_theysaidso_widget |
can_compress_scripts |
Browser metrics Passed 4 tests
Curious Brains GF HubSpot Addon: an overview of browser usage
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,789 ▲28 | 14.72 ▲0.43 | 1.80 ▲0.18 | 39.99 ▼1.07 |
Dashboard /wp-admin | 2,195 ▲21 | 5.65 ▼0.01 | 85.79 ▼7.32 | 41.74 ▲3.78 |
Posts /wp-admin/edit.php | 2,100 ▼3 | 1.99 ▼0.03 | 36.97 ▼6.10 | 37.26 ▼1.80 |
Add New Post /wp-admin/post-new.php | 1,526 ▼0 | 23.28 ▼0.21 | 640.46 ▼46.22 | 47.67 ▼13.02 |
Media Library /wp-admin/upload.php | 1,403 ▼0 | 4.27 ▲0.10 | 98.33 ▼8.76 | 42.70 ▼3.43 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
These items require your attention
- Zombie WordPress options were found after uninstall: 8 options
- theysaidso_admin_options
- widget_recent-comments
- hubspot_table_name2
- widget_recent-posts
- can_compress_scripts
- widget_theysaidso_widget
- hubspot_table_name1
- db_upgraded
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 | 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 take a closer look at the following
- 2× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Class 'GFForms' not found in wp-content/plugins/curious-brains-gf-hubspot-addon/GFHubspotAddOn.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/curious-brains-gf-hubspot-addon/gf_hubspot_addon.php:15
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser errors were detected
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
These attributes need to be fixed:
- Plugin Name: Please replace "Plugin Name" with the name of your plugin on the first line (
=== curious-brains-gf-hubspot-addon ===
)
curious-brains-gf-hubspot-addon/gf_hubspot_addon.php 85% from 13 tests
The entry point to "Curious Brains GF HubSpot Addon" version 1.0 is a PHP file that has certain tags in its header comment area
The following require your attention:
- Main file name: Name the main plugin file the same as the plugin slug ("curious-brains-gf-hubspot-addon.php" instead of "gf_hubspot_addon.php")
- Text Domain: The text domain should only use lowercase characters and dashes
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
Everything looks great! No dangerous files found in this plugin2,341 lines of code in 6 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 369 | 109 | 2,066 |
CSS | 1 | 5 | 0 | 134 |
JavaScript | 1 | 32 | 5 | 103 |
Markdown | 1 | 19 | 0 | 37 |
SVG | 1 | 0 | 0 | 1 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.47 |
Average class complexity | 50.50 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 99.00 |
Average method complexity | 10.90 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 74.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 | 10 | |
▷ Static methods | 2 | 20.00% |
▷ Public methods | 10 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 16 | |
▷ Named functions | 16 | 100.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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
There were not PNG files found in your plugin