Benchmarks
Plugin footprint 58% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
It is recommended to fix the following installer errors
- This plugin did not install gracefully
- > User deprecated in wp-includes/functions.php+5401
upgrade-functions.php is deprecated since version 2.5.0! Use wp-admin/includes/upgrade.php instead.
Server metrics [RAM: ▲0.00MB] [CPU: ▼184.04ms] Passed 4 tests
Server-side resources used by Video Chat for BuddyPress Groups -Discontinued
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.85 ▲0.01 | 25.19 ▲3.86 |
Dashboard /wp-admin | 3.07 ▲0.00 | 30.90 ▼4.89 |
Posts /wp-admin/edit.php | 3.12 ▲0.01 | 28.16 ▼4.78 |
Add New Post /wp-admin/post-new.php | 5.43 ▼0.01 | 67.72 ▼726.92 |
Media Library /wp-admin/upload.php | 3.01 ▲0.01 | 22.45 ▲0.43 |
Server storage [IO: ▲2.07MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin was installed successfully
Filesystem: 18 new files
Database: 2 new tables, no new options
New tables |
---|
wp_bp_tinychat_group_chat |
wp_bp_tinychat_group_chat_online |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Video Chat for BuddyPress Groups -Discontinued
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,666 ▲65 | 15.50 ▼0.16 | 6.61 ▲1.05 | 76.44 ▲3.79 |
Dashboard /wp-admin | 2,930 ▲34 | 6.14 ▼0.00 | 118.51 ▼18.85 | 168.83 ▼6.53 |
Posts /wp-admin/edit.php | 2,740 ▼0 | 3.36 ▲0.00 | 61.37 ▼3.05 | 135.17 ▼4.67 |
Add New Post /wp-admin/post-new.php | 3,735 ▼80 | 18.22 ▼1.37 | 432.59 ▼1.87 | 158.60 ▼4.54 |
Media Library /wp-admin/upload.php | 1,749 ▼3 | 5.48 ▼0.01 | 145.16 ▼12.70 | 185.25 ▲0.05 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
It is recommended to fix the following
- Zombie tables detected upon uninstall: 2 tables
- wp_bp_tinychat_group_chat_online
- wp_bp_tinychat_group_chat
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Good news, no errors were detected
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 take a closer look at the following
- 2× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Class 'BP_Group_Extension' not found in wp-content/plugins/bp-group-chat/chat-core.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/bp-group-chat/group-chat-for-buddypress.php:32
- > 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 errors were detected
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
8 plugin tags: buddypress group chat, html5, buddypress video chat, video chat, tinychat...
bp-group-chat/group-chat-for-buddypress.php 85% from 13 tests
The main PHP file in "Video Chat for BuddyPress Groups -Discontinued" ver. 1.2.4 adds more information about the plugin and also serves as the entry point for this plugin
It is important to fix the following:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("bp-group-chat.php" instead of "group-chat-for-buddypress.php")
- Requires at least: Required version number should only contain digits separated by dots (ex. "7.0" instead of "WordPress 4.0, BuddyPress 4.0")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
No dangerous file extensions were detected122 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 51 | 15 | 122 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.41 |
Average class complexity | 15.00 |
▷ Minimum class complexity | 15.00 |
▷ Maximum class complexity | 15.00 |
Average method complexity | 3.33 |
▷ Minimum method complexity | 2.00 |
▷ Maximum method complexity | 6.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 | 6 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 6 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 2 | |
▷ Named functions | 2 | 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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
14 PNG files occupy 2.06MB with 1.18MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-7.png | 8.99KB | 5.20KB | ▼ 42.24% |
screenshot-3.png | 18.29KB | 7.34KB | ▼ 59.87% |
screenshot-12.png | 426.69KB | 151.52KB | ▼ 64.49% |
screenshot-2.png | 39.15KB | 14.75KB | ▼ 62.34% |
screenshot-10.png | 68.89KB | 28.57KB | ▼ 58.53% |