Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.01MB] [CPU: ▼3.34ms] Passed 4 tests
Server-side resources used by StoreGrowth - Sales Booster For WooCommerce | Live Sales Notifications, Upsell Bump, Quick Cart, Direct Checkout, Stock Countdown and more
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.01 | 36.47 ▼8.17 |
Dashboard /wp-admin | 3.32 ▲0.01 | 48.02 ▼2.17 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 48.99 ▲0.84 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.01 | 88.86 ▼2.65 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 34.86 ▼0.37 |
Server storage [IO: ▲18.37MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin was installed successfully
Filesystem: 731 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-comments |
can_compress_scripts |
db_upgraded |
widget_recent-posts |
Browser metrics Passed 4 tests
StoreGrowth - Sales Booster For WooCommerce | Live Sales Notifications, Upsell Bump, Quick Cart, Direct Checkout, Stock Countdown and more: an overview of browser usage
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,797 ▲35 | 14.34 ▼0.40 | 1.69 ▼0.06 | 39.51 ▼5.96 |
Dashboard /wp-admin | 2,202 ▲22 | 5.58 ▼0.09 | 98.17 ▲13.43 | 42.16 ▼0.99 |
Posts /wp-admin/edit.php | 2,107 ▲4 | 1.95 ▼0.07 | 39.80 ▼0.18 | 36.39 ▼1.68 |
Add New Post /wp-admin/post-new.php | 1,533 ▲7 | 23.22 ▲0.04 | 618.78 ▲16.72 | 60.71 ▲9.82 |
Media Library /wp-admin/upload.php | 1,407 ▲7 | 4.23 ▲0.03 | 93.15 ▼1.87 | 43.21 ▲2.39 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
Please fix the following items
- The uninstall procedure has failed, leaving 6 options in the database
- widget_recent-posts
- db_upgraded
- can_compress_scripts
- widget_recent-comments
- theysaidso_admin_options
- widget_theysaidso_widget
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though no errors were found, this is by no means an exhaustive test
SRP 0% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Please take a closer look at the following
- 1× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/storegrowth-sales-booster/includes/modules/sales-pop/templates/product-selection.php
- 53× GET requests to PHP files trigger server-side errors or Error 500 responses (only 10 are shown):
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/storegrowth-sales-booster/includes/modules/sales-pop/templates/popup-style.php on line 37
- > PHP Fatal error
Uncaught Error: Call to a member function get_ID() on null in wp-content/plugins/storegrowth-sales-booster/includes/modules/direct-checkout/templates/add-cart-with-buy-now.php:9
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/storegrowth-sales-booster/includes/modules/sales-pop/templates/popup-style.php on line 13
- > PHP Notice
Undefined variable: product in wp-content/plugins/storegrowth-sales-booster/includes/modules/stock-bar/templates/simple-stock-status.php on line 8
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/storegrowth-sales-booster/includes/modules/sales-pop/templates/popup-style.php on line 24
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_attr() in wp-content/plugins/storegrowth-sales-booster/includes/modules/upsell-order-bump/templates/bump-product-front-view.php:10
- > PHP Notice
Undefined variable: popup_properties in wp-content/plugins/storegrowth-sales-booster/includes/modules/sales-pop/templates/popup-style.php on line 18
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/storegrowth-sales-booster/includes/modules/sales-pop/templates/popup-style.php on line 25
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/storegrowth-sales-booster/includes/modules/sales-pop/templates/popup-style.php on line 30
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/storegrowth-sales-booster/includes/modules/sales-pop/templates/popup-style.php on line 38
- > PHP Notice
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser errors were detected
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
These attributes need to be fixed:
- Screenshots: Add descriptions for screenshots #1, #10, #2, #3, #4, #5, #6, #7, #8, #9 in storegrowth-sales-booster/assets to your readme.txt
storegrowth-sales-booster/storegrowth-sales-booster.php Passed 13 tests
The main file in "StoreGrowth - Sales Booster For WooCommerce | Live Sales Notifications, Upsell Bump, Quick Cart, Direct Checkout, Stock Countdown and more" v. 1.0.1 serves as a complement to information provided in readme.txt and as the entry point to the plugin
95 characters long description:
The ultimate plugin for WooCommerce store to enhance customer experience and maximize revenue.
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 detected26,040 lines of code in 363 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 184 | 1,281 | 423 | 14,136 |
PHP | 79 | 1,041 | 2,231 | 4,670 |
Sass | 2 | 796 | 75 | 3,212 |
SVG | 76 | 2 | 7 | 2,120 |
CSS | 21 | 331 | 85 | 1,878 |
XML | 1 | 9 | 4 | 24 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.31 |
Average class complexity | 9.40 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 116.00 |
Average method complexity | 2.36 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 31.00 |
Code structure | ||
---|---|---|
Namespaces | 15 | |
Interfaces | 1 | |
Traits | 1 | |
Classes | 40 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 40 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 269 | |
▷ Static methods | 2 | 0.74% |
▷ Public methods | 205 | 76.21% |
▷ Protected methods | 4 | 1.49% |
▷ Private methods | 60 | 22.30% |
Functions | 25 | |
▷ Named functions | 24 | 96.00% |
▷ Anonymous functions | 1 | 4.00% |
Constants | 11 | |
▷ Global constants | 9 | 81.82% |
▷ Class constants | 2 | 18.18% |
▷ Public constants | 2 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
10 PNG files occupy 0.15MB with 0.03MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
includes/modules/countdown-timer/assets/images/sales-countdown-meta.png | 34.55KB | 34.61KB | 0.00% |
includes/modules/stock-bar/assets/build/images/stock-bar-instruction.a0c4b12b.png | 21.68KB | 23.79KB | 0.00% |
includes/modules/sales-pop/assets/images/sale_product.png | 1.22KB | 0.73KB | ▼ 40.21% |
includes/modules/fly-cart/assets/images/trash-active.png | 1.12KB | 0.37KB | ▼ 66.87% |
includes/modules/countdown-timer/assets/build/images/sales-countdown-meta.30b3f82b.png | 34.55KB | 34.61KB | 0.00% |