Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.06MB] [CPU: ▼9.02ms] Passed 4 tests
A check of server-side resources used by Querlo Chatbot
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.79 ▲0.05 | 41.38 ▼5.01 |
Dashboard /wp-admin | 3.69 ▲0.06 | 47.93 ▼18.24 |
Posts /wp-admin/edit.php | 3.74 ▲0.06 | 51.30 ▼3.95 |
Add New Post /wp-admin/post-new.php | 6.21 ▲0.06 | 98.12 ▼8.89 |
Media Library /wp-admin/upload.php | 3.55 ▲0.06 | 42.80 ▲2.98 |
Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
No storage issues were detected
Filesystem: 7 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
db_upgraded |
widget_recent-comments |
widget_recent-posts |
widget_theysaidso_widget |
theysaidso_admin_options |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Querlo Chatbot
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲39 | 14.37 ▼0.29 | 1.89 ▲0.14 | 43.28 ▼7.05 |
Dashboard /wp-admin | 2,206 ▲32 | 5.55 ▼0.14 | 89.13 ▼1.54 | 83.21 ▲40.32 |
Posts /wp-admin/edit.php | 2,114 ▲17 | 1.97 ▼0.16 | 39.42 ▼0.06 | 34.17 ▼1.03 |
Add New Post /wp-admin/post-new.php | 1,536 ▼9 | 23.38 ▲0.23 | 685.98 ▼19.75 | 59.27 ▲4.25 |
Media Library /wp-admin/upload.php | 1,411 ▲8 | 4.24 ▼0.09 | 112.33 ▲8.68 | 79.28 ▲31.52 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Please fix the following items
- Zombie WordPress options detected upon uninstall: 6 options
- db_upgraded
- theysaidso_admin_options
- widget_recent-comments
- can_compress_scripts
- widget_recent-posts
- widget_theysaidso_widget
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Everything seems fine, however this is by no means an exhaustive test
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× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/querlo-chatbots/admin/views/admin-embeds-by-location_v.php
- 4× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html() in wp-content/plugins/querlo-chatbots/admin/views/admin-main-settings_v.php:86
- > PHP Notice
Undefined variable: option in wp-content/plugins/querlo-chatbots/admin/views/admin-embeds-by-location_v.php on line 41
- > PHP Warning
sizeof(): Parameter must be an array or an object that implements Countable in wp-content/plugins/querlo-chatbots/admin/views/admin-embeds-by-location_v.php on line 41
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/querlo-chatbots/admin/views/admin-embeds-by-location_v.php on line 41
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser issues were found
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
Attributes that need to be fixed:
- Requires php: The plugin version is formatted incorrectly
- Tags: Please delete some tags, you are using 11 tag instead of maximum 10
querlo-chatbots/querlo.php 92% from 13 tests
This is the main PHP file of "Querlo Chatbot" version 1.2.4, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
Please make the necessary changes and fix the following:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("querlo-chatbots.php" instead of "querlo.php")
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
Good job! No executable or dangerous file extensions detected519 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 5 | 96 | 99 | 519 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.33 |
Average class complexity | 14.67 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 27.00 |
Average method complexity | 2.48 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 17.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 3 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 3 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 26 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 20 | 76.92% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 6 | 23.08% |
Functions | 1 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 1 | 100.00% |
Constants | 1 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 1 | 100.00% |
▷ Public constants | 1 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
1 PNG file occupies 0.00MB with 0.00MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/menu-icon.png | 2.29KB | 0.84KB | ▼ 63.35% |