Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Install script ran successfully
Server metrics [RAM: ▲0.66MB] [CPU: ▲1.50ms] Passed 4 tests
A check of server-side resources used by Bdtaskchatbot Best chatting WordPress plugin
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.04 ▲0.58 | 44.25 ▲5.31 |
Dashboard /wp-admin | 4.05 ▲0.71 | 52.93 ▼10.01 |
Posts /wp-admin/edit.php | 4.10 ▲0.74 | 57.42 ▲4.39 |
Add New Post /wp-admin/post-new.php | 6.57 ▲0.68 | 100.97 ▲9.93 |
Media Library /wp-admin/upload.php | 3.91 ▲0.68 | 42.10 ▲6.29 |
Chat /wp-admin/admin.php?page=bdtaskchatbot_chat | 3.93 | 44.22 |
Agents/Departments /wp-admin/admin.php?page=bdtaskchatbot_department | 3.95 | 41.63 |
Intents /wp-admin/admin.php?page=bdtaskchatbot_intents | 3.91 | 36.80 |
Update Intents /wp-admin/admin.php?page=bdtaskchatbot_update_intents | 3.94 | 34.37 |
Dashboard /wp-admin/admin.php?page=bdtaskchatbot | 3.97 | 38.55 |
Update Mapping /wp-admin/admin.php?page=bdtaskchatbot_update_mapping | 3.96 | 37.08 |
Settings /wp-admin/admin.php?page=bdtaskchatbot_setting | 3.92 | 37.20 |
Create Intents /wp-admin/admin.php?page=bdtaskchatbot_create_intents | 3.93 | 38.30 |
Department Mapping /wp-admin/admin.php?page=bdtaskchatbot_department_mapping | 3.96 | 37.94 |
Server storage [IO: ▲19.42MB] [DB: ▲0.01MB] Passed 3 tests
How much does this plugin use your filesystem and database?
The plugin installed successfully
Filesystem: 322 new files
Database: 11 new tables, 6 new options
New tables |
---|
wp_bdtaskchatboard_visitors |
wp_bdtaskchatboard_chat_history |
wp_bdtaskchatboard_department_mapping |
wp_bdtaskchatboard_chat_color |
wp_bdtaskchatboard_chatbox |
wp_bdtaskchatboard_question_bank |
wp_bdtaskchatboard_visiting_history |
wp_bdtaskchatboard_support |
wp_bdtaskchatboard_department |
wp_bdtaskchatboard_answer_bank |
... |
New WordPress options |
---|
db_upgraded |
widget_theysaidso_widget |
can_compress_scripts |
theysaidso_admin_options |
widget_recent-posts |
widget_recent-comments |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Bdtaskchatbot Best chatting WordPress plugin
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,994 ▲248 | 14.50 ▲0.15 | 14.35 ▲12.37 | 41.12 ▼1.57 |
Dashboard /wp-admin | 2,251 ▲74 | 5.76 ▲0.19 | 98.25 ▲11.61 | 38.03 ▼3.25 |
Posts /wp-admin/edit.php | 2,162 ▲62 | 2.10 ▲0.08 | 47.38 ▲7.66 | 37.19 ▼2.31 |
Add New Post /wp-admin/post-new.php | 1,575 ▲47 | 22.07 ▼0.89 | 702.81 ▼9.33 | 53.39 ▼12.03 |
Media Library /wp-admin/upload.php | 1,456 ▲56 | 4.28 ▲0.10 | 107.88 ▲3.69 | 48.30 ▼1.91 |
Chat /wp-admin/admin.php?page=bdtaskchatbot_chat | 991 | 20.29 | 476.33 | 93.48 |
Agents/Departments /wp-admin/admin.php?page=bdtaskchatbot_department | 913 | 29.86 | 456.06 | 30.66 |
Intents /wp-admin/admin.php?page=bdtaskchatbot_intents | 813 | 20.61 | 301.00 | 38.52 |
Update Intents /wp-admin/admin.php?page=bdtaskchatbot_update_intents | 957 | 20.86 | 311.93 | 39.79 |
Dashboard /wp-admin/admin.php?page=bdtaskchatbot | 1,016 | 31.97 | 361.47 | 65.09 |
Update Mapping /wp-admin/admin.php?page=bdtaskchatbot_update_mapping | 979 | 20.70 | 315.53 | 34.34 |
Settings /wp-admin/admin.php?page=bdtaskchatbot_setting | 990 | 20.24 | 285.11 | 34.90 |
Create Intents /wp-admin/admin.php?page=bdtaskchatbot_create_intents | 951 | 20.31 | 271.76 | 33.20 |
Department Mapping /wp-admin/admin.php?page=bdtaskchatbot_department_mapping | 1,252 | 24.27 | 340.85 | 36.09 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.01MB] 50% 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 11 tables in the database
- wp_bdtaskchatboard_answer_bank
- wp_bdtaskchatboard_support
- wp_bdtaskchatboard_chat_color
- wp_bdtaskchatboard_intents
- wp_bdtaskchatboard_department_mapping
- wp_bdtaskchatboard_department
- wp_bdtaskchatboard_visiting_history
- wp_bdtaskchatboard_question_bank
- wp_bdtaskchatboard_chatbox
- wp_bdtaskchatboard_chat_history
- ...
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_theysaidso_widget
- theysaidso_admin_options
- db_upgraded
- can_compress_scripts
- widget_recent-comments
- widget_recent-posts
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
These errors were triggered by the plugin
- > GET request to /wp-admin/admin.php?page=bdtaskchatbot_intents
- > Notice in wp-content/plugins/bdtaskchatbot/admin/templates/bdtaskchatbot_intents.php+62
Undefined offset: 0
- > GET request to /wp-admin/admin.php?page=bdtaskchatbot_intents
- > Notice in wp-content/plugins/bdtaskchatbot/admin/templates/bdtaskchatbot_intents.php+62
Trying to get property 'department_id' of non-object
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=bdtaskchatbot_update_mapping
- > Notice in wp-content/plugins/bdtaskchatbot/admin/templates/bdtaskchatbot_update_mapping.php+21
Undefined index: id
- > GET request to /wp-admin/admin.php?page=bdtaskchatbot_update_intents
- > Notice in wp-content/plugins/bdtaskchatbot/admin/templates/bdtaskchatbot_update_intents.php+71
Trying to get property 'intent_id' of non-object
- > GET request to /wp-admin/admin.php?page=bdtaskchatbot_update_intents
- > Notice in wp-content/plugins/bdtaskchatbot/admin/templates/bdtaskchatbot_update_intents.php+108
Trying to get property 'intent_name' of non-object
- 3 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=bdtaskchatbot_update_intents
- > Notice in wp-content/plugins/bdtaskchatbot/admin/templates/bdtaskchatbot_update_intents.php+119
Trying to get property 'intent_type' of non-object
- > GET request to /wp-admin/admin.php?page=bdtaskchatbot_update_mapping
- > Notice in wp-content/plugins/bdtaskchatbot/admin/templates/bdtaskchatbot_update_mapping.php+89
Trying to get property 'id' of non-object
- > GET request to /wp-admin/admin.php?page=bdtaskchatbot_update_mapping
- > Notice in wp-content/plugins/bdtaskchatbot/admin/templates/bdtaskchatbot_update_mapping.php+118
Trying to get property 'user_id' of non-object
SRP 0% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Please take a closer look at the following
- 1× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/bdtaskchatbot/admin/assets/plugins/datatables/ids-objects.php
- 2× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
require(): Failed opening required 'ssp.class.php' (include_path='.:/usr/share/php') in wp-content/plugins/bdtaskchatbot/admin/assets/plugins/datatables/server_processing.php on line 66
- > PHP Warning
require(ssp.class.php): failed to open stream: No such file or directory in wp-content/plugins/bdtaskchatbot/admin/assets/plugins/datatables/server_processing.php on line 66
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine on the user side
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 88% from 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
Attributes that require attention:
- Screenshots: These screenshots need descriptions #1, #2, #3, #4, #5, #6 in bdtaskchatbot/assets to your readme.txt
- Tags: Please reduce the number of tags, currently 15 tag instead of maximum 10
bdtaskchatbot/bdtaskchatbot.php Passed 13 tests
The principal PHP file in "Bdtaskchatbot Best chatting WordPress plugin" v. 1.0.0 is loaded by WordPress automatically on each request
96 characters long description:
This is a short description of what the plugin does. It's displayed in the WordPress admin area.
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 plugin78,761 lines of code in 176 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 37 | 6,218 | 906 | 32,290 |
JavaScript | 53 | 2,005 | 801 | 15,406 |
SVG | 8 | 0 | 13 | 11,779 |
PHP | 24 | 925 | 823 | 5,618 |
Sass | 22 | 596 | 38 | 5,366 |
LESS | 18 | 502 | 55 | 4,585 |
YAML | 1 | 0 | 0 | 1,702 |
Markdown | 9 | 635 | 0 | 1,415 |
HTML | 1 | 0 | 0 | 406 |
JSON | 2 | 0 | 0 | 124 |
make | 1 | 17 | 4 | 70 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.18 |
Average class complexity | 22.90 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 105.00 |
Average method complexity | 3.04 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 23.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 10 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 10 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 108 | |
▷ Static methods | 34 | 31.48% |
▷ Public methods | 103 | 95.37% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 5 | 4.63% |
Functions | 8 | |
▷ Named functions | 6 | 75.00% |
▷ Anonymous functions | 2 | 25.00% |
Constants | 1 | |
▷ Global constants | 1 | 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
23 compressed PNG files occupy 0.43MB
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
admin/assets/dist/img/icon.png | 26.57KB | 11.12KB | ▼ 58.14% |
admin/assets/plugins/images/sort_asc.png | 0.16KB | 0.25KB | 0.00% |
public/assets/dist/img/favicon.png | 0.16KB | 0.17KB | 0.00% |
admin/assets/plugins/datatables/details_close.png | 0.67KB | 0.79KB | 0.00% |
admin/assets/dist/img/icons.png | 1.13KB | 1.14KB | 0.00% |