Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Installer ran successfully
Server metrics [RAM: ▲0.11MB] [CPU: ▼2.54ms] Passed 4 tests
Analyzing server-side resources used by Admin Chat Box
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.58 ▲0.11 | 43.16 ▲0.22 |
Dashboard /wp-admin | 3.42 ▲0.11 | 48.45 ▲0.74 |
Posts /wp-admin/edit.php | 3.53 ▲0.17 | 51.67 ▲5.97 |
Add New Post /wp-admin/post-new.php | 6.00 ▲0.11 | 90.41 ▼4.27 |
Media Library /wp-admin/upload.php | 3.34 ▲0.11 | 34.94 ▼6.85 |
Dashboard /wp-admin/admin.php?page=admin_chat_box | 3.31 | 28.59 |
Settings /wp-admin/admin.php?page=admin_chat_box_setting | 3.31 | 32.73 |
Server storage [IO: ▲1.55MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
The plugin installed successfully
Filesystem: 37 new files
Database: no new tables, 7 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-posts |
acb_firebase_authentication_value |
widget_theysaidso_widget |
db_upgraded |
can_compress_scripts |
widget_recent-comments |
Browser metrics Passed 4 tests
Checking browser requirements for Admin Chat Box
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,811 ▲25 | 14.25 ▼0.06 | 1.77 ▼0.37 | 43.44 ▲0.80 |
Dashboard /wp-admin | 2,217 ▲40 | 5.51 ▼0.06 | 88.01 ▼4.80 | 82.29 ▲42.35 |
Posts /wp-admin/edit.php | 2,128 ▲28 | 1.99 ▲0.04 | 36.14 ▼0.20 | 34.14 ▼3.48 |
Add New Post /wp-admin/post-new.php | 1,561 ▲35 | 23.29 ▼0.13 | 666.99 ▲10.18 | 62.96 ▲11.92 |
Media Library /wp-admin/upload.php | 1,419 ▲25 | 4.20 ▼0.02 | 100.26 ▼7.70 | 74.52 ▲26.30 |
Dashboard /wp-admin/admin.php?page=admin_chat_box | 899 | 5.99 | 97.51 | 39.36 |
Settings /wp-admin/admin.php?page=admin_chat_box_setting | 1,231 | 12.55 | 326.99 | 73.04 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
These items require your attention
- This plugin does not fully uninstall, leaving 7 options in the database
- widget_theysaidso_widget
- acb_firebase_authentication_value
- widget_recent-posts
- widget_recent-comments
- theysaidso_admin_options
- can_compress_scripts
- db_upgraded
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
Even though everything seems fine, this is not an exhaustive test
SRP 50% 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
The following issues need your attention
- 11× PHP files output text when accessed directly (only 10 are shown):
- > /wp-content/plugins/admin-chat-box/template/ACB_dashboard.php
- > /wp-content/plugins/admin-chat-box/inc/ACB_Route.php
- > /wp-content/plugins/admin-chat-box/template/ACB_setting.php
- > /wp-content/plugins/admin-chat-box/inc/ACB_BaseController.php
- > /wp-content/plugins/admin-chat-box/inc/ACB_Deactivate.php
- > /wp-content/plugins/admin-chat-box/admin-chat-box.php
- > /wp-content/plugins/admin-chat-box/inc/ACB_FrontChat.php
- > /wp-content/plugins/admin-chat-box/inc/ACB_DbTables.php
- > /wp-content/plugins/admin-chat-box/inc/ACB_Activate.php
- > /wp-content/plugins/admin-chat-box/inc/ACB_Enqueue.php
User-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Please fix the following user-side errors
- > GET request to /wp-admin/admin.php?page=admin_chat_box_setting
- > Other (warning) in unknown
https://www.youtube.com/s/player/dd34ec3d/www-widgetapi.vflset/www-widgetapi.js 1237 Unrecognized feature: 'web-share'.
Optimizations
Plugin configuration 76% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
Please fix the following attributes:
- Screenshots: These screenshots do not have images: #1 (Advance Chat Box Banner), #2 (chat Logo/Icon), #3 (Screenshot-1-4)
- Tags: Please delete some tags, you are using 11 tag instead of maximum 10
admin-chat-box/admin-chat-box.php 62% from 13 tests
The main file in "Admin Chat Box" v. 2.0.6 serves as a complement to information provided in readme.txt and as the entry point to the plugin
The following require your attention:
- Requires at least: Required version number should only contain digits separated by dots (ex. "7.0" instead of "5.0 or higher")
- Text Domain: Since WordPress version 4.6 the text domain is optional; if specified, it must be the same as the plugin slug
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 217 characters long)
- Requires PHP: Required version number should only contain digits separated by dots (ex. "7.0" instead of "5.6 or higher")
- Domain Path: The domain path is invalid: folder "/languages/" does not exist
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
Good job! No executable or dangerous file extensions detected965 lines of code in 26 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 23 | 181 | 681 | 816 |
JavaScript | 1 | 18 | 3 | 130 |
CSS | 1 | 1 | 0 | 14 |
JSON | 1 | 0 | 0 | 5 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.41 |
Average class complexity | 8.62 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 47.00 |
Average method complexity | 2.52 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 18.00 |
Code structure | ||
---|---|---|
Namespaces | 3 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 13 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 13 | 100.00% |
▷ Final classes | 1 | 7.69% |
Methods | 66 | |
▷ Static methods | 21 | 31.82% |
▷ Public methods | 64 | 96.97% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 2 | 3.03% |
Functions | 2 | |
▷ Named functions | 1 | 50.00% |
▷ Anonymous functions | 1 | 50.00% |
Constants | 7 | |
▷ Global constants | 7 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
7 PNG files occupy 0.01MB with 0.00MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
build/images/add.8d6539ca.png | 2.37KB | 1.22KB | ▼ 48.70% |
build/images/img.72d7f9e6.png | 1.49KB | 0.86KB | ▼ 42.35% |
build/images/cam.b5caa1a4.png | 1.66KB | 0.70KB | ▼ 57.71% |
build/images/attach.d65987fc.png | 0.83KB | 0.43KB | ▼ 47.70% |
assets/logo.png | 0.38KB | 0.33KB | ▼ 11.95% |