Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Installer ran successfully
Server metrics [RAM: ▲0.02MB] [CPU: ▼2.17ms] Passed 4 tests
Analyzing server-side resources used by ShopyBot - E-Commerce Chatbot
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.03 | 42.75 ▼2.39 |
Dashboard /wp-admin | 3.34 ▼0.01 | 58.98 ▼6.21 |
Posts /wp-admin/edit.php | 3.39 ▲0.03 | 52.55 ▲3.45 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.03 | 101.73 ▼3.54 |
Media Library /wp-admin/upload.php | 3.26 ▲0.03 | 41.43 ▲4.54 |
Server storage [IO: ▲0.39MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 38 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
db_upgraded |
widget_recent-comments |
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-posts |
Browser metrics Passed 4 tests
A check of browser resources used by ShopyBot - E-Commerce Chatbot
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,829 ▲68 | 13.23 ▼1.58 | 1.82 ▲0.14 | 51.44 ▲9.39 |
Dashboard /wp-admin | 2,232 ▲32 | 4.85 ▼1.06 | 118.78 ▲7.78 | 40.49 ▼4.27 |
Posts /wp-admin/edit.php | 2,118 ▲21 | 2.04 ▲0.05 | 41.72 ▲4.09 | 37.05 ▼0.92 |
Add New Post /wp-admin/post-new.php | 1,560 ▲34 | 23.09 ▲5.60 | 645.25 ▼14.61 | 63.28 ▼9.95 |
Media Library /wp-admin/upload.php | 1,414 ▲11 | 4.19 ▲0.09 | 109.43 ▼4.61 | 49.21 ▼0.88 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
These items require your attention
- Zombie WordPress options detected upon uninstall: 6 options
- widget_recent-posts
- db_upgraded
- theysaidso_admin_options
- widget_recent-comments
- can_compress_scripts
- widget_theysaidso_widget
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Good news, no errors were detected
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
Please fix the following items
- 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/shopybot-woocommerce/shopybot-woocommerce.php:42
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
These attributes 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
shopybot-woocommerce/shopybot-woocommerce.php 85% from 13 tests
"ShopyBot - E-Commerce Chatbot" version 1.0.18's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
Please make the necessary changes and fix the following:
- Description: Keep the plugin description shorter than 140 characters (currently 190 characters long)
- Requires at least: The required version number must match the one declared in readme.txt ("3.9" instead of "4.9")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
Everything looks great! No dangerous files found in this plugin3,906 lines of code in 21 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PO File | 14 | 546 | 560 | 2,575 |
PHP | 5 | 319 | 181 | 1,151 |
CSS | 1 | 23 | 0 | 123 |
JavaScript | 1 | 15 | 0 | 57 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.36 |
Average class complexity | 41.50 |
▷ Minimum class complexity | 3.00 |
▷ Maximum class complexity | 131.00 |
Average method complexity | 3.13 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 20.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 4 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 4 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 70 | |
▷ Static methods | 3 | 4.29% |
▷ Public methods | 60 | 85.71% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 10 | 14.29% |
Functions | 9 | |
▷ Named functions | 6 | 66.67% |
▷ Anonymous functions | 3 | 33.33% |
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
There were not PNG files found in your plugin