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.41MB] [CPU: ▼3.51ms] Passed 4 tests
A check of server-side resources used by ChatBot for Easy Digital Downloads
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.86 ▲0.40 | 44.96 ▼0.26 |
Dashboard /wp-admin | 3.72 ▲0.41 | 47.61 ▲1.29 |
Posts /wp-admin/edit.php | 3.83 ▲0.47 | 49.66 ▼3.44 |
Add New Post /wp-admin/post-new.php | 6.30 ▲0.41 | 83.67 ▼11.61 |
Media Library /wp-admin/upload.php | 3.64 ▲0.41 | 36.14 ▲1.95 |
EDDBot /wp-admin/admin.php?page=eddBot | 3.68 | 45.65 |
Help /wp-admin/admin.php?page=qcld_eddbot_info_page | 3.61 | 30.97 |
Server storage [IO: ▲4.90MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 164 new files
Database: no new tables, 39 new options
New WordPress options |
---|
qlcd_eddbot_provide_email_address |
qlcd_wp_chatbot_admin_email_name |
qlcd_wp_chatbot_admin_email |
qlcd_eddbot_product_asking |
qlcd_eddbot_name_greeting |
eddbot_icon |
qlcd_eddbot_agent_join |
disable_eddbot_on_mobile |
widget_recent-posts |
qlcd_eddbot_catalog |
... |
Browser metrics Passed 4 tests
A check of browser resources used by ChatBot for Easy Digital Downloads
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,970 ▲235 | 13.69 ▼0.62 | 11.57 ▲9.59 | 37.11 ▼8.93 |
Dashboard /wp-admin | 2,229 ▲38 | 5.86 ▲0.98 | 101.83 ▼2.75 | 40.99 ▼1.81 |
Posts /wp-admin/edit.php | 2,112 ▲23 | 2.01 ▼0.01 | 35.95 ▼0.39 | 37.22 ▲4.04 |
Add New Post /wp-admin/post-new.php | 1,533 ▼0 | 17.43 ▼5.92 | 673.81 ▼0.45 | 50.24 ▼15.13 |
Media Library /wp-admin/upload.php | 1,411 ▲26 | 4.22 ▲0.01 | 96.46 ▼5.80 | 46.81 ▲1.38 |
EDDBot /wp-admin/admin.php?page=eddBot | 2,449 | 3.50 | 62.00 | 201.59 |
Help /wp-admin/admin.php?page=qcld_eddbot_info_page | 832 | 2.06 | 23.56 | 25.11 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
The following items require your attention
- This plugin did not uninstall successfully, leaving 39 options in the database
- qlcd_wp_chatbot_admin_email_name
- theysaidso_admin_options
- qlcd_eddbot_host
- qlcd_eddbot_more_specific
- qlcd_eddbot_product_success
- eddbot_position_y
- qlcd_eddbot_welcome
- qlcd_eddbot_i_am
- qlcd_eddbot_conversations_with
- qlcd_wp_chatbot_admin_from_email
- ...
Smoke tests 50% 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 | 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× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/chatbot-for-easy-digital-downloads/qcld-eddbot-info-page.php:8
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Please take a look at the following user-side issues
- > GET request to /wp-admin/admin.php?page=eddBot
- > Network (severe)
http://agent%20image/ - Failed to load resource: net::ERR_NAME_NOT_RESOLVED
Optimizations
Plugin configuration 86% from 29 tests
readme.txt Passed 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
5 plugin tags: easy digital downloads, edd, chatbot, bot, live chat
chatbot-for-easy-digital-downloads/qcld-eddbot.php 69% from 13 tests
"ChatBot for Easy Digital Downloads" version 0.9.3'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:
- Text Domain: The text domain must be the same as the plugin slug, although optional since WordPress version 4.6
- Requires at least: Required version does not match the one declared in readme.txt ("4.6" instead of "4.9")
- Main file name: Name the main plugin file the same as the plugin slug ("chatbot-for-easy-digital-downloads.php" instead of "qcld-eddbot.php")
- Description: The description should be shorter than 140 characters (currently 143 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
Good job! No executable or dangerous file extensions detected8,758 lines of code in 28 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
SVG | 3 | 1 | 0 | 2,972 |
CSS | 10 | 288 | 166 | 2,713 |
PHP | 5 | 385 | 201 | 1,915 |
JavaScript | 9 | 400 | 235 | 1,020 |
PO File | 1 | 57 | 58 | 138 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.37 |
Average class complexity | 53.67 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 139.00 |
Average method complexity | 7.58 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 67.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 | 24 | |
▷ Static methods | 2 | 8.33% |
▷ Public methods | 23 | 95.83% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 1 | 4.17% |
Functions | 11 | |
▷ Named functions | 11 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 6 | |
▷ Global constants | 6 | 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
78 PNG files occupy 1.22MB with 0.63MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/jarvis-dot.png | 5.11KB | 0.21KB | ▼ 95.85% |
images/custom.png | 4.71KB | 1.70KB | ▼ 63.80% |
images/send-button.png | 0.26KB | 0.27KB | 0.00% |
qc-support-promo-page/images/icon-pack/service-04.png | 1.67KB | 0.90KB | ▼ 46.47% |
qc-support-promo-page/images/feature02.png | 5.13KB | 2.39KB | ▼ 53.37% |