Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.07MB] [CPU: ▼7.73ms] Passed 4 tests
Server-side resources used by ChatPress.ai - Create AI chatbot trained on your website content
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.53 ▲0.07 | 37.65 ▼4.33 |
Dashboard /wp-admin | 3.37 ▲0.03 | 46.07 ▼14.49 |
Posts /wp-admin/edit.php | 3.49 ▲0.13 | 45.48 ▼0.95 |
Add New Post /wp-admin/post-new.php | 6.02 ▲0.13 | 80.44 ▼11.15 |
Media Library /wp-admin/upload.php | 3.30 ▲0.07 | 34.17 ▼0.61 |
Server storage [IO: ▲0.67MB] [DB: ▲0.07MB] Passed 3 tests
How much does this plugin use your filesystem and database?
No storage issues were detected
Filesystem: 22 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
db_upgraded |
widget_recent-posts |
widget_theysaidso_widget |
widget_recent-comments |
can_compress_scripts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for ChatPress.ai - Create AI chatbot trained on your website content
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,897 ▲150 | 17.63 ▲2.92 | 1.96 ▲0.35 | 25.17 ▼18.43 |
Dashboard /wp-admin | 2,245 ▲68 | 8.95 ▲3.35 | 209.97 ▲108.31 | 39.34 ▼1.67 |
Posts /wp-admin/edit.php | 2,160 ▲57 | 5.34 ▲3.39 | 93.35 ▲49.69 | 37.10 ▼0.46 |
Add New Post /wp-admin/post-new.php | 1,546 ▲20 | 25.32 ▲1.71 | 670.90 ▲2.83 | 27.62 ▼22.87 |
Media Library /wp-admin/upload.php | 1,450 ▲56 | 7.19 ▲3.03 | 138.78 ▲37.44 | 37.03 ▼4.65 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.07MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
The following items require your attention
- This plugin does not fully uninstall, leaving 6 options in the database
- db_upgraded
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-comments
- theysaidso_admin_options
- widget_recent-posts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
The smoke test was a success, however most plugin functionality was not tested
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 return non-empty strings:
- > /wp-content/plugins/chatpress-ai/templates/app.php
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser errors were detected
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
7 plugin tags: chat, chatbot, ai, chatgpt, bot...
chatpress-ai/ChatPress.php 92% from 13 tests
The entry point to "ChatPress.ai - Create AI chatbot trained on your website content" version 0.1.9 is a PHP file that has certain tags in its header comment area
You should first fix the following items:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("chatpress-ai.php" instead of "ChatPress.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
No dangerous file extensions were detected842 lines of code in 17 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 13 | 191 | 280 | 729 |
JavaScript | 3 | 19 | 2 | 111 |
CSS | 1 | 0 | 0 | 2 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.23 |
Average class complexity | 9.33 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 48.00 |
Average method complexity | 1.91 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 18.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 6 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 6 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 56 | |
▷ Static methods | 5 | 8.93% |
▷ Public methods | 54 | 96.43% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 2 | 3.57% |
Functions | 7 | |
▷ Named functions | 5 | 71.43% |
▷ Anonymous functions | 2 | 28.57% |
Constants | 1 | |
▷ Global constants | 1 | 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
2 PNG files occupy 0.01MB with 0.00MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/icon-128x128.png | 6.44KB | 2.28KB | ▼ 64.54% |
assets/images/chatpress-wp-logo-sm.png | 1.49KB | 0.74KB | ▼ 50.66% |