Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Install script ran successfully
Server metrics [RAM: ▼2.27MB] [CPU: ▼427,038.46ms] Passed 4 tests
Analyzing server-side resources used by LS Buddypress Activity plus tabs extension
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.52 ▲0.02 | 45.01 ▲1.43 |
Dashboard /wp-admin | 3.36 ▼9.14 | 56.78 ▼1,708,134.80 |
Posts /wp-admin/edit.php | 3.41 ▲0.02 | 52.50 ▲3.53 |
Add New Post /wp-admin/post-new.php | 5.94 ▲0.02 | 89.21 ▼20.23 |
Media Library /wp-admin/upload.php | 3.29 ▲0.02 | 37.22 ▼0.24 |
Server storage [IO: ▲0.34MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin installed successfully
Filesystem: 15 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-posts |
db_upgraded |
widget_recent-comments |
Browser metrics Passed 4 tests
This is an overview of browser requirements for LS Buddypress Activity plus tabs extension
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,789 ▲43 | 14.39 ▼0.26 | 1.77 ▲0.04 | 46.22 ▲3.59 |
Dashboard /wp-admin | 2,198 ▲18 | 5.57 ▲0.04 | 86.13 ▼4.95 | 40.71 ▼0.43 |
Posts /wp-admin/edit.php | 2,103 ▲3 | 1.96 ▼0.03 | 35.03 ▼1.47 | 36.73 ▼0.40 |
Add New Post /wp-admin/post-new.php | 1,404 ▼122 | 17.96 ▼5.14 | 615.39 ▼154.02 | 56.09 ▼33.38 |
Media Library /wp-admin/upload.php | 1,391 ▼6 | 4.19 ▲0.02 | 100.04 ▼6.33 | 44.91 ▼6.04 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
Please fix the following items
- The uninstall procedure has failed, leaving 6 options in the database
- can_compress_scripts
- widget_recent-posts
- db_upgraded
- widget_theysaidso_widget
- widget_recent-comments
- theysaidso_admin_options
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
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
Almost there! Just fix the following items
- 1× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/ls-buddypress-activity-plus-tabs-extension/loader.php:45
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
There were no browser issues found
Optimizations
Plugin configuration 83% from 29 tests
readme.txt 81% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
Attributes that require attention:
- Screenshots: These screenshots require images: #1 (Tabs (Links, Videos, Images) in group's navigation bar), #2 (BuddyPress Group's Videos widget), #3 (BuddyPress Group's Videos widget in a single group in frontend)
- Tested up to: Invalid plugin version format
- Requires at least: Invalid plugin version format
ls-buddypress-activity-plus-tabs-extension/loader.php 85% from 13 tests
"LS Buddypress Activity plus tabs extension" version 4.0's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
You should first fix the following items:
- Main file name: Name the main plugin file the same as the plugin slug ("ls-buddypress-activity-plus-tabs-extension.php" instead of "loader.php")
- Requires at least: Please use periods and digits for the required version (ex. "7.0" instead of "WP 4.3")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
Good job! No executable or dangerous file extensions detected616 lines of code in 8 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 7 | 122 | 114 | 616 |
CSS | 1 | 1 | 16 | 0 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.36 |
Average class complexity | 12.50 |
▷ Minimum class complexity | 12.00 |
▷ Maximum class complexity | 13.00 |
Average method complexity | 4.83 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 11.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 6 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 6 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 18 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 18 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 5 | |
▷ Named functions | 5 | 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
Using a strong compression for your PNG files is a great way to speed-up your plugin
6 PNG files occupy 0.31MB with 0.15MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/chain_16x16.png | 0.41KB | 0.33KB | ▼ 20.14% |
screenshot-1.png | 86.95KB | 32.24KB | ▼ 62.93% |
screenshot-2.png | 24.44KB | 13.53KB | ▼ 44.62% |
images/16-video-square_16x16.png | 0.37KB | 0.22KB | ▼ 40.31% |
screenshot-3.png | 200.72KB | 57.60KB | ▼ 71.30% |