Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.21MB] [CPU: ▲0.18ms] Passed 4 tests
Analyzing server-side resources used by EU/UK VAT Compliance Assistant for WooCommerce
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.68 ▲0.21 | 59.31 ▲20.27 |
Dashboard /wp-admin | 3.52 ▲0.22 | 43.70 ▼0.79 |
Posts /wp-admin/edit.php | 3.63 ▲0.28 | 49.62 ▲8.58 |
Add New Post /wp-admin/post-new.php | 6.10 ▲0.21 | 80.26 ▼13.24 |
Media Library /wp-admin/upload.php | 3.44 ▲0.21 | 37.50 ▲6.17 |
Server storage [IO: ▲1.83MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
The plugin installed successfully
Filesystem: 62 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
can_compress_scripts |
widget_recent-comments |
db_upgraded |
widget_recent-posts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
An overview of browser requirements for EU/UK VAT Compliance Assistant for WooCommerce
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,815 ▲68 | 14.22 ▼0.12 | 2.75 ▲0.92 | 43.30 ▲5.46 |
Dashboard /wp-admin | 2,195 ▲17 | 5.61 ▼0.02 | 91.87 ▼22.32 | 41.47 ▼2.80 |
Posts /wp-admin/edit.php | 2,097 ▼6 | 1.96 ▼0.05 | 40.17 ▲3.11 | 35.66 ▲2.20 |
Add New Post /wp-admin/post-new.php | 1,539 ▲13 | 24.98 ▲1.64 | 620.96 ▼59.83 | 60.16 ▼5.59 |
Media Library /wp-admin/upload.php | 1,400 ▲3 | 4.19 ▲0.05 | 94.95 ▼7.49 | 42.72 ▼1.02 |
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
The following items require your attention
- Zombie WordPress options detected upon uninstall: 6 options
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-comments
- db_upgraded
- can_compress_scripts
- widget_recent-posts
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP 0% 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
The following issues need your attention
- 27× GET requests to PHP files return non-empty strings (only 10 are shown):
- > /wp-content/plugins/woocommerce-eu-vat-compliance/rate-providers/ecb.php
- > /wp-content/plugins/woocommerce-eu-vat-compliance/regions/vat-region.php
- > /wp-content/plugins/woocommerce-eu-vat-compliance/record-order-details.php
- > /wp-content/plugins/woocommerce-eu-vat-compliance/regions/norway.php
- > /wp-content/plugins/woocommerce-eu-vat-compliance/rate-providers/hmrc-uk.php
- > /wp-content/plugins/woocommerce-eu-vat-compliance/rate-providers/base-generic.php
- > /wp-content/plugins/woocommerce-eu-vat-compliance/number-lookups/vies.php
- > /wp-content/plugins/woocommerce-eu-vat-compliance/readiness-tests.php
- > /wp-content/plugins/woocommerce-eu-vat-compliance/control-centre.php
- > /wp-content/plugins/woocommerce-eu-vat-compliance/rate-providers/romaniannb.php
- 10× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Warning
require_once(Mail/mimeDecode.php): failed to open stream: No such file or directory in wp-content/plugins/woocommerce-eu-vat-compliance/nusoap/nusoapmime.php on line 42
- > PHP Fatal error
Uncaught Error: Class 'nusoap_base' not found in wp-content/plugins/woocommerce-eu-vat-compliance/nusoap/class.soap_fault.php:14
- > PHP Fatal error
Uncaught Error: Class 'nusoap_base' not found in wp-content/plugins/woocommerce-eu-vat-compliance/nusoap/class.soap_server.php:16
- > PHP Fatal error
Uncaught Error: Class 'nusoap_base' not found in wp-content/plugins/woocommerce-eu-vat-compliance/nusoap/class.soapclient.php:26
- > PHP Fatal error
Uncaught Error: Class 'nusoap_base' not found in wp-content/plugins/woocommerce-eu-vat-compliance/nusoap/class.soap_val.php:17
- > PHP Fatal error
Uncaught Error: Class 'nusoap_base' not found in wp-content/plugins/woocommerce-eu-vat-compliance/nusoap/class.soap_parser.php:15
- > PHP Fatal error
Uncaught Error: Class 'nusoap_base' not found in wp-content/plugins/woocommerce-eu-vat-compliance/nusoap/class.soap_transport_http.php:15
- > PHP Fatal error
Uncaught Error: Class 'nusoap_base' not found in wp-content/plugins/woocommerce-eu-vat-compliance/nusoap/class.wsdl.php:15
- > PHP Fatal error
require_once(): Failed opening required 'Mail/mimeDecode.php' (include_path='.:/usr/share/php') in wp-content/plugins/woocommerce-eu-vat-compliance/nusoap/nusoapmime.php on line 42
- > PHP Fatal error
Uncaught Error: Class 'nusoap_base' not found in wp-content/plugins/woocommerce-eu-vat-compliance/nusoap/class.xmlschema.php:15
- > PHP Warning
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
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
5 plugin tags: vat compliance, iva, woocommerce, moss, eu vat
woocommerce-eu-vat-compliance/eu-vat-compliance.php 85% from 13 tests
Analyzing the main PHP file in "EU/UK VAT Compliance Assistant for WooCommerce" version 1.29.7
Please make the necessary changes and fix the following:
- Requires at least: The required version number did not match the one declared in readme.txt ("4.7" instead of "3.8.0")
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("woocommerce-eu-vat-compliance.php" instead of "eu-vat-compliance.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
Everything looks great! No dangerous files found in this plugin21,967 lines of code in 53 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 38 | 2,494 | 4,591 | 11,614 |
JavaScript | 7 | 418 | 1,118 | 5,409 |
PO File | 5 | 2,250 | 2,313 | 4,550 |
JSON | 1 | 1 | 0 | 256 |
CSS | 1 | 11 | 25 | 128 |
XML | 1 | 0 | 0 | 10 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.50 |
Average class complexity | 59.59 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 392.00 |
Average method complexity | 7.41 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 96.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 46 | |
▷ Abstract classes | 4 | 8.70% |
▷ Concrete classes | 42 | 91.30% |
▷ Final classes | 0 | 0.00% |
Methods | 428 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 360 | 84.11% |
▷ Protected methods | 38 | 8.88% |
▷ Private methods | 30 | 7.01% |
Functions | 6 | |
▷ Named functions | 4 | 66.67% |
▷ Anonymous functions | 2 | 33.33% |
Constants | 4 | |
▷ Global constants | 2 | 50.00% |
▷ Class constants | 2 | 50.00% |
▷ Public constants | 2 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
2 compressed PNG files occupy 0.00MB
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/cross.png | 1.12KB | 1.14KB | 0.00% |
images/tick.png | 0.88KB | 0.87KB | ▼ 1.00% |