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.03MB] [CPU: ▼0.09ms] Passed 4 tests
A check of server-side resources used by ChatbotGPT
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 35.58 ▼3.10 |
Dashboard /wp-admin | 3.33 ▲0.03 | 46.38 ▲0.13 |
Posts /wp-admin/edit.php | 3.38 ▲0.03 | 48.15 ▲3.04 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.03 | 86.59 ▲1.57 |
Media Library /wp-admin/upload.php | 3.26 ▲0.03 | 32.74 ▲1.06 |
Server storage [IO: ▲0.53MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin was installed successfully
Filesystem: 10 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_recent-comments |
widget_theysaidso_widget |
can_compress_scripts |
db_upgraded |
widget_recent-posts |
theysaidso_admin_options |
chaindesk_onboarding |
Browser metrics Passed 4 tests
ChatbotGPT: an overview of browser usage
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,877 ▲142 | 13.19 ▼1.43 | 1.65 ▼0.05 | 41.95 ▼2.59 |
Dashboard /wp-admin | 2,283 ▲92 | 5.91 ▲1.03 | 96.57 ▼3.06 | 37.12 ▼6.64 |
Posts /wp-admin/edit.php | 2,166 ▲77 | 2.01 ▲0.02 | 40.74 ▲4.46 | 34.30 ▲1.63 |
Add New Post /wp-admin/post-new.php | 1,555 ▲35 | 23.39 ▲0.33 | 655.49 ▲0.71 | 50.29 ▲1.27 |
Media Library /wp-admin/upload.php | 1,465 ▲74 | 4.21 ▲0.05 | 94.14 ▼1.71 | 42.81 ▼0.90 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
You still need to fix the following
- This plugin did not uninstall successfully, leaving 7 options in the database
- widget_recent-posts
- theysaidso_admin_options
- db_upgraded
- widget_theysaidso_widget
- chaindesk_onboarding
- can_compress_scripts
- widget_recent-comments
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Everything seems fine, however this is by no means an exhaustive test
SRP Passed 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
No output text or server-side errors detected on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
There were no browser issues found
Optimizations
Plugin configuration 90% from 29 tests
readme.txt Passed 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
8 plugin tags: chatgpt, livechat, live chat, live support, chat...
databerry/chatbotgpt.php 77% from 13 tests
This is the main PHP file of "ChatbotGPT" version 1.0, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
The following require your attention:
- Domain Path: The domain path is invalid: folder "/languages/" does not exist
- Main file name: It is recommended to name the main PHP file as the plugin slug ("databerry.php" instead of "chatbotgpt.php")
- Text Domain: The text domain should only use lowercase characters and dashes
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
Success! There were no dangerous files found in this plugin165 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 31 | 21 | 90 |
CSS | 1 | 9 | 0 | 70 |
INI | 1 | 0 | 0 | 5 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.32 |
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 | 5 | |
▷ Named functions | 5 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
5 PNG files occupy 0.52MB with 0.29MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/banner-772x250.png | 126.35KB | 61.12KB | ▼ 51.63% |
assets/icon-128x128.png | 86.27KB | 47.48KB | ▼ 44.96% |
assets/screenshot-2.png | 87.13KB | 27.61KB | ▼ 68.31% |
assets/check.png | 5.19KB | 2.81KB | ▼ 45.88% |
assets/screenshot-1.png | 231.42KB | 69.50KB | ▼ 69.97% |