Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.03MB] [CPU: ▲0.01ms] Passed 4 tests
An overview of server-side resources used by BuddyPress Featured Groups
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.03 | 37.55 ▼2.36 |
Dashboard /wp-admin | 3.34 ▲0.03 | 51.05 ▲1.08 |
Posts /wp-admin/edit.php | 3.45 ▲0.09 | 47.88 ▲4.70 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.03 | 91.06 ▼3.38 |
Media Library /wp-admin/upload.php | 3.26 ▲0.03 | 40.08 ▲7.31 |
Server storage [IO: ▲0.09MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 23 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
widget_recent-posts |
widget_recent-comments |
theysaidso_admin_options |
can_compress_scripts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
An overview of browser requirements for BuddyPress Featured Groups
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲54 | 14.44 ▲0.21 | 1.64 ▼0.14 | 41.58 ▼5.93 |
Dashboard /wp-admin | 2,209 ▲21 | 4.90 ▼0.00 | 103.51 ▼10.09 | 45.86 ▲3.33 |
Posts /wp-admin/edit.php | 2,089 ▼0 | 1.98 ▼0.01 | 34.58 ▼2.40 | 34.20 ▲2.48 |
Add New Post /wp-admin/post-new.php | 1,411 ▼122 | 18.08 ▼5.06 | 547.80 ▼140.91 | 56.43 ▲5.38 |
Media Library /wp-admin/upload.php | 1,391 ▲3 | 4.21 ▼0.05 | 97.97 ▲0.40 | 41.62 ▼0.96 |
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 6 options in the database
- widget_recent-comments
- widget_recent-posts
- widget_theysaidso_widget
- can_compress_scripts
- theysaidso_admin_options
- db_upgraded
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting 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: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
The following issues need your attention
- 2× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function do_action() in wp-content/plugins/bp-featured-groups/templates/groups-loop-list2.php:21
- > PHP Fatal error
Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/bp-featured-groups/core/bp-featured-groups-shortcode.php:2
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
2 plugin tags: featured groups, buddypress
bp-featured-groups/bp-featured-groups.php Passed 13 tests
The main PHP file in "BuddyPress Featured Groups" ver. 1.3.1 adds more information about the plugin and also serves as the entry point for this plugin
85 characters long description:
BuddyPress add-ons which allow site admin to mark members as featured or un-featured.
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
No dangerous file extensions were detected1,046 lines of code in 18 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 13 | 288 | 368 | 860 |
PO File | 1 | 53 | 63 | 137 |
JavaScript | 3 | 11 | 5 | 48 |
CSS | 1 | 0 | 2 | 1 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.22 |
Average class complexity | 9.00 |
▷ Minimum class complexity | 5.00 |
▷ Maximum class complexity | 16.00 |
Average method complexity | 1.86 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 8.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 4 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 4 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 37 | |
▷ Static methods | 1 | 2.70% |
▷ Public methods | 34 | 91.89% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 3 | 8.11% |
Functions | 23 | |
▷ Named functions | 23 | 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 Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
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 |
assets/images/controls.png | 2.19KB | 0.95KB | ▼ 56.49% |