Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Install script ran successfully
Server metrics [RAM: ▲0.03MB] [CPU: ▼9.42ms] Passed 4 tests
Analyzing server-side resources used by TaxJar - Sales Tax Automation for WooCommerce
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.51 ▲0.04 | 47.65 ▲5.68 |
Dashboard /wp-admin | 3.35 ▲0.00 | 47.09 ▼14.58 |
Posts /wp-admin/edit.php | 3.40 ▲0.04 | 44.72 ▲0.88 |
Add New Post /wp-admin/post-new.php | 5.93 ▲0.04 | 85.32 ▼22.61 |
Media Library /wp-admin/upload.php | 3.27 ▲0.04 | 34.00 ▼1.36 |
Server storage [IO: ▲0.38MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
The plugin installed successfully
Filesystem: 68 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-posts |
widget_recent-comments |
db_upgraded |
Browser metrics Passed 4 tests
An overview of browser requirements for TaxJar - Sales Tax Automation for WooCommerce
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,797 ▲36 | 14.33 ▼0.01 | 1.70 ▼0.01 | 45.92 ▲3.11 |
Dashboard /wp-admin | 2,203 ▲28 | 5.51 ▼0.09 | 94.65 ▼17.78 | 43.06 ▼2.94 |
Posts /wp-admin/edit.php | 2,109 ▲9 | 2.00 ▼0.01 | 33.81 ▼5.07 | 34.49 ▼1.26 |
Add New Post /wp-admin/post-new.php | 1,536 ▼6 | 22.97 ▲4.80 | 640.89 ▲35.32 | 49.61 ▼14.82 |
Media Library /wp-admin/upload.php | 1,411 ▲11 | 4.19 ▼0.08 | 97.82 ▲2.85 | 41.73 ▼0.37 |
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
These items require your attention
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_recent-comments
- db_upgraded
- can_compress_scripts
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-posts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking 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 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Please fix the following
- 4× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Class 'TaxJar\\Module' not found in wp-content/plugins/taxjar-simplified-taxes-for-woocommerce/includes/compatibility/modules/class-woocommerce-smart-coupons.php:13
- > PHP Fatal error
Uncaught Error: Class 'WC_Settings_API' not found in wp-content/plugins/taxjar-simplified-taxes-for-woocommerce/includes/class-wc-taxjar-integration.php:14
- > PHP Fatal error
Uncaught Error: Class 'TaxJar\\Module' not found in wp-content/plugins/taxjar-simplified-taxes-for-woocommerce/includes/compatibility/modules/class-woocommerce-gift-cards.php:13
- > PHP Fatal error
Uncaught Error: Class 'TaxJar\\Module' not found in wp-content/plugins/taxjar-simplified-taxes-for-woocommerce/includes/compatibility/modules/class-woocommerce-pdf-product-vouchers.php:16
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser errors were detected
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
8 plugin tags: tax, sales tax, sales tax filing, tax calculation, taxjar...
taxjar-simplified-taxes-for-woocommerce/taxjar-woocommerce.php 85% from 13 tests
The primary PHP file in "TaxJar - Sales Tax Automation for WooCommerce" version 4.2.1 is used by WordPress to initiate all plugin functionality
The following require your attention:
- Requires at least: Required version must be the same as the one declared in readme.txt ("5.4" instead of "6.4.0")
- Main file name: The principal plugin file should be the same as the plugin slug ("taxjar-simplified-taxes-for-woocommerce.php" instead of "taxjar-woocommerce.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
Good job! No executable or dangerous file extensions detected7,153 lines of code in 66 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 60 | 1,562 | 3,555 | 6,270 |
Markdown | 1 | 85 | 0 | 329 |
CSS | 1 | 32 | 0 | 222 |
JavaScript | 2 | 23 | 7 | 168 |
XML | 1 | 2 | 57 | 135 |
JSON | 1 | 0 | 0 | 29 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.28 |
Average class complexity | 12.86 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 113.00 |
Average method complexity | 2.18 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 27.00 |
Code structure | ||
---|---|---|
Namespaces | 2 | |
Interfaces | 5 | |
Traits | 0 | |
Classes | 53 | |
▷ Abstract classes | 6 | 11.32% |
▷ Concrete classes | 47 | 88.68% |
▷ Final classes | 1 | 2.13% |
Methods | 606 | |
▷ Static methods | 109 | 17.99% |
▷ Public methods | 432 | 71.29% |
▷ Protected methods | 57 | 9.41% |
▷ Private methods | 117 | 19.31% |
Functions | 5 | |
▷ Named functions | 1 | 20.00% |
▷ Anonymous functions | 4 | 80.00% |
Constants | 7 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 7 | 100.00% |
▷ Public constants | 7 | 100.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 files were detected