Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
This plugin's installer ran successfully
Server metrics [RAM: ▲0.01MB] [CPU: ▼0.66ms] Passed 4 tests
Analyzing server-side resources used by BP Auto Group Join
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 41.19 ▲3.81 |
Dashboard /wp-admin | 3.32 ▲0.01 | 44.27 ▼3.34 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 48.44 ▼1.67 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.01 | 102.99 ▲14.24 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 33.43 ▼1.45 |
Server storage [IO: ▲0.11MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin installed successfully
Filesystem: 21 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
db_upgraded |
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-posts |
theysaidso_admin_options |
Browser metrics Passed 4 tests
Checking browser requirements for BP Auto Group Join
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲58 | 13.21 ▼1.17 | 4.79 ▲3.19 | 43.95 ▼2.35 |
Dashboard /wp-admin | 2,210 ▲19 | 5.97 ▲1.05 | 94.29 ▼9.42 | 40.29 ▼1.39 |
Posts /wp-admin/edit.php | 2,093 ▲4 | 2.04 ▼0.00 | 39.84 ▲3.79 | 37.82 ▲2.93 |
Add New Post /wp-admin/post-new.php | 1,537 ▲17 | 23.09 ▼0.28 | 639.63 ▼37.23 | 52.40 ▼6.47 |
Media Library /wp-admin/upload.php | 1,392 ▲4 | 4.23 ▲0.01 | 93.28 ▼12.83 | 44.58 ▼0.79 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
These items require your attention
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_recent-comments
- theysaidso_admin_options
- db_upgraded
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-posts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for 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 applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Please fix the following items
- 1× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/bp-auto-group-join/includes/help-support.php:5
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser errors were detected
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
Please fix the following attributes:
- Screenshots: Please describe screenshot #1 in bp-auto-group-join/assets to your readme.txt
bp-auto-group-join/bp-auto-group-join.php Passed 13 tests
Analyzing the main PHP file in "BP Auto Group Join" version 1.0.4
47 characters long description:
Automatically join BuddyPress members to Groups
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
Success! There were no dangerous files found in this plugin1,085 lines of code in 16 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 8 | 242 | 564 | 793 |
PO File | 2 | 59 | 78 | 174 |
JavaScript | 3 | 13 | 90 | 88 |
SVG | 1 | 0 | 1 | 15 |
JSON | 1 | 0 | 0 | 12 |
CSS | 1 | 2 | 3 | 3 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.43 |
Average class complexity | 32.25 |
▷ Minimum class complexity | 24.00 |
▷ Maximum class complexity | 40.00 |
Average method complexity | 3.08 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 23.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 | 60 | |
▷ Static methods | 2 | 3.33% |
▷ Public methods | 55 | 91.67% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 5 | 8.33% |
Functions | 5 | |
▷ Named functions | 5 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 5 | |
▷ Global constants | 5 | 100.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
There are no PNG files in this plugin