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
Install script ran successfully
Server metrics [RAM: ▲0.00MB] [CPU: ▼6.09ms] Passed 4 tests
Analyzing server-side resources used by BuddyPress xProfile Checkout Manager for WooCommerce
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.01 | 41.12 ▼4.54 |
Dashboard /wp-admin | 3.31 ▲0.01 | 48.23 ▼6.38 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 46.28 ▼0.92 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 83.31 ▼11.17 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 33.19 ▼2.26 |
Server storage [IO: ▲0.21MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
No storage issues were detected
Filesystem: 21 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
can_compress_scripts |
db_upgraded |
widget_recent-comments |
theysaidso_admin_options |
widget_recent-posts |
Browser metrics Passed 4 tests
An overview of browser requirements for BuddyPress xProfile Checkout Manager for WooCommerce
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲65 | 13.16 ▼1.01 | 1.70 ▼0.05 | 44.32 ▼9.18 |
Dashboard /wp-admin | 2,206 ▲15 | 4.85 ▼0.01 | 113.22 ▼8.81 | 43.90 ▼2.76 |
Posts /wp-admin/edit.php | 2,089 ▲3 | 2.02 ▲0.01 | 34.47 ▼2.43 | 31.96 ▼5.51 |
Add New Post /wp-admin/post-new.php | 1,534 ▲20 | 23.25 ▲5.66 | 657.30 ▼41.09 | 58.48 ▲7.51 |
Media Library /wp-admin/upload.php | 1,391 ▲3 | 4.23 ▼0.05 | 99.82 ▼5.76 | 42.41 ▼3.30 |
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
- Zombie WordPress options were found after uninstall: 6 options
- theysaidso_admin_options
- widget_theysaidso_widget
- can_compress_scripts
- db_upgraded
- widget_recent-comments
- widget_recent-posts
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
The smoke test was a success, however most plugin functionality was not tested
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 | A shallow check that no browser errors were triggered
No browser errors were detected
Optimizations
Plugin configuration 83% from 29 tests
readme.txt 94% from 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
Attributes that need to be fixed:
- Requires at least: Version not formatted correctly
woocommerce-buddypress-integration-xprofile-checkout-manager/loader.php 69% from 13 tests
This is the main PHP file of "BuddyPress xProfile Checkout Manager for WooCommerce" version 1.3.11, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
Please make the necessary changes and fix the following:
- Domain Path: The domain path folder does not exist ("/languages")
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 161 characters long)
- Text Domain: The text domain follows the same naming rules as the plugin slug: lowercase characters and dashes
- Main file name: It is recommended to name the main PHP file as the plugin slug ("woocommerce-buddypress-integration-xprofile-checkout-manager.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
Good job! No executable or dangerous file extensions detected3,154 lines of code in 14 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 9 | 782 | 1,805 | 2,915 |
CSS | 2 | 20 | 1 | 116 |
JavaScript | 2 | 23 | 5 | 94 |
JSON | 1 | 0 | 0 | 29 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.56 |
Average class complexity | 36.60 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 206.00 |
Average method complexity | 3.94 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 34.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 10 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 10 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 121 | |
▷ Static methods | 12 | 9.92% |
▷ Public methods | 97 | 80.17% |
▷ Protected methods | 23 | 19.01% |
▷ Private methods | 1 | 0.83% |
Functions | 33 | |
▷ Named functions | 32 | 96.97% |
▷ Anonymous functions | 1 | 3.03% |
Constants | 4 | |
▷ Global constants | 1 | 25.00% |
▷ Class constants | 3 | 75.00% |
▷ Public constants | 3 | 100.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
PNG images were not found in this plugin