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: ▼4.62ms] Passed 4 tests
A check of server-side resources used by Free shipping bar WooCommerce, message, popup and alert or Free shipping progress bar
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 35.17 ▼7.80 |
Dashboard /wp-admin | 3.32 ▲0.02 | 46.12 ▼4.01 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 47.70 ▲0.25 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.01 | 91.43 ▼6.47 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 32.29 ▼0.18 |
Server storage [IO: ▲2.48MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin was installed successfully
Filesystem: 56 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
theysaidso_admin_options |
widget_recent-comments |
can_compress_scripts |
widget_theysaidso_widget |
db_upgraded |
Browser metrics Passed 4 tests
A check of browser resources used by Free shipping bar WooCommerce, message, popup and alert or Free shipping progress bar
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,796 ▲60 | 14.34 ▲0.00 | 1.65 ▼0.03 | 37.04 ▼6.79 |
Dashboard /wp-admin | 2,201 ▲29 | 5.66 ▼0.01 | 97.20 ▼30.70 | 43.74 ▼0.59 |
Posts /wp-admin/edit.php | 2,107 ▲25 | 1.94 ▼0.04 | 41.01 ▲4.89 | 38.48 ▲2.03 |
Add New Post /wp-admin/post-new.php | 1,532 ▲6 | 22.91 ▼0.23 | 648.40 ▼27.40 | 61.20 ▼0.34 |
Media Library /wp-admin/upload.php | 1,403 ▼0 | 4.16 ▼0.02 | 97.31 ▲0.88 | 43.72 ▲2.69 |
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
Please fix the following items
- This plugin did not uninstall successfully, leaving 6 options in the database
- db_upgraded
- can_compress_scripts
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-comments
- widget_recent-posts
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though everything seems fine, this is not 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× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/free-shipping-notification-woocommerce/includes/pisol.class.form.php
- 6× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/free-shipping-notification-woocommerce/admin/class-pisol-fsnw-cart-checkout.php:103
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/free-shipping-notification-woocommerce/includes/compatible-plugin-message.php:21
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/free-shipping-notification-woocommerce/includes/includes.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/free-shipping-notification-woocommerce/public/class-cart-checkout-progress.php:5
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_url() in wp-content/plugins/free-shipping-notification-woocommerce/includes/banner-sample.php:63
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/free-shipping-notification-woocommerce/includes/conflict-fixer.php:5
- > PHP Fatal error
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 83% from 29 tests
readme.txt 81% from 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
Attributes that require attention:
- Donate link: Invalid URI found ("piwebsolution.com")
- Tags: Too many tags (13 tag instead of maximum 10); only the first 5 tags are used in your directory listing
- Screenshots: These screenshots need descriptions #1, #10, #11, #12, #13, #14, #15, #16, #2, #3, #4, #6, #7, #9 in free-shipping-notification-woocommerce/assets to your readme.txt
free-shipping-notification-woocommerce/pisol-fsnw.php 85% from 13 tests
The main PHP script in "Free shipping bar WooCommerce, message, popup and alert or Free shipping progress bar" version 2.1.67 is automatically included on every request by WordPress
Please take the time to fix the following:
- Text Domain: The text domain must be the same as the plugin slug, although optional since WordPress version 4.6
- Main file name: The principal plugin file should be the same as the plugin slug ("free-shipping-notification-woocommerce.php" instead of "pisol-fsnw.php")
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 detected15,978 lines of code in 41 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 3 | 2,053 | 20 | 9,443 |
SVG | 7 | 236 | 6 | 4,215 |
PHP | 27 | 667 | 268 | 2,143 |
JavaScript | 4 | 38 | 48 | 177 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.38 |
Average class complexity | 14.95 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 66.00 |
Average method complexity | 3.06 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 20.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 21 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 21 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 142 | |
▷ Static methods | 8 | 5.63% |
▷ Public methods | 134 | 94.37% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 8 | 5.63% |
Functions | 8 | |
▷ Named functions | 7 | 87.50% |
▷ Anonymous functions | 1 | 12.50% |
Constants | 4 | |
▷ Global constants | 4 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
5 PNG files occupy 0.30MB with 0.13MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
admin/img/pi.png | 1.48KB | 1.11KB | ▼ 24.83% |
admin/img/pi-web-solution.png | 21.25KB | 9.42KB | ▼ 55.67% |
admin/img/close.png | 4.32KB | 3.39KB | ▼ 21.57% |
includes/background.png | 74.27KB | 26.29KB | ▼ 64.60% |
public/img/free-delivery.png | 200.80KB | 107.97KB | ▼ 46.23% |