Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.05MB] [CPU: ▲3.58ms] Passed 4 tests
Analyzing server-side resources used by Xatkit - Smart Chatbot for WooCommerce
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 36.86 ▼1.13 |
Dashboard /wp-admin | 3.37 ▲0.07 | 59.10 ▲8.96 |
Posts /wp-admin/edit.php | 3.48 ▲0.13 | 57.31 ▲5.13 |
Add New Post /wp-admin/post-new.php | 5.95 ▲0.06 | 100.54 ▲13.71 |
Media Library /wp-admin/upload.php | 3.27 ▲0.04 | 40.07 ▲1.35 |
Server storage [IO: ▲0.69MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 26 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-posts |
theysaidso_admin_options |
db_upgraded |
widget_recent-comments |
Browser metrics Passed 4 tests
Checking browser requirements for Xatkit - Smart Chatbot for WooCommerce
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,096 ▲350 | 17.19 ▲2.82 | 34.87 ▲32.96 | 77.20 ▲33.55 |
Dashboard /wp-admin | 2,388 ▲200 | 6.83 ▲1.95 | 124.32 ▲10.83 | 37.75 ▼7.01 |
Posts /wp-admin/edit.php | 2,300 ▲208 | 3.45 ▲1.40 | 52.12 ▲11.95 | 30.49 ▼7.15 |
Add New Post /wp-admin/post-new.php | 1,713 ▲185 | 22.62 ▼0.53 | 599.09 ▼82.10 | 30.44 ▼27.08 |
Media Library /wp-admin/upload.php | 1,436 ▲48 | 4.55 ▲0.41 | 85.50 ▼32.54 | 43.99 ▼5.12 |
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
Please fix the following items
- Zombie WordPress options detected upon uninstall: 6 options
- db_upgraded
- widget_recent-posts
- can_compress_scripts
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-comments
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP Passed 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
Everything seems fine, however this is by no means an exhaustive test
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
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
9 plugin tags: woocommerce, chatbot, cart, chat-bot, online-shop...
xatkit-chatbot-for-woocommerce/xatkit-chatbot-for-woocommerce.php 92% from 13 tests
"Xatkit - Smart Chatbot for WooCommerce" version 1.0.4's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
It is important to fix the following:
- Text Domain: You no longer need to specify the text domain since WordPress 4.6; it must be the same as the plugin slug
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 detected1,029 lines of code in 19 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 11 | 198 | 427 | 676 |
PO File | 2 | 60 | 70 | 174 |
JavaScript | 3 | 20 | 70 | 146 |
CSS | 3 | 2 | 0 | 33 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.23 |
Average class complexity | 7.33 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 31.00 |
Average method complexity | 2.19 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 21.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 9 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 9 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 48 | |
▷ Static methods | 2 | 4.17% |
▷ Public methods | 40 | 83.33% |
▷ Protected methods | 5 | 10.42% |
▷ Private methods | 3 | 6.25% |
Functions | 4 | |
▷ Named functions | 4 | 100.00% |
▷ Anonymous functions | 0 | 0.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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
No PNG files were detected