Benchmarks
Plugin footprint 23% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The following installer errors require your attention
- Install procedure validation failed for this plugin
- > User deprecated in wp-includes/functions.php+5643
File upgrade-functions.php is deprecated since version 2.5.0! Use wp-admin/includes/upgrade.php instead.
Server metrics [RAM: ▲0.02MB] [CPU: ▼1.42ms] Passed 4 tests
An overview of server-side resources used by BuddyPress Group Chatroom
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 33.32 ▼4.73 |
Dashboard /wp-admin | 3.33 ▲0.02 | 44.66 ▼6.60 |
Posts /wp-admin/edit.php | 3.38 ▲0.02 | 49.01 ▲3.75 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.02 | 91.21 ▲4.49 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 35.14 ▲1.92 |
Server storage [IO: ▲3.24MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin installed successfully
Filesystem: 1,195 new files
Database: 4 new tables, 6 new options
New tables |
---|
wp_bp_group_chat |
wp_bp_group_chat_threads |
wp_bp_group_chat_updates |
wp_bp_group_chat_online |
New WordPress options |
---|
db_upgraded |
can_compress_scripts |
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-comments |
widget_recent-posts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for BuddyPress Group Chatroom
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,789 ▲3 | 14.27 ▼0.28 | 1.73 ▼0.03 | 40.28 ▼1.17 |
Dashboard /wp-admin | 2,195 ▲17 | 5.61 ▼0.11 | 92.18 ▼26.97 | 41.86 ▼1.26 |
Posts /wp-admin/edit.php | 2,100 ▼0 | 1.95 ▼0.08 | 38.70 ▲4.51 | 36.86 ▲0.53 |
Add New Post /wp-admin/post-new.php | 1,534 ▼3 | 23.45 ▲5.11 | 626.94 ▼28.05 | 48.52 ▼17.48 |
Media Library /wp-admin/upload.php | 1,403 ▲6 | 4.25 ▲0.07 | 96.80 ▲3.00 | 40.50 ▼1.31 |
Uninstaller [IO: ▲3.24MB] [DB: ▲0.00MB] 25% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
These items require your attentionThis plugin did not uninstall successfully, leaving 7 options in the database
- This plugin cannot be uninstalled
- > Error in wp-content/plugins/bp-group-chatroom/uninstall.php+17
Uncaught Error: Call to undefined function groups_get_groups() in wp-content/plugins/bp-group-chatroom/uninstall.php:17
Stack trace:
#0 wp-admin/includes/plugin.php(1245): include_once()
#1 wp-admin/includes/plugin.php(960): uninstall_plugin() - Uninstaller has failed for this plugin, leaving 1,195 files (3.24MB) in the plugin directory
- (new file) includes/css/bp-group-chatroom-display.css
- (new file) includes/bp-group-chatroom-core.php
- (new file) includes/icons/0030-20E3.png
- (new file) includes/bp-group-chatroom-emoji-display.php
- (new file) includes/bp-group-chatroom-db-functions.php
- (new file) includes/icons/0033-20E3.png
- (new file) includes/icons/0032-20E3.png
- (new file) includes/icons/0023-20E3.png
- (new file) includes/icons/0031-20E3.png
- (new file) includes/bp-group-chatroom-display.php
- ...
- widget_recent-posts
- theysaidso_admin_options
- db_upgraded
- widget_theysaidso_widget
- recovery_mode_email_last_sent
- 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 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Almost there! Just fix the following items
- 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_url() in wp-content/plugins/bp-group-chatroom/includes/bp-group-chatroom-emoji-display.php:1
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
There were no browser issues found
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 88% from 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
Please fix the following attributes:
- Donate link: Please fix this invalid url: "paypal.me/GeorgeChaplin"
- Screenshots: Please describe screenshot #1 in bp-group-chatroom/assets to your readme.txt
bp-group-chatroom/loader.php 92% from 13 tests
"BuddyPress Group Chatroom" version 1.7.7'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: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("bp-group-chatroom.php" instead of "loader.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
Everything looks great! No dangerous files found in this plugin5,084 lines of code in 10 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 1 | 1,197 | 2 | 2,502 |
PHP | 6 | 338 | 93 | 2,247 |
JavaScript | 2 | 58 | 22 | 299 |
PO File | 1 | 8 | 14 | 36 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.10 |
Average class complexity | 43.00 |
▷ Minimum class complexity | 43.00 |
▷ Maximum class complexity | 43.00 |
Average method complexity | 7.00 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 20.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 7 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 7 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 20 | |
▷ Named functions | 20 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 4 | |
▷ Global constants | 4 | 100.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
1182 compressed PNG files occupy 2.87MB
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
includes/icons/1F3CE.png | 3.06KB | 2.13KB | ▼ 30.47% |
includes/icons/1F3CC.png | 2.03KB | 1.85KB | ▼ 8.92% |
includes/icons/1F3A2.png | 2.80KB | 2.04KB | ▼ 27.29% |
includes/icons/1F1E6-1F1E9.png | 1.31KB | 1.28KB | ▼ 1.94% |
includes/icons/1F1F2-1F1F9.png | 0.82KB | 0.95KB | 0.00% |