Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.03MB] [CPU: ▼3.58ms] Passed 4 tests
This is a short check of server-side resources used by WPC Product Bundles for WooCommerce
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 36.91 ▼6.64 |
Dashboard /wp-admin | 3.32 ▲0.02 | 45.75 ▼5.44 |
Posts /wp-admin/edit.php | 3.44 ▲0.08 | 51.99 ▲2.61 |
Add New Post /wp-admin/post-new.php | 5.93 ▲0.04 | 89.57 ▼2.64 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 35.59 ▲0.41 |
Essential Kit /wp-admin/admin.php?page=wpclever-kit | 3.21 | 32.55 |
About /wp-admin/admin.php?page=wpclever | 3.21 | 31.23 |
Server storage [IO: ▲1.01MB] [DB: ▲0.02MB] Passed 3 tests
Filesystem and database footprint
There were no storage issued detected upon installing this plugin
Filesystem: 53 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-comments |
db_upgraded |
widget_recent-posts |
theysaidso_admin_options |
can_compress_scripts |
Browser metrics Passed 4 tests
WPC Product Bundles for WooCommerce: an overview of browser usage
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,892 ▲130 | 14.71 ▼0.01 | 1.97 ▲0.34 | 36.79 ▼7.38 |
Dashboard /wp-admin | 2,272 ▲95 | 5.60 ▲0.07 | 97.61 ▲0.95 | 96.77 ▲50.81 |
Posts /wp-admin/edit.php | 2,181 ▲81 | 2.00 ▼0.01 | 39.16 ▼1.35 | 39.56 ▲3.56 |
Add New Post /wp-admin/post-new.php | 1,597 ▲71 | 22.79 ▼0.35 | 667.51 ▼0.72 | 69.13 ▲7.76 |
Media Library /wp-admin/upload.php | 1,471 ▲71 | 4.19 ▼0.02 | 103.55 ▲7.39 | 77.15 ▲36.14 |
Essential Kit /wp-admin/admin.php?page=wpclever-kit | 5,741 | 2.13 | 34.95 | 63.15 |
About /wp-admin/admin.php?page=wpclever | 1,400 | 2.23 | 33.49 | 34.54 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.02MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
The following items require your attention
- Zombie WordPress options were found after uninstall: 6 options
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-comments
- widget_recent-posts
- theysaidso_admin_options
- db_upgraded
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Even though everything seems fine, this is not 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
No output text or server-side errors detected on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
Attributes that require attention:
- Screenshots: These screenshots lack descriptions #1, #2, #3, #4 in woo-product-bundle/assets to your readme.txt
woo-product-bundle/wpc-product-bundles.php 92% from 13 tests
"WPC Product Bundles for WooCommerce" version 7.3.3's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
You should first fix the following items:
- Main file name: Name the main plugin file the same as the plugin slug ("woo-product-bundle.php" instead of "wpc-product-bundles.php")
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
No dangerous file extensions were detected11,991 lines of code in 34 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PO File | 15 | 2,270 | 2,745 | 5,441 |
PHP | 9 | 735 | 155 | 3,831 |
CSS | 5 | 354 | 150 | 1,682 |
JavaScript | 4 | 209 | 65 | 1,008 |
SVG | 1 | 0 | 0 | 29 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.51 |
Average class complexity | 114.71 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 578.00 |
Average method complexity | 6.41 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 79.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 7 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 7 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 147 | |
▷ Static methods | 13 | 8.84% |
▷ Public methods | 147 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 5 | |
▷ Named functions | 4 | 80.00% |
▷ Anonymous functions | 1 | 20.00% |
Constants | 11 | |
▷ Global constants | 11 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
No PNG images were found in this plugin