Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The following installer errors require your attention
- This plugin did not install gracefully
- > 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.00MB] [CPU: ▼9.17ms] Passed 4 tests
This is a short check of server-side resources used by BuddyPress Group Tinychat
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 40.54 ▼1.41 |
Dashboard /wp-admin | 3.31 ▼0.03 | 49.02 ▼19.60 |
Posts /wp-admin/edit.php | 3.36 ▲0.01 | 46.03 ▼7.14 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.01 | 91.66 ▼8.53 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 38.18 ▼0.46 |
Server storage [IO: ▲0.47MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin was installed successfully
Filesystem: 8 new files
Database: 2 new tables, 6 new options
New tables |
---|
wp_bp_group_tinychat |
wp_bp_group_tinychat_online |
New WordPress options |
---|
db_upgraded |
widget_recent-posts |
theysaidso_admin_options |
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-comments |
Browser metrics Passed 4 tests
BuddyPress Group Tinychat: an overview of browser usage
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,789 ▲28 | 14.28 ▲0.12 | 1.75 ▲0.13 | 43.50 ▲0.87 |
Dashboard /wp-admin | 2,195 ▲18 | 5.52 ▼0.10 | 82.96 ▼9.24 | 38.97 ▼3.74 |
Posts /wp-admin/edit.php | 2,097 ▼3 | 2.03 ▲0.03 | 34.69 ▼3.82 | 34.30 ▲0.01 |
Add New Post /wp-admin/post-new.php | 1,535 ▲7 | 18.01 ▼4.99 | 647.02 ▼55.13 | 68.43 ▲18.60 |
Media Library /wp-admin/upload.php | 1,394 ▼6 | 4.20 ▲0.08 | 95.69 ▼2.56 | 43.17 ▼2.22 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
The following items require your attention
- Zombie tables were found after uninstall: 2 tables
- wp_bp_group_tinychat_online
- wp_bp_group_tinychat
- The uninstall procedure has failed, leaving 6 options in the database
- widget_recent-posts
- widget_recent-comments
- can_compress_scripts
- theysaidso_admin_options
- widget_theysaidso_widget
- db_upgraded
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Please fix the following
- 2× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/bp-group-tinychat/loader.php:18
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/bp-group-tinychat/includes/bp-group-tinychat-core.php:27
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
There were no browser issues found
Optimizations
Plugin configuration 87% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
These attributes need to be fixed:
- Screenshots: Please add an image for screenshot #4 (setting.)
- Requires at least: Invalid plugin version format
bp-group-tinychat/loader.php 85% from 13 tests
The main PHP file in "BuddyPress Group Tinychat" ver. 1.4 adds more information about the plugin and also serves as the entry point for this plugin
Please make the necessary changes and fix the following:
- Main file name: The principal plugin file should be the same as the plugin slug ("bp-group-tinychat.php" instead of "loader.php")
- Requires at least: Required version number should use periods and dots only (ex. "7.0" instead of "WordPress 3.1.0, BuddyPress 1.2.8")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
Everything looks great! No dangerous files found in this plugin141 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 45 | 21 | 141 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.24 |
Average class complexity | 14.00 |
▷ Minimum class complexity | 14.00 |
▷ Maximum class complexity | 14.00 |
Average method complexity | 2.86 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 5.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 | 3 | |
▷ Named functions | 3 | 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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
4 PNG files occupy 0.46MB with 0.29MB in potential savings
Potential savings
Compression of 4 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-3.png | 114.02KB | 41.40KB | ▼ 63.69% |
screenshot-4.png | 121.20KB | 46.35KB | ▼ 61.76% |
screenshot-1.png | 71.23KB | 23.61KB | ▼ 66.85% |
screenshot-2.png | 161.79KB | 55.53KB | ▼ 65.67% |