Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.02MB] [CPU: ▼5.47ms] Passed 4 tests
A check of server-side resources used by EU/UK VAT Manager for WooCommerce
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.04 | 37.36 ▼4.82 |
Dashboard /wp-admin | 3.33 ▼0.01 | 45.67 ▼15.81 |
Posts /wp-admin/edit.php | 3.39 ▲0.03 | 48.06 ▲3.23 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.03 | 96.50 ▲13.43 |
Media Library /wp-admin/upload.php | 3.26 ▲0.03 | 33.76 ▼4.46 |
Server storage [IO: ▲0.39MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
There were no storage issued detected upon installing this plugin
Filesystem: 287 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
can_compress_scripts |
theysaidso_admin_options |
widget_theysaidso_widget |
db_upgraded |
widget_recent-comments |
Browser metrics Passed 4 tests
A check of browser resources used by EU/UK VAT Manager for WooCommerce
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,799 ▲52 | 14.67 ▲0.45 | 1.78 ▲0.11 | 40.42 ▼4.53 |
Dashboard /wp-admin | 2,207 ▲32 | 5.67 ▼0.09 | 92.04 ▼26.28 | 40.32 ▼2.09 |
Posts /wp-admin/edit.php | 2,112 ▲15 | 2.01 ▲0.00 | 39.91 ▲5.08 | 36.26 ▲4.98 |
Add New Post /wp-admin/post-new.php | 1,544 ▲17 | 18.53 ▼4.88 | 605.24 ▼93.20 | 65.14 ▲2.01 |
Media Library /wp-admin/upload.php | 1,409 ▲18 | 4.18 ▲0.00 | 98.13 ▼9.22 | 45.09 ▲2.78 |
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
- The uninstall procedure has failed, leaving 6 options in the database
- widget_theysaidso_widget
- widget_recent-comments
- widget_recent-posts
- can_compress_scripts
- db_upgraded
- theysaidso_admin_options
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
The smoke test was a success, however most plugin functionality was not tested
SRP Passed 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
Everything seems fine, however this is by no means an exhaustive test
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
There were no browser issues found
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
Attributes that need to be fixed:
- Screenshots: Add images for these screenshots: #1 (Main Page - General), #2 (Validation & Progress), #3 (Admin settings & Advanced options)
eu-vat-for-woocommerce/eu-vat-for-woocommerce.php Passed 13 tests
The entry point to "EU/UK VAT Manager for WooCommerce" version 2.9.17 is a PHP file that has certain tags in its header comment area
42 characters long description:
Manage EU VAT in WooCommerce. Beautifully.
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
There were no executable files found in this plugin3,520 lines of code in 20 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 15 | 473 | 1,069 | 3,103 |
JavaScript | 3 | 30 | 56 | 315 |
CSS | 1 | 0 | 0 | 100 |
INI | 1 | 0 | 0 | 2 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.57 |
Average class complexity | 31.25 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 233.00 |
Average method complexity | 4.21 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 37.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 12 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 12 | 100.00% |
▷ Final classes | 1 | 8.33% |
Methods | 113 | |
▷ Static methods | 1 | 0.88% |
▷ Public methods | 113 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 20 | |
▷ Named functions | 19 | 95.00% |
▷ Anonymous functions | 1 | 5.00% |
Constants | 4 | |
▷ Global constants | 4 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
255 compressed PNG files occupy 0.13MB
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/flag-icons/hk.png | 0.51KB | 0.65KB | 0.00% |
assets/images/flag-icons/ru.png | 0.41KB | 0.64KB | 0.00% |
assets/images/flag-icons/li.png | 0.52KB | 0.73KB | 0.00% |
assets/images/flag-icons/cg.png | 0.51KB | 0.62KB | 0.00% |
assets/images/flag-icons/fm.png | 0.54KB | 0.66KB | 0.00% |