Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Installer ran successfully
Server metrics [RAM: ▲0.04MB] [CPU: ▼8.93ms] Passed 4 tests
Server-side resources used by JivoChat Live Chat - WP live chat plugin for WordPress
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.51 ▲0.05 | 37.75 ▲0.27 |
Dashboard /wp-admin | 3.36 ▲0.02 | 45.18 ▼14.76 |
Posts /wp-admin/edit.php | 3.47 ▲0.12 | 44.60 ▼4.25 |
Add New Post /wp-admin/post-new.php | 5.94 ▲0.05 | 78.75 ▼16.97 |
Media Library /wp-admin/upload.php | 3.28 ▲0.06 | 34.66 ▲2.06 |
Server storage [IO: ▲5.13MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 56 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
theysaidso_admin_options |
can_compress_scripts |
widget_recent-posts |
widget_recent-comments |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
JivoChat Live Chat - WP live chat plugin for WordPress: an overview of browser usage
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲18 | 14.14 ▼0.16 | 1.61 ▼0.23 | 38.32 ▼3.12 |
Dashboard /wp-admin | 2,210 ▲39 | 5.65 ▲0.09 | 80.60 ▼7.33 | 84.29 ▲40.70 |
Posts /wp-admin/edit.php | 2,112 ▲12 | 2.02 ▼0.10 | 36.11 ▼6.81 | 32.70 ▼6.11 |
Add New Post /wp-admin/post-new.php | 1,559 ▲31 | 22.97 ▼0.10 | 668.25 ▲11.21 | 157.02 ▲98.45 |
Media Library /wp-admin/upload.php | 1,412 ▲15 | 4.18 ▲0.06 | 99.47 ▼48.09 | 75.36 ▲18.53 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The following items require your attention
- Zombie WordPress options detected upon uninstall: 6 options
- widget_theysaidso_widget
- db_upgraded
- widget_recent-comments
- widget_recent-posts
- can_compress_scripts
- theysaidso_admin_options
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Good news, no errors were detected
SRP 0% from 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
Please fix the following items
- 1× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/jivochat/class-jivosite.php
- 7× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html_e() in wp-content/plugins/jivochat/templates/jivo-logo.php:10
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html_e() in wp-content/plugins/jivochat/templates/jivo-logo.php:10
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html_e() in wp-content/plugins/jivochat/templates/jivo-logo.php:10
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html_e() in wp-content/plugins/jivochat/templates/jivo-logo.php:10
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html_e() in wp-content/plugins/jivochat/templates/jivo-logo.php:10
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html_e() in wp-content/plugins/jivochat/templates/jivo-logo.php:10
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/jivochat/templates/page.php:10
- > 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 90% from 29 tests
readme.txt 94% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
These attributes need to be fixed:
- Tags: Please delete some tags, you are using 95 tag instead of maximum 10
jivochat/class-jivosite.php 85% from 13 tests
The main file in "JivoChat Live Chat - WP live chat plugin for WordPress" v. 1.3.6.1 serves as a complement to information provided in readme.txt and as the entry point to the plugin
It is important to fix the following:
- Description: The description should be shorter than 140 characters (currently 149 characters long)
- Main file name: The principal plugin file should be the same as the plugin slug ("jivochat.php" instead of "class-jivosite.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
Everything looks great! No dangerous files found in this plugin2,490 lines of code in 33 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PO File | 16 | 669 | 835 | 1,568 |
PHP | 10 | 92 | 187 | 730 |
CSS | 2 | 23 | 5 | 102 |
SVG | 3 | 1 | 1 | 88 |
JavaScript | 2 | 0 | 9 | 2 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.31 |
Average class complexity | 46.00 |
▷ Minimum class complexity | 46.00 |
▷ Maximum class complexity | 46.00 |
Average method complexity | 4.00 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 20.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 15 | |
▷ Static methods | 1 | 6.67% |
▷ Public methods | 4 | 26.67% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 11 | 73.33% |
Functions | 5 | |
▷ Named functions | 5 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 9 | |
▷ Global constants | 9 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.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
16 PNG files occupy 1.27MB with 0.68MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/banner-772x250.png | 54.25KB | 19.45KB | ▼ 64.15% |
assets/icon-256x256.png | 3.79KB | 1.83KB | ▼ 51.72% |
assets/icon-512x512.png | 7.55KB | 3.23KB | ▼ 57.21% |
assets/screenshot-5.png | 131.20KB | 52.86KB | ▼ 59.71% |
img/logo.png | 3.87KB | 2.50KB | ▼ 35.33% |