Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.10MB] [CPU: ▼9.79ms] Passed 4 tests
A check of server-side resources used by Suffusion BuddyPress Pack
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.57 ▲0.11 | 42.27 ▲1.90 |
Dashboard /wp-admin | 3.42 ▲0.07 | 46.40 ▼14.93 |
Posts /wp-admin/edit.php | 3.53 ▲0.17 | 46.07 ▼2.32 |
Add New Post /wp-admin/post-new.php | 6.00 ▲0.11 | 81.69 ▼20.47 |
Media Library /wp-admin/upload.php | 3.34 ▲0.11 | 34.60 ▼1.45 |
Server storage [IO: ▲1.12MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 302 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
theysaidso_admin_options |
widget_recent-posts |
widget_theysaidso_widget |
db_upgraded |
can_compress_scripts |
Browser metrics Passed 4 tests
Suffusion BuddyPress Pack: an overview of browser usage
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲29 | 14.80 ▲0.42 | 1.68 ▼0.53 | 43.32 ▼3.22 |
Dashboard /wp-admin | 2,206 ▲18 | 4.85 ▼1.05 | 106.84 ▲0.25 | 38.72 ▼7.00 |
Posts /wp-admin/edit.php | 2,092 ▲3 | 1.99 ▼0.04 | 38.98 ▲1.59 | 36.29 ▲4.54 |
Add New Post /wp-admin/post-new.php | 1,535 ▲16 | 23.36 ▲0.12 | 655.85 ▲18.98 | 62.75 ▲12.65 |
Media Library /wp-admin/upload.php | 1,388 ▲3 | 4.30 ▲0.10 | 96.97 ▼5.45 | 42.02 ▼1.32 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The following items require your attention
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_recent-comments
- widget_recent-posts
- can_compress_scripts
- widget_theysaidso_widget
- db_upgraded
- theysaidso_admin_options
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
The following issues need your attention
- 243× PHP files trigger errors when accessed directly with GET requests (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Call to undefined function get_header() in wp-content/plugins/suffusion-buddypress-pack/template-1.6/blogs/create.php:12
- > PHP Fatal error
Uncaught Error: Call to undefined function bp_group_has_members() in wp-content/plugins/suffusion-buddypress-pack/template-1.2/groups/single/members.php:1
- > PHP Fatal error
Uncaught Error: Call to undefined function do_action() in wp-content/plugins/suffusion-buddypress-pack/template-1.6/groups/single/forum/topic.php:1
- > PHP Fatal error
Uncaught Error: Call to undefined function get_header() in wp-content/plugins/suffusion-buddypress-pack/template-1.5/forums/single/forum.php:1
- > PHP Fatal error
Uncaught Error: Call to undefined function do_action() in wp-content/plugins/suffusion-buddypress-pack/template-1.5/forums/single/forum-header.php:1
- > PHP Fatal error
Uncaught Error: Call to undefined function do_action() in wp-content/plugins/suffusion-buddypress-pack/template-1.6/groups/single/send-invites.php:1
- > PHP Fatal error
Uncaught Error: Call to undefined function get_header() in wp-content/plugins/suffusion-buddypress-pack/template-1.6/jet-event-system/events/single/plugins.php:1
- > PHP Fatal error
Uncaught Error: Call to undefined function get_header() in wp-content/plugins/suffusion-buddypress-pack/template-1.6/groups/single/home.php:1
- > PHP Fatal error
Uncaught Error: Call to undefined function bp_is_my_profile() in wp-content/plugins/suffusion-buddypress-pack/template-1.5/members/single/settings.php:14
- > PHP Fatal error
Uncaught Error: Call to undefined function do_action() in wp-content/plugins/suffusion-buddypress-pack/template-1.6/activity/comment.php:15
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser issues were found
Optimizations
Plugin configuration 87% from 29 tests
readme.txt 88% from 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
These attributes need to be fixed:
- Requires at least: The plugin version is formatted incorrectly
- Tested up to: The plugin version is formatted incorrectly
suffusion-buddypress-pack/suffusion-bp-pack.php 85% from 13 tests
The principal PHP file in "Suffusion BuddyPress Pack" v. 1.13 is loaded by WordPress automatically on each request
The following require your attention:
- Description: The description should be shorter than 140 characters (currently 168 characters long)
- Main file name: Name the main plugin file the same as the plugin slug ("suffusion-buddypress-pack.php" instead of "suffusion-bp-pack.php")
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
No dangerous file extensions were detected11,928 lines of code in 160 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 157 | 4,124 | 459 | 10,616 |
CSS | 3 | 196 | 197 | 1,312 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.50 |
Average class complexity | 32.50 |
▷ Minimum class complexity | 8.00 |
▷ Maximum class complexity | 57.00 |
Average method complexity | 4.00 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 10.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 1 | 50.00% |
▷ Concrete classes | 1 | 50.00% |
▷ Final classes | 0 | 0.00% |
Methods | 24 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 24 | 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 | 13 | |
▷ Global constants | 13 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
46 compressed PNG files occupy 0.07MB
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
template-1.5/jet-event-system/events/css/images/ui-icons_454545_256x240.png | 4.27KB | 4.11KB | ▼ 3.78% |
include/images/bg-gray-1.png | 0.52KB | 0.97KB | 0.00% |
template-1.2/jet-event-system/events/css/images/ui-bg_glass_95_fef1ec_1x400.png | 0.12KB | 0.14KB | 0.00% |
template-1.2/jet-event-system/events/css/images/ui-bg_flat_0_aaaaaa_40x100.png | 0.18KB | 0.08KB | ▼ 51.67% |
template-1.6/jet-event-system/events/css/images/ui-icons_cd0a0a_256x240.png | 4.27KB | 4.11KB | ▼ 3.78% |