Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.02MB] [CPU: ▼10.44ms] Passed 4 tests
Server-side resources used by Cense Conversational AI Chatbot
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.43 ▼0.04 | 24.55 ▼16.55 |
Dashboard /wp-admin | 3.36 ▲0.05 | 45.61 ▼3.58 |
Posts /wp-admin/edit.php | 3.41 ▲0.05 | 50.20 ▲2.04 |
Add New Post /wp-admin/post-new.php | 5.94 ▲0.05 | 82.08 ▼23.66 |
Media Library /wp-admin/upload.php | 3.28 ▲0.05 | 39.46 ▲3.70 |
Cense AI Chatbot /wp-admin/options-general.php?page=cense_ai_chatbot | 3.24 | 30.04 |
Server storage [IO: ▲0.24MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 5 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-posts |
widget_recent-comments |
widget_theysaidso_widget |
db_upgraded |
can_compress_scripts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Cense Conversational AI Chatbot
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,480 ▼291 | 13.24 ▼1.39 | 0.85 ▼1.06 | 13.71 ▼30.56 |
Dashboard /wp-admin | 2,213 ▲24 | 5.89 ▲0.94 | 96.34 ▼11.91 | 38.28 ▼8.09 |
Posts /wp-admin/edit.php | 2,096 ▲25 | 2.02 ▼0.05 | 40.67 ▲5.50 | 38.37 ▲2.65 |
Add New Post /wp-admin/post-new.php | 1,536 ▼0 | 23.00 ▲0.01 | 649.81 ▼27.94 | 72.65 ▲0.93 |
Media Library /wp-admin/upload.php | 1,395 ▲7 | 4.24 ▼0.01 | 96.46 ▼14.25 | 46.32 ▲0.14 |
Cense AI Chatbot /wp-admin/options-general.php?page=cense_ai_chatbot | 782 | 2.06 | 25.42 | 24.15 |
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
The following items require your attention
- Zombie WordPress options were found after uninstall: 6 options
- theysaidso_admin_options
- widget_recent-posts
- widget_recent-comments
- can_compress_scripts
- widget_theysaidso_widget
- db_upgraded
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Even though no errors were found, this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
The following issues need your attention
- 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/cense-ai-chatbot/cense-chat.php:16
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine on the user side
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
5 plugin tags: artificial intelligence, ai, chatbot, machine learning, natural language processing
cense-ai-chatbot/cense-chat.php 92% from 13 tests
The entry point to "Cense Conversational AI Chatbot" version 10.6 is a PHP file that has certain tags in its header comment area
Please take the time to fix the following:
- Main file name: Name the main plugin file the same as the plugin slug ("cense-ai-chatbot.php" instead of "cense-chat.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
Good job! No executable or dangerous file extensions detected208 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 59 | 70 | 205 |
CSS | 1 | 0 | 5 | 2 |
JavaScript | 1 | 0 | 0 | 1 |
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 problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.42 |
Average class complexity | 19.00 |
▷ Minimum class complexity | 4.00 |
▷ Maximum class complexity | 34.00 |
Average method complexity | 4.00 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 33.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 12 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 12 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.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
1 PNG file occupies 0.01MB with 0.01MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
img/sdk-background.png | 13.28KB | 7.31KB | ▼ 44.96% |