Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Install script ran successfully
Server metrics [RAM: ▲0.09MB] [CPU: ▼3.18ms] Passed 4 tests
This is a short check of server-side resources used by NextPlugins Woo VAT
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.53 ▲0.07 | 44.44 ▲4.45 |
Dashboard /wp-admin | 3.40 ▲0.10 | 44.72 ▼5.70 |
Posts /wp-admin/edit.php | 3.52 ▲0.16 | 48.43 ▼0.84 |
Add New Post /wp-admin/post-new.php | 5.98 ▲0.10 | 90.53 ▼10.34 |
Media Library /wp-admin/upload.php | 3.32 ▲0.10 | 39.01 ▲4.17 |
Server storage [IO: ▲0.03MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 7 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_recent-comments |
theysaidso_admin_options |
widget_recent-posts |
db_upgraded |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
Checking browser requirements for NextPlugins Woo VAT
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,789 ▲3 | 14.34 ▲0.05 | 1.78 ▼0.11 | 42.56 ▼3.68 |
Dashboard /wp-admin | 2,195 ▲15 | 5.56 ▼0.06 | 102.09 ▲13.01 | 39.30 ▲0.32 |
Posts /wp-admin/edit.php | 2,097 ▼3 | 2.02 ▲0.06 | 36.86 ▲1.21 | 33.01 ▼5.11 |
Add New Post /wp-admin/post-new.php | 1,528 ▼0 | 23.50 ▲0.50 | 664.80 ▼8.80 | 66.21 ▲10.86 |
Media Library /wp-admin/upload.php | 1,394 ▼6 | 4.12 ▼0.03 | 100.94 ▼6.21 | 46.25 ▲0.10 |
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
It is recommended to fix the following
- This plugin did not uninstall successfully, leaving 6 options in the database
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-posts
- can_compress_scripts
- widget_recent-comments
- db_upgraded
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Good news, no errors were detected
SRP Passed 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Looking good! No server-side errors or output on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
Everything seems fine on the user side
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
4 plugin tags: vat field, nextplugins vat, vat, woocommerce vat
nextplugins-woocommerce-vat/nextplugins-woocommerce-vat.php Passed 13 tests
The main file in "NextPlugins Woo VAT" v. 1.1.4 serves as a complement to information provided in readme.txt and as the entry point to the plugin
44 characters long description:
Adds VAT field to WooCommerce checkout page.
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
Everything looks great! No dangerous files found in this plugin508 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 5 | 101 | 123 | 508 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.39 |
Average class complexity | 16.33 |
▷ Minimum class complexity | 5.00 |
▷ Maximum class complexity | 37.00 |
Average method complexity | 2.84 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 9.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 3 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 3 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 25 | |
▷ Static methods | 6 | 24.00% |
▷ Public methods | 24 | 96.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 1 | 4.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 1 | 100.00% |
▷ Public constants | 1 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
No PNG files were detected