Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Install script ran successfully
Server metrics [RAM: ▲0.16MB] [CPU: ▼3.69ms] Passed 4 tests
Analyzing server-side resources used by ChatBot Sessions
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.63 ▲0.17 | 43.29 ▲1.26 |
Dashboard /wp-admin | 3.46 ▲0.16 | 44.89 ▼4.94 |
Posts /wp-admin/edit.php | 3.58 ▲0.22 | 49.05 ▲2.86 |
Add New Post /wp-admin/post-new.php | 6.04 ▲0.16 | 88.47 ▼13.24 |
Media Library /wp-admin/upload.php | 3.39 ▲0.16 | 35.44 ▲2.18 |
Server storage [IO: ▲0.05MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin was installed successfully
Filesystem: 8 new files
Database: 2 new tables, 7 new options
New tables |
---|
wp_wpbot_user |
wp_wpbot_Conversation |
New WordPress options |
---|
can_compress_scripts |
theysaidso_admin_options |
widget_recent-posts |
enable_chat_session |
widget_recent-comments |
widget_theysaidso_widget |
db_upgraded |
Browser metrics Passed 4 tests
A check of browser resources used by ChatBot Sessions
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,809 ▲74 | 14.78 ▲0.02 | 1.54 ▼0.22 | 40.72 ▼8.50 |
Dashboard /wp-admin | 2,218 ▲30 | 4.92 ▲0.04 | 104.47 ▼13.94 | 39.00 ▼5.69 |
Posts /wp-admin/edit.php | 2,098 ▲9 | 2.05 ▲0.07 | 37.65 ▼2.31 | 33.13 ▼2.59 |
Add New Post /wp-admin/post-new.php | 1,543 ▲15 | 23.13 ▲4.84 | 670.65 ▲54.09 | 56.58 ▲2.37 |
Media Library /wp-admin/upload.php | 1,397 ▲9 | 4.20 ▲0.03 | 98.38 ▼30.33 | 47.09 ▲2.10 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
It is recommended to fix the following
- Zombie tables were found after uninstall: 2 tables
- wp_wpbot_Conversation
- wp_wpbot_user
- Zombie WordPress options were found after uninstall: 7 options
- enable_chat_session
- widget_recent-posts
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-comments
- theysaidso_admin_options
- db_upgraded
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Good news, no errors were detected
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
The following issues need your attention
- 1× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/wpbot/wpbot-chat-history-addon.php
- 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/wpbot/class-qc-free-plugin-upgrade-notice.php:34
- > PHP Fatal error
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 93% from 29 tests
readme.txt Passed 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
5 plugin tags: chatbot, history, live chat, livechat, sessions
wpbot/wpbot-chat-history-addon.php 85% from 13 tests
The entry point to "ChatBot Sessions" version 0.9.6 is a PHP file that has certain tags in its header comment area
Please take the time to fix the following:
- Requires at least: Required version must match the one declared in readme.txt ("4.9" instead of "4.6")
- Main file name: It is recommended to name the main PHP file as the plugin slug ("wpbot.php" instead of "wpbot-chat-history-addon.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
Everything looks great! No dangerous files found in this plugin1,102 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 220 | 91 | 898 |
JavaScript | 2 | 32 | 10 | 120 |
CSS | 1 | 10 | 3 | 84 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.33 |
Average class complexity | 14.00 |
▷ Minimum class complexity | 14.00 |
▷ Maximum class complexity | 14.00 |
Average method complexity | 2.44 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 4.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 9 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 9 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 19 | |
▷ Named functions | 19 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 3 | |
▷ Global constants | 3 | 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
There are no PNG files in this plugin