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.57MB] [CPU: ▼283.24ms] Passed 4 tests
Server-side resources used by weebotLite
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.12 ▲0.61 | 60.81 ▲10.57 |
Dashboard /wp-admin | 3.98 ▲0.57 | 45.36 ▲12.98 |
Posts /wp-admin/edit.php | 4.20 ▲0.56 | 42.69 ▲2.88 |
Add New Post /wp-admin/post-new.php | 7.51 ▲0.54 | 107.22 ▼1,145.87 |
Media Library /wp-admin/upload.php | 3.93 ▲0.63 | 29.95 ▼0.55 |
Questions /wp-admin/admin.php?page=weebotLite-questions | 4.07 | 30.94 |
weebotLite /wp-admin/options-general.php?page=weebotLite-options | 3.95 | 27.40 |
User /wp-admin/admin.php?page=weebotLite-user | 4.08 | 31.39 |
Answers /wp-admin/admin.php?page=weebotLite-answers | 4.08 | 29.58 |
weebotLite /wp-admin/admin.php?page=weebotLite | 3.95 | 32.37 |
Settings /wp-admin/admin.php?page=weebotLite-options | 3.95 | 26.73 |
Server storage [IO: ▲2.63MB] [DB: ▲0.01MB] Passed 3 tests
How much does this plugin use your filesystem and database?
The plugin installed successfully
Filesystem: 94 new files
Database: 7 new tables, 1 new option
New tables |
---|
wp_weebotLite_words |
wp_weebotLite_questions |
wp_weebotLite_bridge |
wp_weebotLite_user |
wp_weebotLite_events |
wp_weebotLite_chats |
wp_weebotLite_pages |
New WordPress options |
---|
jal_db_version |
Browser metrics Passed 4 tests
A check of browser resources used by weebotLite
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 4,336 ▲594 | 16.92 ▲1.17 | 16.27 ▲10.21 | 17.23 ▲15.07 |
Dashboard /wp-admin | 2,965 ▲104 | 7.03 ▲0.82 | 124.99 ▼8.71 | 155.63 ▼0.93 |
Posts /wp-admin/edit.php | 2,757 ▲66 | 3.65 ▲0.29 | 65.03 ▲2.41 | 137.60 ▼1.38 |
Add New Post /wp-admin/post-new.php | 1,714 ▲3 | 17.05 ▼4.67 | 442.91 ▲14.17 | 180.84 ▲30.75 |
Media Library /wp-admin/upload.php | 1,773 ▲75 | 5.92 ▲0.41 | 128.72 ▼18.05 | 191.47 ▼3.99 |
Questions /wp-admin/admin.php?page=weebotLite-questions | 1,099 | 2.99 | 58.10 | 103.00 |
weebotLite /wp-admin/options-general.php?page=weebotLite-options | 2,040 | 3.27 | 60.02 | 125.64 |
User /wp-admin/admin.php?page=weebotLite-user | 1,544 | 3.23 | 59.08 | 121.01 |
Answers /wp-admin/admin.php?page=weebotLite-answers | 1,105 | 2.98 | 57.66 | 108.64 |
weebotLite /wp-admin/admin.php?page=weebotLite | 1,508 | 2.98 | 61.45 | 126.98 |
Settings /wp-admin/admin.php?page=weebotLite-options | 2,039 | 3.28 | 61.06 | 129.29 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
These items require your attention
- The uninstall procedure has failed, leaving 1 option in the database
- jal_db_version
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though everything seems fine, this is not 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
Looking good! No server-side errors or output on direct access of PHP files
User-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
Please fix the following user-side errors
- 6 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=weebotLite-options
- > Javascript (severe) in unknown
/wp-content/plugins/weebotlite/admin/assets/js/admin.js?ver=5.9.2 210:19 Uncaught TypeError: weebotLiteAdmin.formSelectFiles is not a function
Optimizations
Plugin configuration 87% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
Attributes that require attention:
- Contributors: The plugin contributors field is missing
- Screenshots: Please add descriptions for these screenshots #1, #2, #3, #4, #5, #6 in weebotlite/assets to your readme.txt
weebotlite/weebotLite.php 85% from 13 tests
The principal PHP file in "weebotLite" v. 1.0.0 is loaded by WordPress automatically on each request
Please make the necessary changes and fix the following:
- Main file name: Name the main plugin file the same as the plugin slug ("weebotlite.php" instead of "weebotLite.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 | This is a short overview of programming languages used in this plugin, detecting executable files
Good job! No executable or dangerous file extensions detected6,948 lines of code in 66 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 49 | 745 | 1,621 | 3,981 |
CSS | 7 | 80 | 71 | 1,378 |
PO File | 2 | 476 | 0 | 978 |
JavaScript | 5 | 72 | 64 | 580 |
YAML | 3 | 1 | 0 | 31 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.36 |
Average class complexity | 35.50 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 140.00 |
Average method complexity | 4.14 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 51.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 8 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 8 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 88 | |
▷ Static methods | 4 | 4.55% |
▷ Public methods | 83 | 94.32% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 5 | 5.68% |
Functions | 4 | |
▷ Named functions | 4 | 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
Using a strong compression for your PNG files is a great way to speed-up your plugin
10 PNG files occupy 1.52MB with 0.70MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
public/assets/img/chat.icon.white.png | 7.50KB | 4.67KB | ▼ 37.68% |
assets/icon-128x128.png | 4.82KB | 2.65KB | ▼ 45.04% |
public/assets/img/chat.icon.upload.png | 2.48KB | 1.63KB | ▼ 34.27% |
public/assets/img/close.icon.png | 1.95KB | 1.03KB | ▼ 47.09% |
public/assets/img/chat.icon.black.png | 15.43KB | 5.32KB | ▼ 65.49% |