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
Installer ran successfully
Server metrics [RAM: ▲0.00MB] [CPU: ▼5.04ms] Passed 4 tests
A check of server-side resources used by BuddyPress Member Type Generator
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.01 | 40.23 ▼5.18 |
Dashboard /wp-admin | 3.32 ▼0.03 | 56.64 ▼3.32 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 45.45 ▼4.06 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.01 | 89.28 ▼7.58 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 36.49 ▲1.15 |
Server storage [IO: ▲0.03MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
There were no storage issued detected upon installing this plugin
Filesystem: 7 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-posts |
theysaidso_admin_options |
widget_recent-comments |
Browser metrics Passed 4 tests
Checking browser requirements for BuddyPress Member Type Generator
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,789 ▲43 | 14.31 ▼0.05 | 1.87 ▼0.04 | 44.55 ▼1.60 |
Dashboard /wp-admin | 2,192 ▲15 | 5.53 ▼0.16 | 86.03 ▼10.37 | 39.29 ▼1.19 |
Posts /wp-admin/edit.php | 2,100 ▼0 | 2.00 ▼0.05 | 37.48 ▼3.34 | 36.53 ▼1.61 |
Add New Post /wp-admin/post-new.php | 1,545 ▼11 | 23.08 ▲4.96 | 672.28 ▲43.13 | 57.00 ▲4.62 |
Media Library /wp-admin/upload.php | 1,397 ▼3 | 4.19 ▼0.02 | 104.03 ▲4.35 | 47.15 ▲3.55 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Please fix the following items
- The uninstall procedure has failed, leaving 6 options in the database
- widget_recent-posts
- widget_theysaidso_widget
- theysaidso_admin_options
- db_upgraded
- widget_recent-comments
- can_compress_scripts
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP Passed 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
Looking good! No server-side errors or output on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser issues were found
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
These attributes need to be fixed:
- Screenshots: No descriptions were found for these screenshots #3, #4 in bp-member-type-generator/assets to your readme.txt
bp-member-type-generator/bp-member-type-generator.php Passed 13 tests
The entry point to "BuddyPress Member Type Generator" version 1.0.6 is a PHP file that has certain tags in its header comment area
140 characters long description:
Allows site admins to create/manage Member types from WordPress dashboard. Also, includes functionality to bulk assign member type to users.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
Everything looks great! No dangerous files found in this plugin561 lines of code in 6 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 6 | 238 | 302 | 561 |
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.33 |
Average class complexity | 15.60 |
▷ Minimum class complexity | 6.00 |
▷ Maximum class complexity | 22.00 |
Average method complexity | 2.92 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 15.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 5 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 5 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 38 | |
▷ Static methods | 5 | 13.16% |
▷ Public methods | 29 | 76.32% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 9 | 23.68% |
Functions | 1 | |
▷ Named functions | 1 | 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
No PNG images were found in this plugin