Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.10MB] [CPU: ▼9.90ms] Passed 4 tests
An overview of server-side resources used by Chatbot Botnation Plugin
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.56 ▲0.10 | 48.53 ▲6.61 |
Dashboard /wp-admin | 3.42 ▲0.07 | 46.94 ▼16.74 |
Posts /wp-admin/edit.php | 3.47 ▲0.11 | 45.23 ▼0.59 |
Add New Post /wp-admin/post-new.php | 6.00 ▲0.11 | 83.37 ▼23.78 |
Media Library /wp-admin/upload.php | 3.34 ▲0.11 | 34.20 ▲1.52 |
Chatbot Botnation /wp-admin/options-general.php?page=bnai_cb | 3.31 | 31.26 |
Server storage [IO: ▲0.06MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints 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-posts |
theysaidso_admin_options |
db_upgraded |
widget_recent-comments |
can_compress_scripts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
A check of browser resources used by Chatbot Botnation Plugin
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,829 ▲83 | 13.24 ▼1.15 | 1.98 ▲0.16 | 42.26 ▼0.95 |
Dashboard /wp-admin | 2,210 ▲19 | 4.84 ▼0.97 | 112.74 ▲4.47 | 44.84 ▲3.28 |
Posts /wp-admin/edit.php | 2,090 ▲1 | 2.03 ▲0.04 | 33.29 ▼2.80 | 33.20 ▲1.14 |
Add New Post /wp-admin/post-new.php | 1,536 ▼0 | 23.59 ▲0.39 | 641.05 ▼36.19 | 51.12 ▼10.44 |
Media Library /wp-admin/upload.php | 1,395 ▲4 | 4.20 ▲0.01 | 94.32 ▼2.07 | 41.07 ▲0.30 |
Chatbot Botnation /wp-admin/options-general.php?page=bnai_cb | 900 | 2.03 | 25.04 | 28.15 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
The following items require your attention
- This plugin did not uninstall successfully, leaving 6 options in the database
- can_compress_scripts
- widget_recent-posts
- theysaidso_admin_options
- widget_recent-comments
- widget_theysaidso_widget
- db_upgraded
Smoke tests 50% from 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 0% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Please fix the following
- 1× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/chatbot-botnation/chatbot-botnation.php
- 3× 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/chatbot-botnation/includes/bnai-cb-page-options.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/chatbot-botnation/includes/bnai-cb-injector.php:5
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/chatbot-botnation/includes/bnai-cb-administration.php:8
- > 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 Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
4 plugin tags: web, botnation, bot, chatbot
chatbot-botnation/chatbot-botnation.php Passed 13 tests
The principal PHP file in "Chatbot Botnation Plugin" v. 1.3.3 is loaded by WordPress automatically on each request
105 characters long description:
Create easily your own AI chatbot for Word Press powered by Botnation AI. Free chatbot building platform.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
There were no executable files found in this plugin609 lines of code in 6 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 5 | 80 | 83 | 504 |
PO File | 1 | 32 | 37 | 105 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.62 |
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 | 18 | |
▷ Named functions | 18 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 10 | |
▷ Global constants | 10 | 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
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 |
images/bnai-cb-help-ref.png | 15.54KB | 5.74KB | ▼ 63.06% |