Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
This plugin's installer ran successfully
Server metrics [RAM: ▲0.59MB] [CPU: ▼1.90ms] Passed 4 tests
Analyzing server-side resources used by Chat Bro Live Group Chat
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.10 ▲0.63 | 53.15 ▲14.75 |
Dashboard /wp-admin | 3.91 ▲0.56 | 51.84 ▼9.33 |
Posts /wp-admin/edit.php | 3.96 ▲0.60 | 48.12 ▲2.18 |
Add New Post /wp-admin/post-new.php | 6.49 ▲0.60 | 91.39 ▼4.21 |
Media Library /wp-admin/upload.php | 3.83 ▲0.60 | 39.43 ▲3.78 |
Server storage [IO: ▲2.00MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin installed successfully
Filesystem: 67 new files
Database: no new tables, 16 new options
New WordPress options |
---|
chatbro_chat_display_to_guests |
chatbro_caps_initialized |
chatbro_chat_user_profile_url |
chatbro_chat_guid |
theysaidso_admin_options |
widget_theysaidso_widget |
chatbro_enable_shortcodes |
chatbro_chat_selected_pages |
widget_chatbro |
chatbro_chat_secret |
... |
Browser metrics Passed 4 tests
Chat Bro Live Group Chat: an overview of browser usage
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,818 ▲72 | 13.62 ▼0.96 | 5.65 ▲3.86 | 42.50 ▲0.86 |
Dashboard /wp-admin | 2,209 ▲23 | 5.85 ▲0.88 | 97.91 ▼11.33 | 73.23 ▲32.21 |
Posts /wp-admin/edit.php | 2,104 ▲12 | 1.99 ▼0.01 | 34.80 ▲0.67 | 33.33 ▲2.26 |
Add New Post /wp-admin/post-new.php | 1,536 ▲17 | 18.47 ▼4.49 | 687.63 ▲11.89 | 60.33 ▲3.81 |
Media Library /wp-admin/upload.php | 1,403 ▲21 | 4.24 ▲0.04 | 97.87 ▼2.93 | 69.78 ▲24.79 |
Uninstaller [IO: ▲2.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
The following items require your attentionThis plugin does not fully uninstall, leaving 9 options in the database
- The plugin did not uninstall correctly, leaving 67 files (2.00MB) in the plugin directory
- (new file) backends/chats.php
- (new file) backends/user.php
- (new file) backends/admin.php
- (new file) backends/permissions.php
- (new file) backends/version.php
- (new file) common/admin/admin.php
- (new file) backends/api.php
- (new file) backends/utils.php
- (new file) backends/settings.php
- (new file) LICENCE.txt
- ...
- widget_chatbro
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-comments
- chatbro_caps_initialized
- theysaidso_admin_options
- chatbro_chat_list
- db_upgraded
- widget_recent-posts
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Good news, no errors were detected
SRP 0% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Please fix the following
- 13× PHP files perform the action of outputting non-empty strings when accessed directly (only 10 are shown):
- > /wp-content/plugins/chatbro/wp_common.php
- > /wp-content/plugins/chatbro/backends/settings.php
- > /wp-content/plugins/chatbro/backends/permissions.php
- > /wp-content/plugins/chatbro/backends/version.php
- > /wp-content/plugins/chatbro/widget.php
- > /wp-content/plugins/chatbro/index.php
- > /wp-content/plugins/chatbro/backends/api.php
- > /wp-content/plugins/chatbro/backends/user.php
- > /wp-content/plugins/chatbro/shortcode.php
- > /wp-content/plugins/chatbro/init.php
- 8× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Interface 'ICBroChat' not found in wp-content/plugins/chatbro/common/chats/chat.php:6
- > PHP Fatal error
Uncaught Error: Interface 'ICBroSetting' not found in wp-content/plugins/chatbro/common/settings/setting.php:6
- > PHP Fatal error
Uncaught Error: Interface 'ICBroChat' not found in wp-content/plugins/chatbro/common/chats/chat.php:6
- > PHP Fatal error
Uncaught Error: Interface 'ICBroChat' not found in wp-content/plugins/chatbro/common/chats/chat.php:6
- > PHP Fatal error
Uncaught Error: Interface 'ICBroChat' not found in wp-content/plugins/chatbro/common/chats/chat.php:6
- > PHP Fatal error
Uncaught Error: Interface 'ICBroChat' not found in wp-content/plugins/chatbro/common/chats/chat.php:6
- > PHP Fatal error
Uncaught Error: Class 'CBroBackendable' not found in wp-content/plugins/chatbro/common/api/api.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/chatbro/common/settings/settings_translations.php:3
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser issues were found
Optimizations
Plugin configuration 87% from 29 tests
readme.txt 88% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
Attributes that require attention:
- Tags: Too many tags (98 tag instead of maximum 10); only the first 5 tags are used in your directory listing
- Screenshots: No descriptions were found for these screenshots #2, #3, #4, #5, #6, #7 in chatbro/assets to your readme.txt
chatbro/index.php 85% from 13 tests
The entry point to "Chat Bro Live Group Chat" version 4.0.5 is a PHP file that has certain tags in its header comment area
You should first fix the following items:
- Description: Please don't use more than 140 characters for the plugin description (currently 269 characters long)
- Main file name: Name the main plugin file the same as the plugin slug ("chatbro.php" instead of "index.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
Good job! No executable or dangerous file extensions detected7,118 lines of code in 51 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 46 | 853 | 614 | 4,157 |
SVG | 2 | 0 | 0 | 2,959 |
CSS | 1 | 0 | 11 | 1 |
JavaScript | 1 | 0 | 0 | 1 |
HTML | 1 | 0 | 2 | 0 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.27 |
Average class complexity | 7.28 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 92.00 |
Average method complexity | 2.08 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 18.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 9 | |
Traits | 0 | |
Classes | 52 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 52 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 411 | |
▷ Static methods | 122 | 29.68% |
▷ Public methods | 357 | 86.86% |
▷ Protected methods | 6 | 1.46% |
▷ Private methods | 48 | 11.68% |
Functions | 10 | |
▷ Named functions | 9 | 90.00% |
▷ Anonymous functions | 1 | 10.00% |
Constants | 39 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 39 | 100.00% |
▷ Public constants | 39 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
1 PNG file occupies 0.00MB with 0.00MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
favicon_small.png | 0.63KB | 0.34KB | ▼ 46.44% |