Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Please fix the following installer errors
- Install procedure validation failed for this plugin
- > Notice in wp-content/plugins/keybe-widget-chat/keybe-widget-chat.php+22
Trying to access array offset on value of type bool
Server metrics [RAM: ▼1.97MB] [CPU: ▼60.35ms] Passed 4 tests
Server-side resources used by Keybe Widget Chat
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.02 ▼1.44 | 6.00 ▼41.87 |
Dashboard /wp-admin | 2.05 ▼1.30 | 6.30 ▼59.46 |
Posts /wp-admin/edit.php | 2.05 ▼1.31 | 6.57 ▼43.96 |
Add New Post /wp-admin/post-new.php | 2.05 ▼3.84 | 5.74 ▼96.10 |
Media Library /wp-admin/upload.php | 2.05 ▼1.18 | 6.30 ▼31.84 |
keybe Widget Chat /wp-admin/options-general.php?page=keybe-widget-chat | 2.05 | 6.11 |
Server storage [IO: ▲0.02MB] [DB: ▲0.07MB] Passed 3 tests
A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 5 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-comments |
db_upgraded |
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-posts |
Browser metrics Passed 4 tests
Keybe Widget Chat: an overview of browser usage
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,793 ▲7 | 14.69 ▲0.34 | 1.89 ▼0.08 | 43.33 ▼2.33 |
Dashboard /wp-admin | 2,202 ▲28 | 5.55 ▼0.07 | 86.87 ▼13.07 | 41.56 ▼3.25 |
Posts /wp-admin/edit.php | 2,104 ▲4 | 1.94 ▼0.06 | 40.44 ▲3.72 | 37.35 ▼1.61 |
Add New Post /wp-admin/post-new.php | 1,529 ▲3 | 23.66 ▲0.38 | 630.60 ▼48.72 | 53.95 ▼2.63 |
Media Library /wp-admin/upload.php | 1,407 ▲10 | 4.19 ▼0.01 | 97.59 ▼6.34 | 47.40 ▲4.85 |
keybe Widget Chat /wp-admin/options-general.php?page=keybe-widget-chat | 799 | 2.00 | 24.65 | 25.82 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.07MB] 50% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
It is recommended to fix the following
- Uninstall procedure had uncaught errors
- > Notice in wp-content/plugins/keybe-widget-chat/keybe-widget-chat.php+22
Trying to access array offset on value of type bool
- The uninstall procedure has failed, leaving 6 options in the database
- widget_recent-comments
- db_upgraded
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-posts
- can_compress_scripts
Smoke tests 75% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Smoke test failed, please fix the following
- 2 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=keybe-widget-chat
- > Notice in wp-content/plugins/keybe-widget-chat/includes/settings-page.php+29
Trying to access array offset on value of type bool
SRP Passed 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Congratulations! This plugin passed the SRP 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)
Everything seems fine on the user side
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
5 plugin tags: whatsapp, omnichannel, sales, chat, keybe
keybe-widget-chat/keybe-widget-chat.php 92% from 13 tests
The principal PHP file in "Keybe Widget Chat" v. 0.1 is loaded by WordPress automatically on each request
It is important to fix the following:
- Requires at least: The required version number must match the one declared in readme.txt ("5.0" instead of "6.0")
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
Success! There were no dangerous files found in this plugin57 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 12 | 22 | 57 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.11 |
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 | 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