Benchmarks
Plugin footprint 82% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Installer ran successfully
Server metrics [RAM: ▲0.06MB] [CPU: ▲10.10ms] Passed 4 tests
An overview of server-side resources used by AION chatbot
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.53 ▲0.07 | 81.87 ▲36.21 |
Dashboard /wp-admin | 3.37 ▲0.06 | 50.35 ▲2.86 |
Posts /wp-admin/edit.php | 3.42 ▲0.06 | 46.46 ▼2.21 |
Add New Post /wp-admin/post-new.php | 5.95 ▲0.06 | 183.82 ▲87.98 |
Media Library /wp-admin/upload.php | 3.29 ▲0.06 | 39.52 ▲3.52 |
Server storage [IO: ▲0.23MB] [DB: ▲0.00MB] 67% from 3 tests
How much does this plugin use your filesystem and database?
Please try to fix the following items
- Illegal file modification found: 1 file (0.00KB) outside of "wp-content/plugins/aion-chatbot/" and "wp-content/uploads/"
- (new file) "wp-content/plugins/aion-chatbot/admin/images/banner-772\303\227250.png"
Filesystem: 18 new files
Database: no new tables, 7 new options
New WordPress options |
---|
theysaidso_admin_options |
can_compress_scripts |
widget_recent-posts |
db_upgraded |
widget_recent-comments |
widget_theysaidso_widget |
aionchat_options |
Browser metrics Passed 4 tests
A check of browser resources used by AION chatbot
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,922 ▲176 | 13.68 ▼0.54 | 9.13 ▲7.36 | 36.77 ▼5.00 |
Dashboard /wp-admin | 2,212 ▲21 | 4.87 ▲0.01 | 103.79 ▼0.65 | 43.88 ▲1.64 |
Posts /wp-admin/edit.php | 2,098 ▲12 | 2.02 ▼0.03 | 34.44 ▼5.41 | 33.71 ▼2.86 |
Add New Post /wp-admin/post-new.php | 1,557 ▲43 | 23.17 ▲5.73 | 654.90 ▼22.92 | 61.64 ▼6.25 |
Media Library /wp-admin/upload.php | 1,400 ▲12 | 4.21 ▼0.02 | 105.79 ▲7.60 | 45.61 ▲3.45 |
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
It is recommended to fix the following
- Zombie WordPress options were found after uninstall: 6 options
- widget_recent-posts
- widget_theysaidso_widget
- theysaidso_admin_options
- db_upgraded
- widget_recent-comments
- can_compress_scripts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Good news, no errors were detected
SRP 50% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Almost there! Just fix the following items
- 3× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function plugins_url() in wp-content/plugins/aion-chatbot/admin/my-plugin-admin.php:8
- > PHP Fatal error
Uncaught Error: Call to undefined function settings_fields() in wp-content/plugins/aion-chatbot/admin/questionsForm.php:6
- > PHP Fatal error
Uncaught Error: Call to undefined function plugins_url() in wp-content/plugins/aion-chatbot/admin/askingforacoumpt.php:5
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser issues were found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
These attributes need your attention:
- Contributors: Plugin contributors not specified
aion-chatbot/aionchat.php 92% from 13 tests
"AION chatbot" version 1.1.1'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:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("aion-chatbot.php" instead of "aionchat.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
Everything looks great! No dangerous files found in this plugin1,555 lines of code in 13 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 3 | 55 | 60 | 731 |
PHP | 5 | 84 | 57 | 640 |
JavaScript | 5 | 64 | 79 | 184 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.43 |
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 | 13 | |
▷ Named functions | 13 | 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 Passed 2 tests
Image compression Passed 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
4 PNG files occupy 0.14MB with 0.08MB in potential savings
Potential savings
Compression of 4 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
public/images/bg-header.png | 5.92KB | 2.57KB | ▼ 56.56% |
admin/images/banner-772×250.png | 68.78KB | 31.49KB | ▼ 54.22% |
public/images/img.png | 43.40KB | 11.87KB | ▼ 72.65% |
public/images/bg.png | 23.08KB | 8.94KB | ▼ 61.28% |