Benchmarks
Plugin footprint Passed 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: ▼142.74ms] Passed 4 tests
This is a short check of server-side resources used by Woocommerce Super Simple Tax Exemption
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.85 ▲0.01 | 34.73 ▼4.08 |
Dashboard /wp-admin | 3.07 ▲0.01 | 46.74 ▼8.09 |
Posts /wp-admin/edit.php | 3.12 ▲0.01 | 49.91 ▼0.81 |
Add New Post /wp-admin/post-new.php | 5.43 ▼0.01 | 96.62 ▼557.97 |
Media Library /wp-admin/upload.php | 3.01 ▲0.01 | 36.06 ▲0.71 |
Server storage [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin was 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 Woocommerce Super Simple Tax Exemption
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,679 ▲107 | 16.30 ▲0.73 | 13.27 ▲0.22 | 46.19 ▼9.55 |
Dashboard /wp-admin | 2,967 ▲36 | 5.90 ▼0.21 | 151.07 ▲1.50 | 111.04 ▼5.51 |
Posts /wp-admin/edit.php | 2,739 ▼0 | 2.71 ▲0.01 | 66.65 ▼0.70 | 83.49 ▼8.46 |
Add New Post /wp-admin/post-new.php | 1,672 ▼2,061 | 18.94 ▲0.94 | 413.78 ▼101.96 | 108.10 ▼4.67 |
Media Library /wp-admin/upload.php | 1,807 ▼0 | 5.07 ▲0.04 | 170.45 ▲15.18 | 115.99 ▼5.05 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
Uninstaller ran successfully
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though everything seems fine, this is not an exhaustive test
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
Almost there! Just fix the following items
- 1× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function apply_filters() in wp-content/plugins/woocommerce-super-simple-tax-exemption/simple-tax-exemption.php:15
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
No browser issues were found
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
6 plugin tags: no tax, tax exempt, tax exempt id, tax-exempt, woocommerce...
woocommerce-super-simple-tax-exemption/simple-tax-exemption.php 92% from 13 tests
This is the main PHP file of "Woocommerce Super Simple Tax Exemption" version 1.3, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
Please take the time to fix the following:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("woocommerce-super-simple-tax-exemption.php" instead of "simple-tax-exemption.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
Success! There were no dangerous files found in this plugin48 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 14 | 20 | 40 |
JavaScript | 1 | 1 | 0 | 6 |
CSS | 1 | 0 | 0 | 2 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.38 |
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 | 5 | |
▷ Named functions | 5 | 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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
No PNG images were found in this plugin