Benchmarks
Plugin footprint 82% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.01MB] [CPU: ▼5.87ms] Passed 4 tests
An overview of server-side resources used by Booster for WooCommerce
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 42.18 ▲2.00 |
Dashboard /wp-admin | 3.32 ▼0.02 | 43.35 ▼14.67 |
Posts /wp-admin/edit.php | 3.37 ▲0.02 | 46.68 ▲3.39 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.02 | 84.00 ▼11.05 |
Media Library /wp-admin/upload.php | 3.24 ▲0.02 | 36.03 ▲0.23 |
Server storage [IO: ▲34.21MB] [DB: ▲0.00MB] 67% from 3 tests
Filesystem and database footprint
Please fix the following
- Try to limit filesystem usage to 25MB (currently using 34.21MB)
Filesystem: 1,022 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-comments |
widget_recent-posts |
db_upgraded |
can_compress_scripts |
theysaidso_admin_options |
Browser metrics Passed 4 tests
An overview of browser requirements for Booster for WooCommerce
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,789 ▲28 | 14.28 ▼0.09 | 1.62 ▲0.01 | 46.15 ▲2.48 |
Dashboard /wp-admin | 2,198 ▲21 | 5.64 ▲0.02 | 93.10 ▲6.06 | 38.90 ▼2.22 |
Posts /wp-admin/edit.php | 2,097 ▼0 | 2.00 ▼0.01 | 40.09 ▲7.07 | 35.51 ▼1.16 |
Add New Post /wp-admin/post-new.php | 1,526 ▼0 | 23.37 ▼0.30 | 665.95 ▼16.31 | 56.67 ▼8.69 |
Media Library /wp-admin/upload.php | 1,400 ▼0 | 4.13 ▼0.11 | 109.49 ▲11.92 | 46.34 ▲1.06 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
It is recommended to fix the following
- Zombie WordPress options detected upon uninstall: 6 options
- can_compress_scripts
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-posts
- db_upgraded
- widget_recent-comments
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though everything seems fine, this is not an exhaustive test
SRP 0% 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
Please fix the following items
- 3× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/woocommerce-jetpack/includes/emails/email-html.php
- > /wp-content/plugins/woocommerce-jetpack/includes/emails/email-plain.php
- > /wp-content/plugins/woocommerce-jetpack/includes/lib/tcpdf/tools/tcpdf_addfont.php
- 42× GET requests to PHP files have triggered server-side errors or warnings (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html_e() in wp-content/plugins/woocommerce-jetpack/includes/admin/wcj-welcome-screen-content.php:19
- > PHP Fatal error
Uncaught Error: Class 'setasign\\Fpdi\\PdfParser\\Filter\\FilterException' not found in wp-content/plugins/woocommerce-jetpack/includes/lib/FPDI/src/PdfParser/Filter/LzwException.php:17
- > PHP Fatal error
Uncaught Error: Class 'setasign\\Fpdi\\PdfParser\\Type\\PdfType' not found in wp-content/plugins/woocommerce-jetpack/includes/lib/FPDI/src/PdfParser/Type/PdfNull.php:17
- > PHP Fatal error
Uncaught Error: Class 'tFPDF' not found in wp-content/plugins/woocommerce-jetpack/includes/lib/FPDI/src/Tfpdf/FpdfTpl.php:21
- > PHP Fatal error
Uncaught Error: Class 'setasign\\Fpdi\\PdfParser\\Type\\PdfType' not found in wp-content/plugins/woocommerce-jetpack/includes/lib/FPDI/src/PdfParser/Type/PdfName.php:20
- > PHP Fatal error
Uncaught Error: Class 'setasign\\Fpdi\\PdfParser\\Type\\PdfType' not found in wp-content/plugins/woocommerce-jetpack/includes/lib/FPDI/src/PdfParser/Type/PdfArray.php:21
- > PHP Fatal error
Uncaught Error: Class 'TCPDF' not found in wp-content/plugins/woocommerce-jetpack/includes/lib/FPDI/src/Tcpdf/Fpdi.php:25
- > PHP Fatal error
Uncaught Error: Class 'setasign\\Fpdi\\PdfParser\\Type\\PdfType' not found in wp-content/plugins/woocommerce-jetpack/includes/lib/FPDI/src/PdfParser/Type/PdfString.php:19
- > PHP Fatal error
Uncaught Error: Class 'setasign\\Fpdi\\PdfParser\\Type\\PdfType' not found in wp-content/plugins/woocommerce-jetpack/includes/lib/FPDI/src/PdfParser/Type/PdfBoolean.php:17
- > PHP Fatal error
Uncaught Error: Class 'setasign\\Fpdi\\PdfParser\\PdfParserException' not found in wp-content/plugins/woocommerce-jetpack/includes/lib/FPDI/src/PdfParser/Type/PdfTypeException.php:19
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 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
5 plugin tags: woocommerce integration, woocommerce customization, woocommerce bundle, ecommerce plugin, woocommerce product addon
woocommerce-jetpack/woocommerce-jetpack.php Passed 13 tests
The main PHP script in "Booster for WooCommerce" version 7.1.3 is automatically included on every request by WordPress
124 characters long description:
Supercharge your WooCommerce site with these awesome powerful features. More than 100 modules.All in one WooCommerce plugin.
Code Analysis 95% from 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
Everything looks great! No dangerous files found in this plugin352,318 lines of code in 601 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
SVG | 10 | 0 | 0 | 225,295 |
PHP | 475 | 7,719 | 35,086 | 120,241 |
CSS | 12 | 124 | 117 | 2,880 |
JavaScript | 91 | 149 | 356 | 1,243 |
PO File | 1 | 534 | 0 | 1,120 |
HTML | 6 | 9 | 0 | 695 |
XML | 1 | 0 | 0 | 542 |
Markdown | 2 | 54 | 0 | 198 |
JSON | 3 | 0 | 0 | 104 |
PHP code 0% from 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
These items need your attention
- Please reduce cyclomatic complexity of classes to less than 1000 (currently 4,379)
- Cyclomatic complexity of methods should be reduced to less than 100 (currently 502)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.52 |
Average class complexity | 57.59 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 4,379.00 |
Average method complexity | 6.57 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 502.00 |
Code structure | ||
---|---|---|
Namespaces | 11 | |
Interfaces | 4 | |
Traits | 2 | |
Classes | 260 | |
▷ Abstract classes | 6 | 2.31% |
▷ Concrete classes | 254 | 97.69% |
▷ Final classes | 1 | 0.39% |
Methods | 2,722 | |
▷ Static methods | 150 | 5.51% |
▷ Public methods | 2,382 | 87.51% |
▷ Protected methods | 321 | 11.79% |
▷ Private methods | 19 | 0.70% |
Functions | 281 | |
▷ Named functions | 236 | 83.99% |
▷ Anonymous functions | 45 | 16.01% |
Constants | 189 | |
▷ Global constants | 150 | 79.37% |
▷ Class constants | 39 | 20.63% |
▷ Public constants | 39 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
357 compressed PNG files occupy 0.86MB
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/flag-icons/pe.png | 0.39KB | 0.52KB | 0.00% |
assets/images/flag-icons/kg.png | 0.50KB | 0.64KB | 0.00% |
assets/images/side-menu-icn1-act.png | 0.36KB | 0.23KB | ▼ 35.60% |
assets/images/share.png | 0.40KB | 0.29KB | ▼ 26.11% |
assets/images/flag-icons/eg.png | 0.45KB | 0.61KB | 0.00% |