Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.00MB] [CPU: ▼3.69ms] Passed 4 tests
Server-side resources used by BuddyPress FollowMe
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.00 | 41.90 ▼3.25 |
Dashboard /wp-admin | 3.31 ▲0.00 | 48.39 ▼7.18 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 51.48 ▼2.41 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 103.12 ▲2.75 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 38.03 ▼1.91 |
Server storage [IO: ▲0.28MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 26 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
db_upgraded |
can_compress_scripts |
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-comments |
Browser metrics Passed 4 tests
This is an overview of browser requirements for BuddyPress FollowMe
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,789 ▲28 | 14.10 ▼0.04 | 1.77 ▼0.44 | 41.06 ▼3.08 |
Dashboard /wp-admin | 2,195 ▲21 | 5.62 ▼0.06 | 95.08 ▲3.25 | 42.64 ▼2.27 |
Posts /wp-admin/edit.php | 2,103 ▲3 | 2.03 ▲0.05 | 41.97 ▼0.24 | 36.69 ▼0.52 |
Add New Post /wp-admin/post-new.php | 1,526 ▼2 | 23.20 ▼0.13 | 682.48 ▲46.76 | 60.22 ▼1.30 |
Media Library /wp-admin/upload.php | 1,394 ▼6 | 4.20 ▲0.02 | 101.93 ▼4.75 | 43.81 ▼2.79 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
These items require your attention
- The uninstall procedure has failed, leaving 6 options in the database
- theysaidso_admin_options
- widget_recent-comments
- widget_theysaidso_widget
- can_compress_scripts
- db_upgraded
- widget_recent-posts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
The smoke test was a success, however most plugin functionality was not tested
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
- 3× PHP files trigger server errors when accessed directly:
- > PHP Parse error
syntax error, unexpected '&', expecting ')' in wp-content/plugins/buddypress-follow-me/includes/bp-follow-functions.php on line 108
- > PHP Fatal error
Uncaught Error: Call to undefined function do_action() in wp-content/plugins/buddypress-follow-me/includes/templates/members/single/follow/follow-loop.php:10
- > PHP Fatal error
Uncaught Error: Call to undefined function bp_follow_is_bp_default() in wp-content/plugins/buddypress-follow-me/includes/templates/members/single/follow.php:9
- > PHP Parse error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine on the user side
Optimizations
Plugin configuration 87% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
Attributes that require attention:
- Tested up to: Invalid version format
- Requires at least: Invalid version format
buddypress-follow-me/loader.php 85% from 13 tests
The principal PHP file in "BuddyPress FollowMe" v. 1.2.2 is loaded by WordPress automatically on each request
The following require your attention:
- Requires at least: Periods and digits should be used for the required version number (ex. "7.0" instead of "WP 3.4, BuddyPress 1.5")
- Main file name: The principal plugin file should be the same as the plugin slug ("buddypress-follow-me.php" instead of "loader.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
Success! There were no dangerous files found in this plugin1,159 lines of code in 18 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 16 | 470 | 1,035 | 1,007 |
PO File | 1 | 36 | 41 | 111 |
JavaScript | 1 | 8 | 2 | 41 |
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 issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.32 |
Average class complexity | 6.50 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 14.00 |
Average method complexity | 2.00 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 7.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 | 22 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 22 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 55 | |
▷ Named functions | 55 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 7 | |
▷ Global constants | 7 | 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
3 PNG files occupy 0.17MB with 0.10MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-3.png | 48.37KB | 21.26KB | ▼ 56.04% |
screenshot-1.png | 70.45KB | 22.42KB | ▼ 68.18% |
screenshot-2.png | 53.19KB | 23.50KB | ▼ 55.83% |