Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▼0.01MB] [CPU: ▼4.11ms] Passed 4 tests
Analyzing server-side resources used by BuddyPress for Sensei
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 38.26 ▼5.60 |
Dashboard /wp-admin | 3.31 ▼0.04 | 72.21 ▲3.86 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 53.35 ▼0.52 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 87.70 ▼14.19 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 39.21 ▲4.06 |
Server storage [IO: ▲0.34MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin was installed successfully
Filesystem: 42 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-posts |
widget_recent-comments |
can_compress_scripts |
theysaidso_admin_options |
db_upgraded |
Browser metrics Passed 4 tests
BuddyPress for Sensei: an overview of browser usage
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,789 ▲3 | 14.34 ▼0.21 | 1.65 ▼0.18 | 36.65 ▼5.93 |
Dashboard /wp-admin | 2,198 ▲21 | 5.63 ▲0.03 | 87.62 ▲0.43 | 36.57 ▼3.42 |
Posts /wp-admin/edit.php | 2,103 ▲3 | 1.98 ▼0.05 | 36.88 ▲0.66 | 36.29 ▲5.23 |
Add New Post /wp-admin/post-new.php | 1,526 ▼2 | 23.56 ▲0.48 | 641.46 ▲41.86 | 61.45 ▲16.39 |
Media Library /wp-admin/upload.php | 1,400 ▼0 | 4.21 ▲0.02 | 98.22 ▼3.03 | 41.47 ▼5.64 |
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
- Zombie WordPress options detected upon uninstall: 6 options
- theysaidso_admin_options
- db_upgraded
- widget_recent-comments
- widget_recent-posts
- widget_theysaidso_widget
- 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 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Congratulations! This plugin passed the SRP test
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
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
Attributes that require attention:
- Tags: Please reduce the number of tags, currently 23 tag instead of maximum 10
sensei-buddypress/sensei-buddypress.php Passed 13 tests
"BuddyPress for Sensei" version 1.2.3's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
109 characters long description:
Integrate the WooThemes Sensei plugin with BuddyPress, so you can add social activity to your education site.
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
Everything looks great! No dangerous files found in this plugin4,974 lines of code in 28 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 15 | 734 | 837 | 2,310 |
JSON | 2 | 0 | 0 | 1,459 |
PO File | 3 | 299 | 323 | 735 |
CSS | 3 | 37 | 51 | 365 |
JavaScript | 5 | 6 | 89 | 105 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.36 |
Average class complexity | 28.00 |
▷ Minimum class complexity | 7.00 |
▷ Maximum class complexity | 81.00 |
Average method complexity | 3.23 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 30.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 8 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 8 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 97 | |
▷ Static methods | 8 | 8.25% |
▷ Public methods | 94 | 96.91% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 3 | 3.09% |
Functions | 44 | |
▷ Named functions | 44 | 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
8 PNG files occupy 0.00MB with 0.00MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/jquery-ui/redmond/images/ui-bg_glass_75_d0e5f5_1x400.png | 0.12KB | 0.16KB | 0.00% |
assets/jquery-ui/redmond/images/ui-bg_glass_95_fef1ec_1x400.png | 0.12KB | 0.14KB | 0.00% |
assets/jquery-ui/redmond/images/ui-bg_inset-hard_100_fcfdfd_1x100.png | 0.11KB | 0.09KB | ▼ 15.18% |
assets/jquery-ui/redmond/images/ui-bg_flat_0_aaaaaa_40x100.png | 0.18KB | 0.08KB | ▼ 51.67% |
assets/jquery-ui/redmond/images/ui-bg_gloss-wave_55_5c9ccc_500x100.png | 3.38KB | 1.68KB | ▼ 50.10% |