Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.02MB] [CPU: ▼8.16ms] Passed 4 tests
Analyzing server-side resources used by Tax Rate Upload
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.03 | 39.12 ▲2.83 |
Dashboard /wp-admin | 3.34 ▼0.01 | 43.87 ▼13.98 |
Posts /wp-admin/edit.php | 3.39 ▲0.03 | 45.00 ▼3.19 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.03 | 82.70 ▼18.29 |
Media Library /wp-admin/upload.php | 3.26 ▲0.03 | 38.34 ▲4.29 |
Tax Rate Upload /wp-admin/options-general.php?page=tax-rate-upload | 3.21 | 33.90 |
Server storage [IO: ▲0.03MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin installed successfully
Filesystem: 3 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
theysaidso_admin_options |
db_upgraded |
widget_theysaidso_widget |
widget_recent-comments |
can_compress_scripts |
Browser metrics Passed 4 tests
Checking browser requirements for Tax Rate Upload
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲58 | 14.48 ▲0.09 | 1.87 ▲0.22 | 43.89 ▲4.18 |
Dashboard /wp-admin | 2,207 ▲16 | 5.84 ▼0.06 | 101.98 ▼0.52 | 39.51 ▼3.04 |
Posts /wp-admin/edit.php | 2,093 ▲1 | 2.05 ▲0.00 | 39.32 ▼3.04 | 36.11 ▲2.19 |
Add New Post /wp-admin/post-new.php | 1,539 ▲11 | 23.16 ▼0.14 | 673.86 ▲24.86 | 59.83 ▲7.99 |
Media Library /wp-admin/upload.php | 1,386 ▼2 | 4.20 ▼0.01 | 95.17 ▼2.61 | 40.84 ▼6.62 |
Tax Rate Upload /wp-admin/options-general.php?page=tax-rate-upload | 1,051 | 2.08 | 22.99 | 33.98 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
It is recommended to fix the following
- Zombie WordPress options were found after uninstall: 6 options
- widget_recent-posts
- db_upgraded
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-comments
- can_compress_scripts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP 50% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Please take a closer look at the following
- 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/tax-rate-upload/tax-rate-upload.php:19
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser issues were found
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
There were not plugin tags detected
tax-rate-upload/tax-rate-upload.php Passed 13 tests
The primary PHP file in "Tax Rate Upload" version 2.4.5 is used by WordPress to initiate all plugin functionality
95 characters long description:
This is a plugin to upload a tax rate excell sheet and populate woocommerce zip code tax rates.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
Success! There were no dangerous files found in this plugin339 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 17 | 15 | 339 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.22 |
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 | 2 | |
▷ Named functions | 2 | 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
PNG files should be compressed to save space and minimize bandwidth usage
There were not PNG files found in your plugin