Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Install script ran successfully
Server metrics [RAM: ▲0.08MB] [CPU: ▼4.41ms] Passed 4 tests
A check of server-side resources used by Logic Hop HubSpot Add-on
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.54 ▲0.08 | 38.75 ▼11.36 |
Dashboard /wp-admin | 3.38 ▲0.08 | 45.93 ▼2.29 |
Posts /wp-admin/edit.php | 3.49 ▲0.14 | 49.67 ▲6.44 |
Add New Post /wp-admin/post-new.php | 5.96 ▲0.08 | 95.38 ▼2.11 |
Media Library /wp-admin/upload.php | 3.30 ▲0.07 | 32.96 ▼1.87 |
Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 7 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
theysaidso_admin_options |
db_upgraded |
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-posts |
Browser metrics Passed 4 tests
An overview of browser requirements for Logic Hop HubSpot Add-on
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,856 ▲110 | 13.64 ▼0.57 | 1.74 ▼0.31 | 41.09 ▼6.53 |
Dashboard /wp-admin | 2,234 ▲46 | 5.85 ▼0.03 | 107.89 ▼16.00 | 42.59 ▼0.61 |
Posts /wp-admin/edit.php | 2,119 ▲33 | 2.02 ▼0.02 | 42.16 ▲3.67 | 38.87 ▲3.75 |
Add New Post /wp-admin/post-new.php | 1,535 ▼7 | 17.86 ▼0.49 | 635.35 ▼25.22 | 47.62 ▼5.24 |
Media Library /wp-admin/upload.php | 1,422 ▲34 | 4.19 ▼0.01 | 95.77 ▼4.06 | 42.76 ▼3.66 |
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
It is recommended to fix the following
- This plugin did not uninstall successfully, leaving 6 options in the database
- db_upgraded
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-posts
- can_compress_scripts
- widget_recent-comments
Smoke tests Passed 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 Passed 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Looking good! No server-side errors or output on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine on the user side
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
9 plugin tags: rules, pipedrive, crm, personalization, personalized content...
logic-hop-hubspot-add-on/logichop_hubspot.php 92% from 13 tests
The entry point to "Logic Hop HubSpot Add-on" version 1.0.2 is a PHP file that has certain tags in its header comment area
It is important to fix the following:
- Main file name: Name the main plugin file the same as the plugin slug ("logic-hop-hubspot-add-on.php" instead of "logichop_hubspot.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
No dangerous file extensions were detected399 lines of code in 6 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 86 | 215 | 388 |
CSS | 1 | 0 | 0 | 7 |
JavaScript | 2 | 0 | 11 | 4 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.44 |
Average class complexity | 31.50 |
▷ Minimum class complexity | 5.00 |
▷ Maximum class complexity | 58.00 |
Average method complexity | 3.18 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 21.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 | 28 | |
▷ Static methods | 1 | 3.57% |
▷ Public methods | 24 | 85.71% |
▷ Protected methods | 2 | 7.14% |
▷ Private methods | 2 | 7.14% |
Functions | 3 | |
▷ Named functions | 3 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
PNG images were not found in this plugin