Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.03MB] [CPU: ▼2.96ms] Passed 4 tests
A check of server-side resources used by VAT Assist for WooCommerce
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.04 | 38.54 ▲0.26 |
Dashboard /wp-admin | 3.34 ▲0.03 | 49.99 ▼0.29 |
Posts /wp-admin/edit.php | 3.39 ▲0.03 | 46.79 ▼5.68 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.03 | 87.64 ▼6.12 |
Media Library /wp-admin/upload.php | 3.26 ▲0.03 | 39.26 ▲2.70 |
VAT Assist /wp-admin/admin.php?page=wcva | 3.23 | 33.04 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 3 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-comments |
theysaidso_admin_options |
db_upgraded |
can_compress_scripts |
widget_recent-posts |
Browser metrics Passed 4 tests
VAT Assist for WooCommerce: an overview of browser usage
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,794 ▲33 | 14.24 ▼0.37 | 1.92 ▲0.06 | 45.23 ▲0.32 |
Dashboard /wp-admin | 2,195 ▲18 | 5.51 ▼0.16 | 107.25 ▼3.93 | 45.26 ▼0.73 |
Posts /wp-admin/edit.php | 2,103 ▼0 | 2.01 ▲0.06 | 40.21 ▼2.68 | 33.48 ▼2.67 |
Add New Post /wp-admin/post-new.php | 1,531 ▲3 | 23.11 ▲0.06 | 661.25 ▲20.42 | 49.90 ▼1.72 |
Media Library /wp-admin/upload.php | 1,400 ▼3 | 4.15 ▼0.09 | 108.23 ▲4.33 | 44.80 ▲0.39 |
VAT Assist /wp-admin/admin.php?page=wcva | 872 | 1.99 | 25.47 | 34.98 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
You still need to fix the following
- This plugin did not uninstall successfully, leaving 6 options in the database
- can_compress_scripts
- db_upgraded
- theysaidso_admin_options
- widget_recent-comments
- widget_recent-posts
- widget_theysaidso_widget
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
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
The following issues need your attention
- 1× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/vat-assist-for-woocommerce/vat-assist-for-woocommerce.php:26
- > 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 issues were found
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
4 plugin tags: eu, woocommerce, vat, europe
vat-assist-for-woocommerce/vat-assist-for-woocommerce.php 92% from 13 tests
The main PHP script in "VAT Assist for WooCommerce" version 1.0.7 is automatically included on every request by WordPress
Please take the time to fix the following:
- Requires at least: Required version does not match the one declared in readme.txt ("5.4" instead of "4.0")
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
There were no executable files found in this plugin162 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 43 | 48 | 115 |
JavaScript | 1 | 9 | 3 | 47 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.29 |
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 | 7 | |
▷ Named functions | 7 | 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