Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.06MB] [CPU: ▲1.81ms] Passed 4 tests
A check of server-side resources used by BuddyCommerce: WooCommerce and BuddyPress Integration
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.52 ▲0.06 | 45.68 ▼0.83 |
Dashboard /wp-admin | 3.36 ▲0.06 | 59.79 ▲10.63 |
Posts /wp-admin/edit.php | 3.47 ▲0.12 | 53.98 ▼2.23 |
Add New Post /wp-admin/post-new.php | 5.94 ▲0.06 | 103.94 ▲10.32 |
Media Library /wp-admin/upload.php | 3.28 ▲0.05 | 37.25 ▼0.02 |
Server storage [IO: ▲0.17MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
The plugin installed successfully
Filesystem: 59 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_recent-posts |
widget_recent-comments |
db_upgraded |
widget_theysaidso_widget |
buddycommerce_settings |
can_compress_scripts |
theysaidso_admin_options |
Browser metrics Passed 4 tests
This is an overview of browser requirements for BuddyCommerce: WooCommerce and BuddyPress Integration
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲54 | 13.61 ▼0.76 | 1.83 ▼0.08 | 43.92 ▲1.81 |
Dashboard /wp-admin | 2,206 ▲21 | 4.87 ▼0.97 | 108.75 ▲0.34 | 40.63 ▲0.39 |
Posts /wp-admin/edit.php | 2,092 ▲3 | 1.99 ▼0.05 | 42.20 ▼2.20 | 35.61 ▼0.26 |
Add New Post /wp-admin/post-new.php | 1,514 ▼14 | 23.68 ▲0.40 | 630.39 ▼82.32 | 51.77 ▼0.89 |
Media Library /wp-admin/upload.php | 1,391 ▲3 | 4.21 ▲0.00 | 99.80 ▼10.81 | 43.56 ▼3.33 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Please fix the following items
- Zombie WordPress options were found after uninstall: 7 options
- theysaidso_admin_options
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-comments
- widget_recent-posts
- db_upgraded
- buddycommerce_settings
Smoke tests Passed 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)
Even though no errors were found, this is by no means an exhaustive test
SRP Passed 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
Congratulations! This plugin passed the SRP test
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 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
These attributes need your attention:
- Screenshots: These screenshots need descriptions #2, #3, #4 in buddycommerce/assets to your readme.txt
buddycommerce/buddycommerce.php Passed 13 tests
The main file in "BuddyCommerce: WooCommerce and BuddyPress Integration" v. 1.0.6 serves as a complement to information provided in readme.txt and as the entry point to the plugin
39 characters long description:
BuddyPress and WooCommerce Integration.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
Good job! No executable or dangerous file extensions detected3,310 lines of code in 55 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 50 | 1,072 | 2,510 | 3,042 |
PO File | 1 | 74 | 92 | 188 |
JavaScript | 2 | 17 | 17 | 62 |
CSS | 1 | 4 | 2 | 15 |
Markdown | 1 | 1 | 0 | 3 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.39 |
Average class complexity | 11.68 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 55.00 |
Average method complexity | 2.33 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 21.00 |
Code structure | ||
---|---|---|
Namespaces | 9 | |
Interfaces | 0 | |
Traits | 1 | |
Classes | 27 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 27 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 218 | |
▷ Static methods | 17 | 7.80% |
▷ Public methods | 174 | 79.82% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 44 | 20.18% |
Functions | 62 | |
▷ Named functions | 61 | 98.39% |
▷ Anonymous functions | 1 | 1.61% |
Constants | 2 | |
▷ Global constants | 2 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
There were not PNG files found in your plugin