Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.09MB] [CPU: ▼8.76ms] Passed 4 tests
Server-side resources used by Cliengo - Chatbot
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.54 ▲0.07 | 31.02 ▼11.72 |
Dashboard /wp-admin | 3.40 ▲0.09 | 55.14 ▲2.73 |
Posts /wp-admin/edit.php | 3.51 ▲0.15 | 54.73 ▼14.77 |
Add New Post /wp-admin/post-new.php | 6.00 ▲0.11 | 87.99 ▼9.64 |
Media Library /wp-admin/upload.php | 3.32 ▲0.09 | 37.75 ▲1.11 |
Server storage [IO: ▲5.56MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin was installed successfully
Filesystem: 84 new files
Database: no new tables, 8 new options
New WordPress options |
---|
can_compress_scripts |
position_chatbot |
widget_theysaidso_widget |
widget_recent-comments |
theysaidso_admin_options |
widget_recent-posts |
cliengo_chatbot_token |
db_upgraded |
Browser metrics Passed 4 tests
Cliengo - Chatbot: an overview of browser usage
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,938 ▲177 | 13.67 ▼0.76 | 8.77 ▲6.79 | 42.69 ▼0.65 |
Dashboard /wp-admin | 2,221 ▲53 | 5.86 ▲0.32 | 92.70 ▼8.97 | 73.01 ▲26.26 |
Posts /wp-admin/edit.php | 2,138 ▲38 | 2.30 ▲0.33 | 39.63 ▲1.42 | 34.56 ▲0.41 |
Add New Post /wp-admin/post-new.php | 1,557 ▲22 | 23.22 ▲0.00 | 725.62 ▲69.55 | 39.69 ▼23.87 |
Media Library /wp-admin/upload.php | 1,429 ▲26 | 4.53 ▲0.31 | 101.84 ▲1.72 | 76.44 ▲33.72 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
These items require your attention
- The uninstall procedure has failed, leaving 8 options in the database
- position_chatbot
- widget_theysaidso_widget
- db_upgraded
- cliengo_chatbot_token
- can_compress_scripts
- widget_recent-posts
- widget_recent-comments
- theysaidso_admin_options
Smoke tests 50% from 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 0% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Please take a closer look at the following
- 1× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/cliengo/public/partials/cliengo-public-display.php
- 1× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function admin_url() in wp-content/plugins/cliengo/admin/partials/cliengo-admin-display.php:16
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
There were no browser issues found
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
3 plugin tags: cliengo, leads, chatbot
cliengo/cliengo.php 92% from 13 tests
The principal PHP file in "Cliengo - Chatbot" v. 3.0.1 is loaded by WordPress automatically on each request
Please take the time to fix the following:
- Description: Please keep the plugin description shorter than 140 characters (currently 187 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
Success! There were no dangerous files found in this plugin17,491 lines of code in 46 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 7 | 50 | 39 | 12,762 |
JavaScript | 9 | 606 | 342 | 2,036 |
PO File | 10 | 520 | 550 | 1,323 |
PHP | 14 | 174 | 661 | 831 |
SVG | 5 | 0 | 2 | 538 |
Markdown | 1 | 0 | 0 | 1 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.12 |
Average class complexity | 2.78 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 11.00 |
Average method complexity | 1.40 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 4.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 9 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 9 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 40 | |
▷ Static methods | 3 | 7.50% |
▷ Public methods | 33 | 82.50% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 7 | 17.50% |
Functions | 3 | |
▷ Named functions | 3 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 2 | |
▷ Global constants | 1 | 50.00% |
▷ Class constants | 1 | 50.00% |
▷ Public constants | 1 | 100.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
13 PNG files occupy 3.47MB with 2.00MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
public/images/favicon-16x16.png | 1.41KB | 0.84KB | ▼ 40.32% |
public/images/cliengo.png | 19.55KB | 2.15KB | ▼ 89.01% |
assets/screenshot-4.png | 69.23KB | 19.02KB | ▼ 72.52% |
admin/images/logo.png | 2.46KB | 1.30KB | ▼ 47.27% |
admin/images/chat-popup.png | 2.52KB | 1.56KB | ▼ 38.34% |