Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Installer ran successfully
Server metrics [RAM: ▲0.06MB] [CPU: ▼5.05ms] Passed 4 tests
An overview of server-side resources used by Vibe BuddyPress WooCommerce
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.53 ▲0.07 | 38.74 ▲0.23 |
Dashboard /wp-admin | 3.37 ▲0.06 | 48.12 ▼5.22 |
Posts /wp-admin/edit.php | 3.42 ▲0.06 | 49.93 ▼1.56 |
Add New Post /wp-admin/post-new.php | 5.95 ▲0.06 | 85.09 ▼13.66 |
Media Library /wp-admin/upload.php | 3.29 ▲0.06 | 39.67 ▲5.16 |
Vibe Bp Woo Sync /wp-admin/options-general.php?page=vibe-bp-woo-sync | 3.23 | 32.95 |
Server storage [IO: ▲0.05MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin was installed successfully
Filesystem: 8 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-comments |
widget_recent-posts |
widget_theysaidso_widget |
db_upgraded |
can_compress_scripts |
Browser metrics Passed 4 tests
Vibe BuddyPress WooCommerce: an overview of browser usage
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,793 ▲32 | 14.72 ▲0.40 | 1.55 ▲0.05 | 40.61 ▼5.70 |
Dashboard /wp-admin | 2,193 ▲16 | 5.54 ▼0.10 | 91.82 ▼1.90 | 40.59 ▲1.62 |
Posts /wp-admin/edit.php | 2,104 ▲4 | 2.16 ▲0.16 | 38.12 ▼0.40 | 33.78 ▼1.39 |
Add New Post /wp-admin/post-new.php | 1,529 ▲1 | 23.15 ▲0.12 | 691.23 ▲63.76 | 45.75 ▼15.00 |
Media Library /wp-admin/upload.php | 1,407 ▲4 | 4.23 ▲0.06 | 109.64 ▲4.03 | 45.84 ▼0.39 |
Vibe Bp Woo Sync /wp-admin/options-general.php?page=vibe-bp-woo-sync | 912 | 2.02 | 27.04 | 29.72 |
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
The following items require your attention
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_recent-comments
- widget_recent-posts
- theysaidso_admin_options
- db_upgraded
- can_compress_scripts
- widget_theysaidso_widget
Smoke tests 75% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Smoke test failed, please fix the following
- > GET request to /wp-admin/options-general.php?page=vibe-bp-woo-sync
- > Notice in wp-content/plugins/vibe-buddypress-woocommerce/includes/class.settings.php+66
Trying to get property 'profile' of non-object
- > GET request to /wp-admin/options-general.php?page=vibe-bp-woo-sync
- > Notice in wp-content/plugins/vibe-buddypress-woocommerce/includes/class.settings.php+66
Trying to get property 'table_name_fields' of non-object
- > GET request to /wp-admin/options-general.php?page=vibe-bp-woo-sync
- > Notice in wp-content/plugins/vibe-buddypress-woocommerce/includes/class.settings.php+100
Trying to access array offset on value of type bool
SRP Passed 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
Looking good! No server-side errors or output on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 86% from 29 tests
readme.txt 94% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
Attributes that need to be fixed:
- Screenshots: Screenshot #1 (BP WOO Sync Setting.) image missing
vibe-buddypress-woocommerce/loader.php 77% from 13 tests
The main PHP script in "Vibe BuddyPress WooCommerce" version 1.1 is automatically included on every request by WordPress
It is important to fix the following:
- Requires at least: Required version number should use periods and dots only (ex. "7.0" instead of "WP 3.8, BuddyPress 1.9")
- Text Domain: The text domain must be the same as the plugin slug, although optional since WordPress version 4.6
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("vibe-buddypress-woocommerce.php" instead of "loader.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
No dangerous file extensions were detected258 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 55 | 32 | 244 |
JavaScript | 1 | 4 | 0 | 13 |
CSS | 1 | 0 | 0 | 1 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.43 |
Average class complexity | 21.50 |
▷ Minimum class complexity | 16.00 |
▷ Maximum class complexity | 27.00 |
Average method complexity | 4.42 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 18.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 | 12 | |
▷ Static methods | 2 | 16.67% |
▷ Public methods | 11 | 91.67% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 1 | 8.33% |
Functions | 1 | |
▷ Named functions | 1 | 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
All PNG images should be compressed to minimize bandwidth usage for end users
No PNG files were detected