Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Install script ran successfully
Server metrics [RAM: ▲0.00MB] [CPU: ▼2.78ms] Passed 4 tests
A check of server-side resources used by BuddyBoss to PeepSo Migration Tool
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 37.30 ▼0.36 |
Dashboard /wp-admin | 3.31 ▲0.00 | 45.91 ▼4.55 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 53.00 ▲3.47 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 85.73 ▼9.66 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 35.58 ▲3.79 |
Server storage [IO: ▲0.19MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin was installed successfully
Filesystem: 17 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
db_upgraded |
widget_recent-posts |
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-comments |
Browser metrics Passed 4 tests
A check of browser resources used by BuddyBoss to PeepSo Migration Tool
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,790 ▲28 | 14.67 ▲0.32 | 1.72 ▲0.04 | 44.03 ▲2.34 |
Dashboard /wp-admin | 2,195 ▲21 | 5.47 ▼0.17 | 96.51 ▼3.03 | 42.30 ▼2.65 |
Posts /wp-admin/edit.php | 2,100 ▼0 | 2.01 ▲0.05 | 39.30 ▼3.24 | 36.16 ▼0.62 |
Add New Post /wp-admin/post-new.php | 1,526 ▼5 | 23.70 ▲0.67 | 668.88 ▼22.19 | 54.62 ▼5.38 |
Media Library /wp-admin/upload.php | 1,400 ▲3 | 4.17 ▼0.09 | 98.03 ▼2.72 | 42.71 ▼1.81 |
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
You still need to fix the following
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_theysaidso_widget
- can_compress_scripts
- theysaidso_admin_options
- widget_recent-posts
- widget_recent-comments
- db_upgraded
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though everything seems fine, this is not an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Please take a closer look at the following
- 4× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Class 'PeepsoMigrateBB' not found in wp-content/plugins/peepso-tools-buddyboss-migrator/templates/migrate/dashboard.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function apply_filters() in wp-content/plugins/peepso-tools-buddyboss-migrator/templates/migrate/progress.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/peepso-tools-buddyboss-migrator/templates/migrate/header.php:1
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_attr() in wp-content/plugins/peepso-tools-buddyboss-migrator/templates/migrate/progress_bar.php:4
- > 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 90% from 29 tests
readme.txt 94% 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
Attributes that require attention:
- Tags: Too many tags (22 tag instead of maximum 10); only the first 5 tags are used in your directory listing
peepso-tools-buddyboss-migrator/peepsomigratebuddyboss.php 85% from 13 tests
"BuddyBoss to PeepSo Migration Tool" version 6.2.7.0's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
Please take the time to fix the following:
- Main file name: Name the main plugin file the same as the plugin slug ("peepso-tools-buddyboss-migrator.php" instead of "peepsomigratebuddyboss.php")
- Text Domain: The text domain is optional since WordPress version 4.6; if you do specify it, it must be the same as the plugin slug
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
No dangerous file extensions were detected2,686 lines of code in 8 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 7 | 570 | 127 | 2,501 |
CSS | 1 | 28 | 9 | 185 |
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 problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.42 |
Average class complexity | 227.50 |
▷ Minimum class complexity | 66.00 |
▷ Maximum class complexity | 389.00 |
Average method complexity | 9.79 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 65.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 46 | |
▷ Static methods | 6 | 13.04% |
▷ Public methods | 41 | 89.13% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 5 | 10.87% |
Functions | 3 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 3 | 100.00% |
Constants | 7 | |
▷ Global constants | 1 | 14.29% |
▷ Class constants | 6 | 85.71% |
▷ Public constants | 6 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
3 PNG files occupy 0.01MB with 0.00MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/tick.png | 4.59KB | 2.12KB | ▼ 53.81% |
assets/images/logo-icon_20x20.png | 0.55KB | 0.71KB | 0.00% |
assets/images/error.png | 3.43KB | 1.97KB | ▼ 42.66% |