Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The plugin installed gracefully, with no errors
Server metrics [RAM: ▼0.11MB] [CPU: ▼23.30ms] Passed 4 tests
Server-side resources used by WP Gener8Tor - Chat with your site visitors on all platforms and messengers
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.92 ▲0.46 | 47.62 ▲8.46 |
Dashboard /wp-admin | 3.25 ▼0.09 | 28.37 ▼30.70 |
Posts /wp-admin/edit.php | 3.33 ▼0.02 | 31.26 ▼17.28 |
Add New Post /wp-admin/post-new.php | 5.53 ▼0.36 | 63.74 ▼36.56 |
Media Library /wp-admin/upload.php | 3.26 ▲0.04 | 25.51 ▼8.64 |
Server storage [IO: ▲4.36MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin was installed successfully
Filesystem: 77 new files
Database: no new tables, 28 new options
New WordPress options |
---|
wpunichatbox-message_number |
wpunichatbox-telephone_number |
wpunichatbox-single_name |
wpunichatbox-whatsapp_number |
wpunichatbox-is_single |
wpunichatbox-skype_botid |
wpunichatbox-telegram_active |
wpunichatbox-skype_active |
wpunichatbox-message_active |
wpunichatbox-email_active |
... |
Browser metrics Passed 4 tests
A check of browser resources used by WP Gener8Tor - Chat with your site visitors on all platforms and messengers
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,902 ▲156 | 13.59 ▼0.79 | 5.84 ▲4.14 | 42.85 ▼0.10 |
Dashboard /wp-admin | 2,225 ▲39 | 5.92 ▲0.99 | 96.00 ▼16.26 | 36.77 ▼4.92 |
Posts /wp-admin/edit.php | 2,105 ▲16 | 1.99 ▼0.02 | 35.54 ▼4.68 | 33.47 ▼3.56 |
Add New Post /wp-admin/post-new.php | 1,558 ▲36 | 23.04 ▼0.02 | 673.99 ▲7.13 | 53.15 ▲3.15 |
Media Library /wp-admin/upload.php | 1,410 ▲22 | 4.32 ▲0.08 | 97.12 ▼14.61 | 42.27 ▼22.67 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
It is recommended to fix the following
- This plugin does not fully uninstall, leaving 28 options in the database
- wpunichatbox-snapchat_id
- wpunichatbox-telephone_active
- wpunichatbox-email_id
- wpunichatbox-snapchat_active
- wpunichatbox-message_number
- wpunichatbox-skype_active
- widget_recent-comments
- wpunichatbox-is_single
- wpunichatbox-email_active
- wpunichatbox-appear_after
- ...
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
Even though everything seems fine, this is not an exhaustive test
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
- 5× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_url() in wp-content/plugins/wp-gener8tor/unichatbox/user_not_verified_bonus.php:19
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_url() in wp-content/plugins/wp-gener8tor/unichat/chatboxes.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_url() in wp-content/plugins/wp-gener8tor/unichat/unichatadminform.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_url() in wp-content/plugins/wp-gener8tor/unichat/singlechat.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_url() in wp-content/plugins/wp-gener8tor/unichatbox/user_not_verified.php:24
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser errors were detected
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
Attributes that require attention:
- Screenshots: These screenshots need descriptions #1, #2, #3 in wp-gener8tor/assets to your readme.txt
wp-gener8tor/index.php 92% from 13 tests
The entry point to "WP Gener8Tor - Chat with your site visitors on all platforms and messengers" version 1.1 is a PHP file that has certain tags in its header comment area
Please take the time to fix the following:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("wp-gener8tor.php" instead of "index.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
Good job! No executable or dangerous file extensions detected24,805 lines of code in 29 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 8 | 1,467 | 52 | 13,546 |
JavaScript | 8 | 2,039 | 1,724 | 8,055 |
PHP | 12 | 463 | 753 | 2,916 |
SVG | 1 | 0 | 0 | 288 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.59 |
Average class complexity | 27.71 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 134.00 |
Average method complexity | 3.63 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 77.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 7 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 7 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 71 | |
▷ Static methods | 9 | 12.68% |
▷ Public methods | 69 | 97.18% |
▷ Protected methods | 2 | 2.82% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 9 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 9 | 100.00% |
▷ Public constants | 9 | 100.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
26 PNG files occupy 0.21MB with 0.07MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
unichat/img/upload.png | 0.72KB | 0.72KB | 0.00% |
unichat/img/bootmgr.png | 0.95KB | 0.70KB | ▼ 26.77% |
unichat/img/icons/telephone.png | 2.13KB | 1.08KB | ▼ 49.45% |
unichat/img/closechat.png | 57.49KB | 26.25KB | ▼ 54.33% |
unichat/img/icons/telegram.png | 1.99KB | 1.04KB | ▼ 47.37% |