Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.16MB] [CPU: ▲0.94ms] Passed 4 tests
This is a short check of server-side resources used by Bopo - WooCommerce Product Bundle Builder
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.63 ▲0.16 | 42.99 ▲0.94 |
Dashboard /wp-admin | 3.47 ▲0.16 | 45.25 ▲0.95 |
Posts /wp-admin/edit.php | 3.58 ▲0.22 | 48.35 ▲1.52 |
Add New Post /wp-admin/post-new.php | 6.05 ▲0.16 | 91.85 ▲1.06 |
Media Library /wp-admin/upload.php | 3.39 ▲0.16 | 36.43 ▲0.82 |
Server storage [IO: ▲1.76MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
The plugin installed successfully
Filesystem: 62 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
can_compress_scripts |
theysaidso_admin_options |
widget_recent-comments |
widget_recent-posts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
An overview of browser requirements for Bopo - WooCommerce Product Bundle Builder
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,834 ▲88 | 14.47 ▼0.17 | 1.88 ▲0.04 | 47.95 ▲7.77 |
Dashboard /wp-admin | 2,218 ▲30 | 5.84 ▼0.07 | 100.06 ▼4.39 | 40.41 ▼4.38 |
Posts /wp-admin/edit.php | 2,098 ▲9 | 2.05 ▼0.06 | 36.35 ▼5.14 | 34.72 ▼5.20 |
Add New Post /wp-admin/post-new.php | 1,551 ▲15 | 18.30 ▼4.74 | 654.58 ▼35.33 | 65.22 ▲7.19 |
Media Library /wp-admin/upload.php | 1,397 ▲15 | 4.18 ▼0.03 | 95.97 ▼13.70 | 43.00 ▼9.23 |
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
- widget_theysaidso_widget
- widget_recent-posts
- widget_recent-comments
- db_upgraded
- theysaidso_admin_options
- 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
Everything seems fine, however this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Please fix the following
- 2× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Class 'VI_WOO_BOPO_BUNDLE_DATA' not found in wp-content/plugins/bopo-woo-product-bundle-builder/templates/vertical-bundle.php:2
- > PHP Fatal error
Uncaught Error: Class 'VI_WOO_BOPO_BUNDLE_DATA' not found in wp-content/plugins/bopo-woo-product-bundle-builder/templates/horizontal-bundle.php:2
- > PHP Fatal error
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 93% 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
These attributes need to be fixed:
- Tags: Please delete some tags, you are using 13 tag instead of maximum 10
bopo-woo-product-bundle-builder/bopo-woo-product-bundle-builder.php 92% from 13 tests
The primary PHP file in "Bopo - WooCommerce Product Bundle Builder" version 1.1.0 is used by WordPress to initiate all plugin functionality
The following require your attention:
- Text Domain: The text domain must be the same as the plugin slug, although optional since WordPress version 4.6
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 detected12,860 lines of code in 49 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 13 | 614 | 280 | 5,584 |
JavaScript | 12 | 1,235 | 341 | 5,254 |
CSS | 20 | 195 | 150 | 1,139 |
SVG | 3 | 0 | 0 | 627 |
PO File | 1 | 108 | 143 | 256 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.59 |
Average class complexity | 100.20 |
▷ Minimum class complexity | 3.00 |
▷ Maximum class complexity | 497.00 |
Average method complexity | 7.11 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 61.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 | 161 | |
▷ Static methods | 26 | 16.15% |
▷ Public methods | 153 | 95.03% |
▷ Protected methods | 6 | 3.73% |
▷ Private methods | 2 | 1.24% |
Functions | 7 | |
▷ Named functions | 5 | 71.43% |
▷ Anonymous functions | 2 | 28.57% |
Constants | 13 | |
▷ Global constants | 13 | 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
There are no PNG files in this plugin