Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Installer ran successfully
Server metrics [RAM: ▲0.02MB] [CPU: ▼1.65ms] Passed 4 tests
Server-side resources used by Hootsy – Live Chat, Chatbots, Voice & Video
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 40.36 ▼0.42 |
Dashboard /wp-admin | 3.33 ▲0.02 | 47.87 ▼4.16 |
Posts /wp-admin/edit.php | 3.38 ▲0.02 | 51.26 ▲1.65 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.02 | 93.90 ▼2.53 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 35.47 ▲0.50 |
Server storage [IO: ▲0.74MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
The plugin installed successfully
Filesystem: 18 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
widget_recent-comments |
theysaidso_admin_options |
widget_theysaidso_widget |
db_upgraded |
can_compress_scripts |
Browser metrics Passed 4 tests
Checking browser requirements for Hootsy – Live Chat, Chatbots, Voice & Video
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,825 ▲54 | 13.24 ▼1.14 | 1.78 ▼0.31 | 41.87 ▼1.69 |
Dashboard /wp-admin | 2,225 ▲34 | 5.83 ▲0.98 | 102.55 ▼3.70 | 79.03 ▲38.15 |
Posts /wp-admin/edit.php | 2,108 ▲16 | 2.04 ▲0.05 | 37.32 ▼3.66 | 33.65 ▼5.02 |
Add New Post /wp-admin/post-new.php | 1,541 ▲22 | 18.46 ▼4.58 | 696.36 ▲94.47 | 57.97 ▲10.11 |
Media Library /wp-admin/upload.php | 1,407 ▲16 | 4.14 ▼0.13 | 117.85 ▲17.05 | 48.10 ▲4.34 |
Hootsy /wp-admin/hootsy-menus.php | 26 | 0.44 | 0.08 | 14.37 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
The following items require your attention
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_theysaidso_widget
- theysaidso_admin_options
- db_upgraded
- widget_recent-comments
- widget_recent-posts
- can_compress_scripts
Smoke tests 25% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though everything seems fine, this is not an exhaustive test
SRP 0% from 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
Please fix the following
- 1× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/hootsy/hootsy.php
- 3× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/hootsy/includes/core.php:8
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/hootsy/includes/hootsy-menus.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/hootsy/includes/embed.php:4
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
There are user-side issues you should fix
- > GET request to /wp-admin/hootsy-menus.php
- > Network (severe)
wp-admin/hootsy-menus.php - Failed to load resource: the server responded with a status of 404 (Not Found)
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
10 plugin tags: hootsy, tidio, widget, chatbot, drift...
hootsy/hootsy.php Passed 13 tests
"Hootsy – Live Chat, Chatbots, Voice & Video" version 1.0.0's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
65 characters long description:
Hootsy is the #1 proactive chat platform for sales and marketing.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
Good job! No executable or dangerous file extensions detected146 lines of code in 8 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 5 | 31 | 27 | 134 |
Markdown | 1 | 2 | 0 | 9 |
JavaScript | 1 | 0 | 0 | 2 |
SVG | 1 | 0 | 0 | 1 |
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.29 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 6 | |
▷ Named functions | 6 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 4 | |
▷ Global constants | 4 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
5 PNG files occupy 0.49MB with 0.26MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/banner-772x250.png | 119.21KB | 39.03KB | ▼ 67.26% |
assets/banner-1544x500.png | 368.19KB | 124.15KB | ▼ 66.28% |
assets/icon-128x128.png | 6.63KB | 2.30KB | ▼ 65.34% |
assets/icon-256x256.png | 11.66KB | 4.25KB | ▼ 63.57% |
assets/hootsy-icon-16x16-white.png | 0.62KB | 0.61KB | ▼ 2.66% |