Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.16MB] [CPU: ▼1.17ms] Passed 4 tests
A check of server-side resources used by QuBot - Chatbot Builder with Templates
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.64 ▲0.17 | 36.02 ▼6.69 |
Dashboard /wp-admin | 3.47 ▲0.17 | 48.47 ▼2.45 |
Posts /wp-admin/edit.php | 3.53 ▲0.16 | 48.52 ▲2.25 |
Add New Post /wp-admin/post-new.php | 6.06 ▲0.16 | 91.97 ▲2.20 |
Media Library /wp-admin/upload.php | 3.40 ▲0.16 | 38.00 ▲4.12 |
Server storage [IO: ▲4.51MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin installed successfully
Filesystem: 216 new files
Database: 2 new tables, 6 new options
New tables |
---|
wp_qubotchat_data |
wp_qubotchat_bots |
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-posts |
can_compress_scripts |
theysaidso_admin_options |
widget_recent-comments |
db_upgraded |
Browser metrics Passed 4 tests
This is an overview of browser requirements for QuBot - Chatbot Builder with Templates
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,942 ▲180 | 14.64 ▲0.24 | 3.70 ▲1.95 | 48.70 ▲1.39 |
Dashboard /wp-admin | 2,198 ▲21 | 5.54 ▼0.02 | 95.21 ▼0.73 | 73.16 ▲35.01 |
Posts /wp-admin/edit.php | 2,121 ▲18 | 1.98 ▼0.04 | 38.67 ▼0.23 | 33.87 ▼2.27 |
Add New Post /wp-admin/post-new.php | 1,692 ▲162 | 22.33 ▼0.75 | 719.49 ▲30.48 | 55.20 ▲2.89 |
Media Library /wp-admin/upload.php | 1,415 ▲15 | 4.18 ▼0.11 | 99.35 ▲0.24 | 74.43 ▲30.13 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Please fix the following items
- The plugin did not uninstall successfully, leaving 2 tables in the database
- wp_qubotchat_bots
- wp_qubotchat_data
- This plugin does not fully uninstall, leaving 6 options in the database
- db_upgraded
- widget_recent-posts
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-comments
- theysaidso_admin_options
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though everything seems fine, this is not an exhaustive test
SRP 50% 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
Almost there! Just fix the following items
- 1× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function get_file_data() in wp-content/plugins/qubotchat/qubotchat.php:10
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
There were no browser issues found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
Attributes that need to be fixed:
- Tags: Too many tags (12 tag instead of maximum 10); only the first 5 tags are used in your directory listing
qubotchat/qubotchat.php 92% from 13 tests
The principal PHP file in "QuBot - Chatbot Builder with Templates" v. 1.1.9 is loaded by WordPress automatically on each request
Please make the necessary changes and fix the following:
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 148 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
No dangerous file extensions were detected50,072 lines of code in 107 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 5 | 442 | 5,313 | 42,015 |
CSS | 9 | 761 | 373 | 5,284 |
SVG | 92 | 11 | 27 | 1,607 |
PHP | 1 | 89 | 29 | 1,166 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.51 |
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 | 13 | |
▷ Named functions | 13 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 1 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
74 PNG files occupy 1.23MB with 0.72MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
qubot/qb/css/icons/animal02.png | 11.90KB | 5.35KB | ▼ 55.05% |
qubot/qb/css/icons/smile01.png | 15.44KB | 5.83KB | ▼ 62.27% |
qubot/editor/css/icons/logo02b.png | 43.80KB | 14.50KB | ▼ 66.89% |
qubot/editor/css/icons/animal02.png | 11.90KB | 5.35KB | ▼ 55.05% |
qubot/qb/css/icons/smile03.png | 7.75KB | 3.64KB | ▼ 53.08% |