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.04MB] [CPU: ▼1.91ms] Passed 4 tests
An overview of server-side resources used by ChatBot - WP chat bot plugin for WordPress
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.01 | 36.98 ▼6.87 |
Dashboard /wp-admin | 3.36 ▲0.05 | 47.23 ▼1.14 |
Posts /wp-admin/edit.php | 3.47 ▲0.11 | 53.17 ▲0.67 |
Add New Post /wp-admin/post-new.php | 5.94 ▲0.05 | 96.46 ▼0.29 |
Media Library /wp-admin/upload.php | 3.28 ▲0.05 | 43.13 ▲8.90 |
Server storage [IO: ▲0.53MB] [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: 50 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
widget_recent-comments |
theysaidso_admin_options |
widget_recent-posts |
widget_theysaidso_widget |
can_compress_scripts |
Browser metrics Passed 4 tests
ChatBot - WP chat bot plugin for WordPress: an overview of browser usage
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,814 ▲53 | 14.18 ▼0.45 | 1.77 ▼0.43 | 46.36 ▲4.69 |
Dashboard /wp-admin | 2,220 ▲40 | 5.51 ▼0.16 | 83.38 ▼7.68 | 66.44 ▲27.47 |
Posts /wp-admin/edit.php | 2,131 ▲31 | 1.98 ▼0.01 | 40.43 ▲0.19 | 36.03 ▼2.78 |
Add New Post /wp-admin/post-new.php | 1,712 ▲176 | 24.32 ▲6.15 | 687.69 ▲3.15 | 67.68 ▼8.52 |
Media Library /wp-admin/upload.php | 1,419 ▲19 | 4.18 ▼0.03 | 99.67 ▼4.84 | 72.02 ▲29.81 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
The following items require your attention
- Zombie WordPress options were found after uninstall: 6 options
- widget_recent-comments
- theysaidso_admin_options
- db_upgraded
- widget_recent-posts
- widget_theysaidso_widget
- can_compress_scripts
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
The smoke test was a success, however most plugin functionality was not tested
SRP Passed 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
Everything seems fine, however this is by no means an exhaustive test
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser errors were detected
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
5 plugin tags: bot, chatbot, live chat, chatbot plugin, chat bot
chatbot-com-ai-platform/chatbotcom.php 92% from 13 tests
The main PHP file in "ChatBot - WP chat bot plugin for WordPress" ver. 1.0.5 adds more information about the plugin and also serves as the entry point for this plugin
The following require your attention:
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("chatbot-com-ai-platform.php" instead of "chatbotcom.php")
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
There were no executable files found in this plugin1,149 lines of code in 39 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 23 | 123 | 21 | 589 |
CSS | 11 | 76 | 13 | 448 |
JavaScript | 2 | 19 | 0 | 106 |
SVG | 3 | 0 | 0 | 6 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.30 |
Average class complexity | 9.00 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 24.00 |
Average method complexity | 1.94 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 18.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 4 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 4 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 34 | |
▷ Static methods | 10 | 29.41% |
▷ Public methods | 19 | 55.88% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 15 | 44.12% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 22 | |
▷ Global constants | 22 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
1 PNG file occupies 0.02MB with 0.01MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
admin/assets/images/no-stories.png | 16.26KB | 7.22KB | ▼ 55.57% |