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
Installer ran successfully
Server metrics [RAM: ▲0.00MB] [CPU: ▼5.33ms] Passed 4 tests
An overview of server-side resources used by Product Bundle Builder for WooCommerce
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 37.65 ▼7.78 |
Dashboard /wp-admin | 3.31 ▲0.00 | 45.15 ▼6.90 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 47.95 ▲1.48 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 88.33 ▼8.13 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 34.31 ▲2.40 |
Server storage [IO: ▲1.17MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin was installed successfully
Filesystem: 106 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
can_compress_scripts |
db_upgraded |
theysaidso_admin_options |
widget_recent-comments |
widget_recent-posts |
Browser metrics Passed 4 tests
Checking browser requirements for Product Bundle Builder for WooCommerce
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,790 ▲3 | 14.60 ▲0.26 | 1.57 ▼0.44 | 35.89 ▼8.14 |
Dashboard /wp-admin | 2,195 ▲15 | 5.64 ▼0.03 | 95.34 ▼0.96 | 41.66 ▼4.24 |
Posts /wp-admin/edit.php | 2,103 ▼0 | 1.96 ▼0.07 | 41.32 ▲2.32 | 36.30 ▼1.03 |
Add New Post /wp-admin/post-new.php | 1,526 ▼0 | 23.51 ▲0.04 | 679.35 ▲23.20 | 58.68 ▲4.29 |
Media Library /wp-admin/upload.php | 1,397 ▼0 | 4.28 ▲0.10 | 95.11 ▼8.74 | 41.68 ▼1.78 |
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
Please fix the following items
- The uninstall procedure has failed, leaving 6 options in the database
- db_upgraded
- widget_recent-posts
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-comments
- can_compress_scripts
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
Even though no errors were found, this is by no means an exhaustive test
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
- 2× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Class 'AsanaPlugins\\WooCommerce\\ProductBundles\\Registry\\AbstractDependencyType' not found in wp-content/plugins/easy-product-bundles-for-woocommerce/src/Registry/SharedType.php:15
- > PHP Fatal error
Uncaught Error: Class 'AsanaPlugins\\WooCommerce\\ProductBundles\\Registry\\AbstractDependencyType' not found in wp-content/plugins/easy-product-bundles-for-woocommerce/src/Registry/FactoryType.php:15
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser issues were found
Optimizations
Plugin configuration 86% 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
Please fix the following attributes:
- Tags: There are too many tags (15 tag instead of maximum 10)
easy-product-bundles-for-woocommerce/easy-product-bundles.php 77% from 13 tests
The main PHP file in "Product Bundle Builder for WooCommerce" ver. 3.8.0 adds more information about the plugin and also serves as the entry point for this plugin
It is important to fix the following:
- 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
- Requires at least: Required version does not match the one declared in readme.txt ("5.0" instead of "3.0")
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("easy-product-bundles-for-woocommerce.php" instead of "easy-product-bundles.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
Everything looks great! No dangerous files found in this plugin8,896 lines of code in 102 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JSON | 46 | 7 | 0 | 4,612 |
PHP | 38 | 957 | 861 | 4,259 |
CSS | 6 | 0 | 1 | 13 |
JavaScript | 11 | 0 | 24 | 11 |
SVG | 1 | 0 | 0 | 1 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.73 |
Average class complexity | 28.45 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 326.00 |
Average method complexity | 4.95 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 45.00 |
Code structure | ||
---|---|---|
Namespaces | 10 | |
Interfaces | 1 | |
Traits | 0 | |
Classes | 28 | |
▷ Abstract classes | 2 | 7.14% |
▷ Concrete classes | 26 | 92.86% |
▷ Final classes | 1 | 3.85% |
Methods | 207 | |
▷ Static methods | 10 | 4.83% |
▷ Public methods | 173 | 83.57% |
▷ Protected methods | 32 | 15.46% |
▷ Private methods | 2 | 0.97% |
Functions | 53 | |
▷ Named functions | 40 | 75.47% |
▷ Anonymous functions | 13 | 24.53% |
Constants | 9 | |
▷ Global constants | 6 | 66.67% |
▷ Class constants | 3 | 33.33% |
▷ Public constants | 3 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
1 compressed PNG file occupies 0.00MB
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/menu-icon.png | 1.12KB | 1.19KB | 0.00% |