Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
This plugin's installer ran successfully
Server metrics [RAM: ▼0.00MB] [CPU: ▼10.26ms] Passed 4 tests
An overview of server-side resources used by Instant Answers Chatbot
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.00 | 40.59 ▼4.75 |
Dashboard /wp-admin | 3.31 ▼0.03 | 47.17 ▼14.86 |
Posts /wp-admin/edit.php | 3.36 ▲0.01 | 46.38 ▼5.05 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.01 | 88.01 ▼16.37 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 39.93 ▲6.29 |
Instant Answers Options /wp-admin/options-general.php?page=instant_answers_settings | 3.20 | 32.79 |
Server storage [IO: ▲0.01MB] [DB: ▲0.07MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 3 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-posts |
widget_recent-comments |
can_compress_scripts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Instant Answers Chatbot
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,823 ▲62 | 14.70 ▲0.10 | 2.23 ▲0.68 | 40.47 ▼2.17 |
Dashboard /wp-admin | 2,202 ▲25 | 5.55 ▼0.10 | 88.82 ▼12.13 | 40.00 ▼8.16 |
Posts /wp-admin/edit.php | 2,104 ▲1 | 2.03 ▲0.02 | 36.38 ▼2.82 | 33.47 ▼3.74 |
Add New Post /wp-admin/post-new.php | 1,541 ▲15 | 23.08 ▲0.12 | 690.77 ▲54.80 | 62.21 ▲2.41 |
Media Library /wp-admin/upload.php | 1,407 ▲10 | 4.18 ▼0.05 | 98.66 ▼4.55 | 46.76 ▼2.46 |
Instant Answers Options /wp-admin/options-general.php?page=instant_answers_settings | 791 | 2.15 | 25.35 | 27.97 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.07MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
You still need to fix the following
- Zombie WordPress options were found after uninstall: 6 options
- theysaidso_admin_options
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-comments
- db_upgraded
- widget_recent-posts
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Everything seems fine, however this is by no means an exhaustive test
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)
There were no browser issues found
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
6 plugin tags: artificial intelligence, support, chatbot, customer service, ai...
instant-answers-chatbot/instant-answers-chatbot.php Passed 13 tests
This is the main PHP file of "Instant Answers Chatbot" version 1.0, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
75 characters long description:
Allows to add a chatbot created in Instant Answers into the WordPress site.
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
No dangerous file extensions were detected233 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 1 | 21 | 1 | 187 |
PHP | 1 | 9 | 10 | 46 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.13 |
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 | 5 | |
▷ Named functions | 5 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.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
No PNG images were found in this plugin