Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.01MB] [CPU: ▼6.83ms] Passed 4 tests
Server-side resources used by LavBoost Lite - All in One Woocommerce Related Products
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.02 | 37.29 ▼3.39 |
Dashboard /wp-admin | 3.33 ▼0.02 | 46.94 ▼21.31 |
Posts /wp-admin/edit.php | 3.38 ▲0.02 | 51.55 ▲4.39 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.02 | 87.95 ▼2.24 |
Media Library /wp-admin/upload.php | 3.26 ▲0.02 | 35.14 ▼0.39 |
Server storage [IO: ▲3.89MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin was installed successfully
Filesystem: 307 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
can_compress_scripts |
widget_recent-posts |
db_upgraded |
theysaidso_admin_options |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
This is an overview of browser requirements for LavBoost Lite - All in One Woocommerce Related Products
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,814 ▲68 | 14.44 ▲0.04 | 1.73 ▲0.11 | 40.51 ▼1.26 |
Dashboard /wp-admin | 2,223 ▲35 | 4.85 ▼1.03 | 108.03 ▼10.70 | 43.27 ▲0.04 |
Posts /wp-admin/edit.php | 2,102 ▲13 | 2.04 ▲0.01 | 40.79 ▲4.99 | 36.91 ▲5.12 |
Add New Post /wp-admin/post-new.php | 1,542 ▲28 | 23.33 ▲5.53 | 676.24 ▲28.58 | 50.20 ▼7.90 |
Media Library /wp-admin/upload.php | 1,402 ▲11 | 4.23 ▲0.03 | 94.55 ▼4.84 | 42.13 ▼0.66 |
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
The following items require your attention
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_theysaidso_widget
- widget_recent-posts
- can_compress_scripts
- widget_recent-comments
- db_upgraded
- theysaidso_admin_options
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Good news, no errors were detected
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
The following issues need your attention
- 2× PHP files output text when accessed directly:
- > /wp-content/plugins/up-sell-pro/admin/partials/lav-boost-admin-display.php
- > /wp-content/plugins/up-sell-pro/public/partials/lav-boost-public-display.php
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser issues were found
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
5 plugin tags: donation, upsell, woocommerce, boost sales, order bump
up-sell-pro/up-sell-pro.php 92% from 13 tests
The main PHP file in "LavBoost Lite - All in One Woocommerce Related Products" ver. 2.0.1 adds more information about the plugin and also serves as the entry point for this plugin
The following require your attention:
- Description: The description should be shorter than 140 characters (currently 145 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
Success! There were no dangerous files found in this plugin48,311 lines of code in 224 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 128 | 3,764 | 1,676 | 15,367 |
CSS | 9 | 927 | 619 | 10,100 |
JavaScript | 13 | 1,496 | 779 | 8,194 |
Sass | 44 | 1,252 | 21 | 8,025 |
PO File | 20 | 3,198 | 3,591 | 6,500 |
Markdown | 1 | 29 | 0 | 69 |
SVG | 8 | 0 | 2 | 51 |
JSON | 1 | 0 | 0 | 5 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.60 |
Average class complexity | 22.90 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 151.00 |
Average method complexity | 5.35 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 57.00 |
Code structure | ||
---|---|---|
Namespaces | 7 | |
Interfaces | 2 | |
Traits | 1 | |
Classes | 101 | |
▷ Abstract classes | 4 | 3.96% |
▷ Concrete classes | 97 | 96.04% |
▷ Final classes | 0 | 0.00% |
Methods | 529 | |
▷ Static methods | 64 | 12.10% |
▷ Public methods | 517 | 97.73% |
▷ Protected methods | 3 | 0.57% |
▷ Private methods | 9 | 1.70% |
Functions | 30 | |
▷ Named functions | 27 | 90.00% |
▷ Anonymous functions | 3 | 10.00% |
Constants | 8 | |
▷ Global constants | 8 | 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
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 |
libs/codestar-framework/assets/images/checkerboard.png | 2.29KB | 2.54KB | 0.00% |
public/img/checklist.png | 4.05KB | 0.69KB | ▼ 82.96% |