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.01MB] [CPU: ▼1.70ms] Passed 4 tests
A check of server-side resources used by WLN Chat Lite
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 37.18 ▼6.40 |
Dashboard /wp-admin | 3.31 ▲0.01 | 48.81 ▼1.29 |
Posts /wp-admin/edit.php | 3.36 ▲0.01 | 49.28 ▲1.25 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.01 | 93.90 ▲1.82 |
Media Library /wp-admin/upload.php | 3.23 ▲0.01 | 34.18 ▼0.37 |
Server storage [IO: ▲0.07MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 9 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
theysaidso_admin_options |
can_compress_scripts |
widget_recent-posts |
widget_theysaidso_widget |
db_upgraded |
Browser metrics Passed 4 tests
Checking browser requirements for WLN Chat Lite
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,845 ▲110 | 13.66 ▼0.75 | 1.62 ▼0.37 | 38.94 ▼11.40 |
Dashboard /wp-admin | 2,224 ▲36 | 5.89 ▲0.01 | 95.10 ▼19.66 | 83.36 ▲41.59 |
Posts /wp-admin/edit.php | 2,104 ▲15 | 2.15 ▲0.17 | 39.95 ▲3.67 | 38.05 ▲4.99 |
Add New Post /wp-admin/post-new.php | 1,536 ▲22 | 18.37 ▲1.00 | 695.94 ▲27.10 | 59.28 ▲7.17 |
Media Library /wp-admin/upload.php | 1,406 ▲18 | 4.19 ▼0.08 | 114.27 ▲17.94 | 45.65 ▲1.97 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
You still need to fix the following
- This plugin did not uninstall successfully, leaving 6 options in the database
- can_compress_scripts
- theysaidso_admin_options
- db_upgraded
- widget_recent-comments
- widget_theysaidso_widget
- widget_recent-posts
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Everything seems fine, however this is by no means an exhaustive test
SRP 0% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Please fix the following items
- 1× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/wln-chat/includes/gtag_event.php
- 2× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/wln-chat/wln-chat-litle.php:16
- > PHP Fatal error
Uncaught Error: Call to undefined function plugins_url() in wp-content/plugins/wln-chat/style/style.php:11
- > PHP Fatal error
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, but this is not an exhaustive test
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
8 plugin tags: contato de cliente no site, chat no site, chat, app mensagens, contador de cliques...
wln-chat/wln-chat-litle.php 92% from 13 tests
The main file in "WLN Chat Lite" v. 2.5.1 serves as a complement to information provided in readme.txt and as the entry point to the plugin
Please make the necessary changes and fix the following:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("wln-chat.php" instead of "wln-chat-litle.php")
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 detected209 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 49 | 38 | 209 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.10 |
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 | 4 | |
▷ Named functions | 4 | 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
4 PNG files occupy 0.05MB with 0.04MB in potential savings
Potential savings
Compression of 4 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/botao-wln-whatsapp.png | 16.94KB | 1.70KB | ▼ 89.95% |
images/icon.png | 15.89KB | 1.08KB | ▼ 93.21% |
images/botao-wln-whatsapp-2.png | 17.15KB | 1.72KB | ▼ 89.97% |
images/whatsapp-icone.png | 5.19KB | 2.40KB | ▼ 53.79% |