Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Install script ran successfully
Server metrics [RAM: ▼0.01MB] [CPU: ▼11.97ms] Passed 4 tests
This is a short check of server-side resources used by Free Shipping Bar for WooCommerce
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 37.74 ▼2.41 |
Dashboard /wp-admin | 3.31 ▼0.04 | 43.10 ▼18.11 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 42.92 ▼9.53 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 85.35 ▼15.79 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 36.23 ▼4.45 |
Server storage [IO: ▲1.57MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
No storage issues were detected
Filesystem: 62 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_recent-posts |
db_upgraded |
widget_recent-comments |
theysaidso_admin_options |
wfspb-param |
widget_theysaidso_widget |
can_compress_scripts |
Browser metrics Passed 4 tests
An overview of browser requirements for Free Shipping Bar for WooCommerce
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,843 ▲72 | 13.16 ▼1.22 | 1.89 ▼0.21 | 40.38 ▼3.70 |
Dashboard /wp-admin | 2,206 ▲24 | 4.87 ▼1.03 | 104.47 ▼8.40 | 41.80 ▼5.93 |
Posts /wp-admin/edit.php | 2,089 ▼3 | 1.99 ▼0.07 | 38.37 ▼2.93 | 33.43 ▼9.34 |
Add New Post /wp-admin/post-new.php | 1,534 ▲15 | 23.15 ▼0.04 | 696.90 ▲11.88 | 51.81 ▼6.21 |
Media Library /wp-admin/upload.php | 1,379 ▼9 | 4.15 ▼0.02 | 98.62 ▼76.35 | 44.38 ▼14.86 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The following items require your attention
- Zombie WordPress options were found after uninstall: 7 options
- widget_recent-posts
- can_compress_scripts
- db_upgraded
- widget_recent-comments
- widget_theysaidso_widget
- wfspb-param
- theysaidso_admin_options
Smoke tests Passed 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 Passed 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
Looking good! No server-side errors or output on direct access of PHP files
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 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
Attributes that need to be fixed:
- Tags: There are too many tags (11 tag instead of maximum 10)
woo-free-shipping-bar/woo-free-shipping-bar.php Passed 13 tests
"Free Shipping Bar for WooCommerce" version 1.2.0's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
89 characters long description:
Display the total amounts of customer to reach minimum order amount Free Shipping system.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
No dangerous file extensions were detected10,647 lines of code in 39 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 14 | 445 | 251 | 6,803 |
PHP | 5 | 317 | 274 | 2,431 |
SVG | 2 | 0 | 3 | 604 |
CSS | 17 | 99 | 99 | 594 |
PO File | 1 | 86 | 112 | 215 |
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.42 |
Average class complexity | 51.17 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 108.00 |
Average method complexity | 5.85 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 39.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 6 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 6 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 62 | |
▷ Static methods | 2 | 3.23% |
▷ Public methods | 58 | 93.55% |
▷ Protected methods | 2 | 3.23% |
▷ Private methods | 2 | 3.23% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 6 | |
▷ Global constants | 6 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
8 PNG files occupy 0.03MB with 0.01MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/icon-cancel.png | 0.59KB | 0.52KB | ▼ 12.27% |
assets/images/position-top.png | 1.63KB | 0.98KB | ▼ 39.89% |
assets/images/progress-style2.png | 6.57KB | 2.32KB | ▼ 64.75% |
assets/images/free-delivery.png | 6.58KB | 3.02KB | ▼ 54.07% |
assets/images/progress-style1.png | 6.12KB | 2.00KB | ▼ 67.32% |