Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Installer ran successfully
Server metrics [RAM: ▲0.14MB] [CPU: ▼12.97ms] Passed 4 tests
A check of server-side resources used by Store Booster Lite
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.63 ▲0.16 | 39.87 ▼4.71 |
Dashboard /wp-admin | 3.45 ▲0.11 | 51.81 ▼24.52 |
Posts /wp-admin/edit.php | 3.56 ▲0.21 | 52.83 ▼5.17 |
Add New Post /wp-admin/post-new.php | 6.03 ▲0.15 | 87.90 ▼17.48 |
Media Library /wp-admin/upload.php | 3.37 ▲0.14 | 41.34 ▲4.69 |
Server storage [IO: ▲0.15MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 30 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-comments |
widget_theysaidso_widget |
widget_recent-posts |
can_compress_scripts |
db_upgraded |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Store Booster Lite
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,920 ▲174 | 13.58 ▼0.73 | 6.54 ▲4.85 | 39.06 ▼1.67 |
Dashboard /wp-admin | 2,202 ▲14 | 4.92 ▼0.98 | 108.64 ▼7.77 | 77.61 ▲36.10 |
Posts /wp-admin/edit.php | 2,100 ▲8 | 2.01 ▼0.01 | 39.41 ▼1.47 | 34.41 ▼3.24 |
Add New Post /wp-admin/post-new.php | 1,678 ▲159 | 22.23 ▼1.03 | 799.60 ▲118.04 | 55.07 ▲4.34 |
Media Library /wp-admin/upload.php | 1,393 ▲14 | 4.23 ▲0.03 | 104.11 ▲4.51 | 70.21 ▲23.35 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 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_recent-posts
- widget_theysaidso_widget
- 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 smoke test targeting server-side errors
Even though no errors were found, this is by no means an exhaustive test
SRP 50% 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
The following issues need your attention
- 11× GET requests to PHP files trigger server-side errors or Error 500 responses (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/store-booster-lite/admin/settings-search.php:8
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/store-booster-lite/admin/sb-functions/single-product.php:8
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_print_styles() in wp-content/plugins/store-booster-lite/admin/logins/login-form.php:8
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_print_styles() in wp-content/plugins/store-booster-lite/admin/search/search-form.php:7
- > PHP Fatal error
Uncaught Error: Class 'Store_Booster_Lite_Settings' not found in wp-content/plugins/store-booster-lite/admin/counters/product-counter-functions.php:40
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/store-booster-lite/admin/settings-login-signup.php:8
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/store-booster-lite/admin/logins/login-hooks.php:12
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/store-booster-lite/admin/settings-counters.php:8
- > PHP Fatal error
Uncaught Error: Call to undefined function is_admin() in wp-content/plugins/store-booster-lite/admin/search/embed-menu.php:15
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/store-booster-lite/admin/sb-functions/quick-view.php:8
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
There were no browser issues found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
7 plugin tags: addon, sales count, store, woocommerce, ecommerce...
store-booster-lite/store-booster-lite.php 85% from 13 tests
The entry point to "Store Booster Lite" version 1.0.0 is a PHP file that has certain tags in its header comment area
Please take the time to fix the following:
- Domain Path: The domain path points to an invalid folder, "/languages" does not exist
- Description: The description should be shorter than 140 characters (currently 290 characters long)
Code Analysis Passed 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
Success! There were no dangerous files found in this plugin2,355 lines of code in 24 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 15 | 484 | 197 | 1,200 |
CSS | 5 | 66 | 39 | 939 |
JavaScript | 4 | 85 | 18 | 216 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.25 |
Average class complexity | 8.60 |
▷ Minimum class complexity | 4.00 |
▷ Maximum class complexity | 16.00 |
Average method complexity | 2.19 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 9.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 5 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 5 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 32 | |
▷ Static methods | 5 | 15.62% |
▷ Public methods | 31 | 96.88% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 1 | 3.12% |
Functions | 12 | |
▷ Named functions | 11 | 91.67% |
▷ Anonymous functions | 1 | 8.33% |
Constants | 8 | |
▷ Global constants | 6 | 75.00% |
▷ Class constants | 2 | 25.00% |
▷ Public constants | 2 | 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
2 PNG files occupy 0.01MB with 0.00MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
admin/assets/img/boost.png | 3.25KB | 0.82KB | ▼ 74.65% |
admin/assets/img/bl-boost.png | 3.34KB | 0.82KB | ▼ 75.35% |