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
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.00MB] [CPU: ▼0.27ms] Passed 4 tests
Server-side resources used by BuddyPress Wall
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 35.01 ▼6.13 |
Dashboard /wp-admin | 3.31 ▲0.00 | 49.56 ▲3.64 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 46.85 ▲1.92 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 99.73 ▲4.35 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 30.96 ▼0.49 |
Server storage [IO: ▲0.56MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 42 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
theysaidso_admin_options |
can_compress_scripts |
widget_theysaidso_widget |
db_upgraded |
widget_recent-comments |
Browser metrics Passed 4 tests
This is an overview of browser requirements for BuddyPress Wall
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲54 | 13.70 ▼0.87 | 4.49 ▲2.77 | 42.31 ▼1.52 |
Dashboard /wp-admin | 2,206 ▲18 | 4.87 ▼0.21 | 109.37 ▲3.89 | 42.43 ▲0.24 |
Posts /wp-admin/edit.php | 2,092 ▲3 | 2.06 ▲0.06 | 39.60 ▲4.86 | 35.97 ▲3.37 |
Add New Post /wp-admin/post-new.php | 1,542 ▲23 | 18.22 ▼4.92 | 603.08 ▼77.74 | 68.37 ▲4.47 |
Media Library /wp-admin/upload.php | 1,391 ▼0 | 4.19 ▼0.04 | 96.70 ▼6.39 | 46.50 ▲0.08 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
You still need to fix the following
- Zombie WordPress options detected upon uninstall: 6 options
- theysaidso_admin_options
- widget_recent-posts
- db_upgraded
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-comments
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)
Everything seems fine, however this is by no means an exhaustive test
SRP 50% from 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
Please take a closer look at the following
- 16× PHP files trigger errors when accessed directly with GET requests (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Call to undefined function do_action() in wp-content/plugins/buddypress-wall/includes/templates/bp-default/activity/activity-wall-loop.php:14
- > PHP Fatal error
Uncaught Error: Call to undefined function do_action() in wp-content/plugins/buddypress-wall/includes/templates/bp-legacy/buddypress/activity/index-wall.php:1
- > PHP Fatal error
Uncaught Error: Call to undefined function do_action() in wp-content/plugins/buddypress-wall/includes/templates/bp-default/activity/entry-wall.php:17
- > PHP Fatal error
Uncaught Error: Call to undefined function get_header() in wp-content/plugins/buddypress-wall/includes/templates/bp-default/groups/single/home-wall.php:1
- > PHP Fatal error
Uncaught Error: Call to undefined function do_action() in wp-content/plugins/buddypress-wall/includes/templates/bp-legacy/buddypress/activity/activity-wall-loop.php:1
- > PHP Fatal error
Uncaught Error: Call to undefined function is_user_logged_in() in wp-content/plugins/buddypress-wall/includes/templates/bp-legacy/buddypress/activity/post-wall-form.php:14
- > PHP Fatal error
Uncaught Error: Call to undefined function bp_has_groups() in wp-content/plugins/buddypress-wall/includes/templates/bp-legacy/buddypress/groups/single/home-wall.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function do_action() in wp-content/plugins/buddypress-wall/includes/templates/bp-legacy/buddypress/members/single/home-wall.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function bp_group_activity_feed_link() in wp-content/plugins/buddypress-wall/includes/templates/bp-legacy/buddypress/groups/single/activity-wall.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function bp_get_options_nav() in wp-content/plugins/buddypress-wall/includes/templates/bp-default/members/single/activity-wall.php:15
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
There were no browser issues found
Optimizations
Plugin configuration 83% from 29 tests
readme.txt 81% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
These attributes need to be fixed:
- Tested up to: Invalid plugin version format
- Requires at least: Invalid plugin version format
- Screenshots: These screenshots require images: #1 (**New comment system (Like Facebook)** - A member can write a new comment just by typing a comment and pressing Enter to send or Esc to cancel.), #2 (**Write in the Wall of you friend** - Member can write in the wall of his friends.), #3 (**Activity Member wall** - The Activity tab is now Wall Tab, all activities personal, friends and groups are printed are orderd in one screen : News Feed.), #4 (**I-Like/Unlike system** - Member can “Like/Unlike” a post.)
buddypress-wall/loader.php 85% from 13 tests
"BuddyPress Wall" version 0.9.4's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
The following require your attention:
- Requires at least: Required version number formatted incorrectly (ex. "7.0" instead of "WP 3.4, BuddyPress 1.5")
- Main file name: Name the main plugin file the same as the plugin slug ("buddypress-wall.php" instead of "loader.php")
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 plugin2,453 lines of code in 31 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 27 | 907 | 502 | 1,821 |
PO File | 1 | 108 | 198 | 292 |
JavaScript | 2 | 73 | 57 | 281 |
CSS | 1 | 16 | 10 | 59 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.38 |
Average class complexity | 9.33 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 23.00 |
Average method complexity | 1.93 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 10.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 3 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 3 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 27 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 27 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 30 | |
▷ Named functions | 30 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 8 | |
▷ Global constants | 8 | 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
6 PNG files occupy 0.38MB with 0.23MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-2.png | 86.05KB | 32.24KB | ▼ 62.54% |
includes/images/badge.png | 40.82KB | 21.95KB | ▼ 46.22% |
screenshot-1.png | 113.35KB | 41.92KB | ▼ 63.02% |
screenshot-3.png | 82.06KB | 29.81KB | ▼ 63.67% |
screenshot-4.png | 29.13KB | 11.39KB | ▼ 60.91% |