Benchmarks
Plugin footprint Passed 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: ▼308.79ms] Passed 4 tests
Server-side resources used by Additional Tax Options for WooCommerce
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.53 ▲0.02 | 55.93 ▼3.86 |
Dashboard /wp-admin | 3.42 ▲0.01 | 32.90 ▼0.73 |
Posts /wp-admin/edit.php | 3.65 ▲0.01 | 41.45 ▲3.84 |
Add New Post /wp-admin/post-new.php | 6.89 ▼0.08 | 94.05 ▼1,231.94 |
Media Library /wp-admin/upload.php | 3.30 ▲0.01 | 25.32 ▲1.37 |
Server storage [IO: ▲0.03MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
The plugin installed successfully
Filesystem: 4 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
A check of browser resources used by Additional Tax Options for WooCommerce
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,821 ▲67 | 16.27 ▲0.36 | 5.83 ▼0.99 | 2.90 ▲0.27 |
Dashboard /wp-admin | 2,921 ▲40 | 6.39 ▼0.16 | 130.24 ▼12.94 | 156.41 ▼12.07 |
Posts /wp-admin/edit.php | 2,691 ▼3 | 3.43 ▲0.00 | 61.91 ▼1.39 | 139.92 ▼0.78 |
Add New Post /wp-admin/post-new.php | 1,758 ▲97 | 17.21 ▲0.54 | 433.47 ▲21.32 | 161.00 ▲10.13 |
Media Library /wp-admin/upload.php | 1,698 ▲3 | 5.74 ▲0.03 | 138.72 ▼17.12 | 187.19 ▼7.80 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The plugin uninstalled completely, with no zombie files or tables
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Good news, no errors were detected
SRP 50% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Please take a closer look at the following
- 1× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/additional-tax-options-for-woocommerce/includes/additional-tax-settings-fields.php:2
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine on the user side
Optimizations
Plugin configuration 79% from 29 tests
readme.txt 81% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
These attributes need your attention:
- Donate link: Please fix this invalid url: ""
- Stable tag: Not defined
- Screenshots: Screenshot #1 (These options are located in WooCommerce → Settings → Tax) image missing
additional-tax-options-for-woocommerce/woo-additional-tax-options.php 77% from 13 tests
The main PHP script in "Additional Tax Options for WooCommerce" version 1.0.0 is automatically included on every request by WordPress
Please make the necessary changes and fix the following:
- Description: Please don't use more than 140 characters for the plugin description (currently 263 characters long)
- Domain Path: The domain path points to an invalid folder, "/languages" does not exist
- Main file name: The principal plugin file should be the same as the plugin slug ("additional-tax-options-for-woocommerce.php" instead of "woo-additional-tax-options.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
Success! There were no dangerous files found in this plugin45 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 12 | 20 | 45 |
PHP code Passed 2 tests
An overview 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.25 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 1 | |
▷ Named functions | 1 | 100.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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
1 compressed PNG file occupies 0.02MB
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
settings-screenshot.png.png | 22.88KB | 22.81KB | 0.29% |