Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
This plugin's installer ran successfully
Server metrics [RAM: ▲0.79MB] [CPU: ▲1.46ms] Passed 4 tests
An overview of server-side resources used by AI ChatBot with ChatGPT and Content Generator by AYS
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.24 ▲0.78 | 43.63 ▲2.09 |
Dashboard /wp-admin | 4.12 ▲0.82 | 51.18 ▲0.69 |
Posts /wp-admin/edit.php | 4.16 ▲0.80 | 60.01 ▲13.19 |
Add New Post /wp-admin/post-new.php | 6.77 ▲0.88 | 90.10 ▼2.77 |
Media Library /wp-admin/upload.php | 4.01 ▲0.78 | 41.02 ▲5.83 |
Grab Your GIFT /wp-admin/admin.php?page=ays-chatgpt-assistant-gift | 4.04 | 48.27 |
Content Generator /wp-admin/admin.php?page=ays-chatgpt-assistant-content-generator | 4.04 | 43.27 |
General Settings /wp-admin/admin.php?page=ays-chatgpt-assistant-general-settings | 4.04 | 60.47 |
Embeddings /wp-admin/admin.php?page=ays-chatgpt-assistant-embedding | 4.04 | 45.53 |
PRO Features /wp-admin/admin.php?page=ays-chatgpt-assistant-features | 4.05 | 62.93 |
How to Use /wp-admin/admin.php?page=ays-chatgpt-assistant-how-to-use | 4.04 | 43.97 |
Front chat /wp-admin/admin.php?page=ays-chatgpt-assistant-front-chat | 4.10 | 58.51 |
Settings /wp-admin/admin.php?page=ays-chatgpt-assistant | 4.52 | 46.58 |
Logs /wp-admin/admin.php?page=ays-chatgpt-assistant-logs | 4.04 | 42.58 |
Server storage [IO: ▲1.53MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 124 new files
Database: 4 new tables, 9 new options
New tables |
---|
wp_ayschatgpt_settings |
wp_ayschatgpt_data |
wp_ayschatgpt_front_settings |
wp_ayschatgpt_general_settings |
New WordPress options |
---|
ays_chatgpt_assistant_db_version |
ays_chatgpt_banner_time |
widget_recent-comments |
widget_recent-posts |
db_upgraded |
ays_chatgpt_sale_btn |
can_compress_scripts |
widget_theysaidso_widget |
theysaidso_admin_options |
Browser metrics Passed 4 tests
AI ChatBot with ChatGPT and Content Generator by AYS: an overview of browser usage
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,202 ▲440 | 13.59 ▼0.77 | 11.36 ▲9.66 | 31.51 ▼11.68 |
Dashboard /wp-admin | 2,264 ▲86 | 5.60 ▼0.07 | 96.60 ▼16.62 | 76.44 ▲33.25 |
Posts /wp-admin/edit.php | 2,188 ▲88 | 2.02 ▲0.06 | 40.27 ▼1.16 | 37.07 ▲1.08 |
Add New Post /wp-admin/post-new.php | 1,593 ▲67 | 23.16 ▲0.01 | 697.45 ▲75.86 | 33.42 ▼21.90 |
Media Library /wp-admin/upload.php | 1,472 ▲72 | 4.15 ▼0.03 | 97.46 ▼2.53 | 63.56 ▲20.13 |
Grab Your GIFT /wp-admin/admin.php?page=ays-chatgpt-assistant-gift | 1,444 | 3.78 | 54.66 | 142.34 |
Content Generator /wp-admin/admin.php?page=ays-chatgpt-assistant-content-generator | 1,971 | 11.00 | 300.41 | 113.79 |
General Settings /wp-admin/admin.php?page=ays-chatgpt-assistant-general-settings | 1,528 | 3.80 | 55.72 | 83.07 |
Embeddings /wp-admin/admin.php?page=ays-chatgpt-assistant-embedding | 2,121 | 12.51 | 311.90 | 88.80 |
PRO Features /wp-admin/admin.php?page=ays-chatgpt-assistant-features | 1,971 | 3.77 | 51.97 | 96.13 |
How to Use /wp-admin/admin.php?page=ays-chatgpt-assistant-how-to-use | 1,931 | 10.64 | 282.46 | 82.08 |
Front chat /wp-admin/admin.php?page=ays-chatgpt-assistant-front-chat | 1,985 | 3.95 | 59.34 | 69.31 |
Settings /wp-admin/admin.php?page=ays-chatgpt-assistant | 3,840 | 4.13 | 78.84 | 77.41 |
Logs /wp-admin/admin.php?page=ays-chatgpt-assistant-logs | 1,483 | 3.78 | 50.80 | 72.98 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
Please fix the following items
- The uninstall procedure has failed, leaving 8 options in the database
- widget_theysaidso_widget
- widget_recent-comments
- widget_recent-posts
- ays_chatgpt_sale_btn
- can_compress_scripts
- db_upgraded
- theysaidso_admin_options
- ays_chatgpt_banner_time
Smoke tests 25% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though no errors were found, this is by no means an exhaustive test
SRP 0% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Please fix the following
- 1× PHP files output text when accessed directly:
- > /wp-content/plugins/ays-chatgpt-assistant/public/partials/chatgpt-assistant-public-display.php
- 17× PHP files trigger server-side errors or warnings when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_attr() in wp-content/plugins/ays-chatgpt-assistant/admin/partials/general-settings/chatgpt-assistant-general-settings-action-options.php:12
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/ays-chatgpt-assistant/admin/partials/content-generator/chatgpt-assistant-content-generator-display.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/ays-chatgpt-assistant/admin/partials/gifts/chatgpt-assistant-gifts-display.php:4
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/ays-chatgpt-assistant/admin/partials/front-chat/chatgpt-assistant-front-chat-actions-options.php:7
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/ays-chatgpt-assistant/admin/partials/settings/chatgpt-assistant-settings-action-options.php:5
- > PHP Fatal error
Uncaught Error: Class 'ChatGPT_Assistant_Main_DB_Actions' not found in wp-content/plugins/ays-chatgpt-assistant/includes/chatgpt-assistant-db-actions/class-chatgpt-assistant-front-chat-db-actions.php:25
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/ays-chatgpt-assistant/admin/partials/chatgpt-assistant-data-display.php:4
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/ays-chatgpt-assistant/admin/partials/embeddings/chatgpt-assistant-embedding-display.php:3
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/ays-chatgpt-assistant/admin/partials/settings/chatgpt-assistant-settings-action-options.php:5
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/ays-chatgpt-assistant/admin/partials/chatgpt-assistant-chatbox-display.php:3
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Please take a look at the following user-side issues
- > GET request to /wp-admin/admin.php?page=ays-chatgpt-assistant-content-generator
- > Other (warning) in unknown
/wp-admin/admin.php?page=ays-chatgpt-assistant-content-generator 322 Unrecognized feature: 'web-share'.
- > GET request to /wp-admin/admin.php?page=ays-chatgpt-assistant-embedding
- > Other (warning) in unknown
/wp-admin/admin.php?page=ays-chatgpt-assistant-embedding 317 Unrecognized feature: 'web-share'.
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
These attributes need to be fixed:
- Tags: You are using too many tags: 11 tag instead of maximum 10
ays-chatgpt-assistant/chatgpt-assistant.php 92% from 13 tests
The main PHP script in "AI ChatBot with ChatGPT and Content Generator by AYS" version 1.6.6 is automatically included on every request by WordPress
It is important to fix the following:
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("ays-chatgpt-assistant.php" instead of "chatgpt-assistant.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 detected9,845 lines of code in 82 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 31 | 619 | 850 | 4,850 |
CSS | 12 | 579 | 1,044 | 2,927 |
JavaScript | 13 | 310 | 89 | 1,937 |
SVG | 26 | 15 | 3 | 131 |
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.35 |
Average class complexity | 40.23 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 161.00 |
Average method complexity | 6.31 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 99.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 13 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 13 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 96 | |
▷ Static methods | 11 | 11.46% |
▷ Public methods | 91 | 94.79% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 5 | 5.21% |
Functions | 4 | |
▷ Named functions | 4 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 17 | |
▷ Global constants | 17 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
23 PNG files occupy 0.18MB with 0.08MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
admin/images/icons/guest_icon_7.png | 0.92KB | 0.45KB | ▼ 51.01% |
admin/images/icons/ai.png | 0.55KB | 0.44KB | ▼ 19.96% |
admin/images/icons/guest_icon_5.png | 0.93KB | 0.48KB | ▼ 48.74% |
admin/images/icons/guest_icon_6.png | 0.92KB | 0.47KB | ▼ 49.42% |
admin/images/halloween_banner_plugins.png | 114.44KB | 40.57KB | ▼ 64.55% |