Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.03MB] [CPU: ▼6.13ms] Passed 4 tests
Analyzing server-side resources used by Slack Live Chat
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 56.28 ▲12.56 |
Dashboard /wp-admin | 3.33 ▲0.03 | 49.35 ▼4.20 |
Posts /wp-admin/edit.php | 3.38 ▲0.03 | 48.73 ▼0.40 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.03 | 82.28 ▼19.61 |
Media Library /wp-admin/upload.php | 3.26 ▲0.03 | 36.27 ▼0.32 |
Chatlio /wp-admin/tools.php?page=chatlio-settings | 3.22 | 33.17 |
Server storage [IO: ▲0.58MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
There were no storage issued detected upon installing this plugin
Filesystem: 4 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-comments |
widget_theysaidso_widget |
can_compress_scripts |
db_upgraded |
widget_recent-posts |
Browser metrics Passed 4 tests
An overview of browser requirements for Slack Live Chat
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,828 ▲82 | 13.53 ▼0.79 | 8.08 ▲6.37 | 45.02 ▲0.86 |
Dashboard /wp-admin | 2,225 ▲22 | 4.85 ▼0.03 | 111.93 ▲7.60 | 41.30 ▼1.05 |
Posts /wp-admin/edit.php | 2,101 ▲1 | 1.99 ▼0.06 | 36.67 ▼3.86 | 33.39 ▼4.80 |
Add New Post /wp-admin/post-new.php | 1,548 ▲1 | 23.20 ▼0.10 | 671.24 ▲5.56 | 52.93 ▼0.76 |
Media Library /wp-admin/upload.php | 1,407 ▲7 | 4.30 ▼0.05 | 97.77 ▼13.93 | 41.53 ▼3.04 |
Chatlio /wp-admin/tools.php?page=chatlio-settings | 814 | 2.05 | 25.13 | 23.92 |
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
Please fix the following items
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_recent-posts
- widget_theysaidso_widget
- theysaidso_admin_options
- db_upgraded
- widget_recent-comments
- can_compress_scripts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Good news, no errors were detected
SRP 50% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Almost there! Just fix the following items
- 1× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/chatlio/chatlio.php
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser errors were detected
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 88% from 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
Attributes that require attention:
- Tags: You are using too many tags: 58 tag instead of maximum 10
- Screenshots: These screenshots do not have images: #1 (Chatlio WordPress settings - setup with your widget ID), #2 (Example Chatlio session underway)
chatlio/chatlio.php 92% from 13 tests
The main PHP script in "Slack Live Chat" version 1.1.0 is automatically included on every request by WordPress
The following require your attention:
- Description: Please improve your description making it at least 10 characters long (currently 7 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
Everything looks great! No dangerous files found in this plugin82 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 80 | 89 | 82 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.12 |
Average class complexity | 4.00 |
▷ Minimum class complexity | 4.00 |
▷ Maximum class complexity | 4.00 |
Average method complexity | 1.30 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 2.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 | 10 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 10 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.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 50% from 2 tests
Image compression 50% from 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
2 PNG files occupy 0.58MB with 0.40MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/screenshot-1.png | 109.98KB | 32.00KB | ▼ 70.90% |
assets/screenshot-2.png | 479.00KB | 156.41KB | ▼ 67.35% |