Benchmarks
Plugin footprint 58% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Please fix the following installer errors
- This plugin did not install gracefully
- > Warning in wp-content/plugins/ziptax-sales-tax-for-woocommerce/inc/ziptax-utils.php+22
file_put_contents(/var/log/zt-debug.log): failed to open stream: Permission denied
Server metrics [RAM: ▲0.00MB] [CPU: ▼10.44ms] Passed 4 tests
This is a short check of server-side resources used by ZipTax - Sales Tax for WooCommerce
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 33.00 ▼3.58 |
Dashboard /wp-admin | 3.31 ▲0.00 | 42.24 ▼3.95 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 38.47 ▼15.31 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 83.57 ▼18.91 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 34.36 ▼1.27 |
Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
There were no storage issued detected upon installing this plugin
Filesystem: 4 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-posts |
widget_recent-comments |
db_upgraded |
can_compress_scripts |
theysaidso_admin_options |
Browser metrics Passed 4 tests
An overview of browser requirements for ZipTax - Sales Tax for WooCommerce
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲29 | 13.31 ▼1.06 | 4.42 ▲2.57 | 45.37 ▲1.65 |
Dashboard /wp-admin | 2,203 ▲15 | 4.86 ▼0.99 | 111.97 ▲11.33 | 42.89 ▲3.04 |
Posts /wp-admin/edit.php | 2,089 ▼3 | 2.01 ▲0.00 | 36.67 ▼9.79 | 33.17 ▼2.20 |
Add New Post /wp-admin/post-new.php | 1,533 ▼9 | 23.36 ▲5.22 | 670.02 ▲44.65 | 65.14 ▲5.03 |
Media Library /wp-admin/upload.php | 1,379 ▼12 | 4.20 ▼0.04 | 94.99 ▼8.97 | 42.16 ▼0.69 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
These items require your attention
- Zombie WordPress options were found after uninstall: 6 options
- widget_recent-posts
- widget_theysaidso_widget
- db_upgraded
- widget_recent-comments
- can_compress_scripts
- 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 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
- 3× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/ziptax-sales-tax-for-woocommerce/inc/ziptax-utils.php
- > /wp-content/plugins/ziptax-sales-tax-for-woocommerce/inc/ziptax-wc-integration.php
- > /wp-content/plugins/ziptax-sales-tax-for-woocommerce/ziptax-woocommerce.php
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser issues were found
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
6 plugin tags: tax calculation, sales tax, automated tax, taxes, sales tax rates...
ziptax-sales-tax-for-woocommerce/ziptax-woocommerce.php 92% from 13 tests
Analyzing the main PHP file in "ZipTax - Sales Tax for WooCommerce" version 1.0.0
Please take the time to fix the following:
- Main file name: Name the main plugin file the same as the plugin slug ("ziptax-sales-tax-for-woocommerce.php" instead of "ziptax-woocommerce.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
There were no executable files found in this plugin287 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 114 | 19 | 287 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.15 |
Average class complexity | 8.00 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 19.00 |
Average method complexity | 2.24 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 14.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 3 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 3 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 17 | |
▷ Static methods | 1 | 5.88% |
▷ Public methods | 15 | 88.24% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 2 | 11.76% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
There are no PNG files in this plugin