Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.97MB] [CPU: ▼134.77ms] Passed 4 tests
This is a short check of server-side resources used by VAT EC Sales List
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.07 ▲0.35 | 42.81 ▲17.63 |
Dashboard /wp-admin | 4.24 ▲1.19 | 55.12 ▲5.86 |
Posts /wp-admin/edit.php | 4.33 ▲1.22 | 55.99 ▲5.70 |
Add New Post /wp-admin/post-new.php | 6.62 ▲1.18 | 105.40 ▼546.99 |
Media Library /wp-admin/upload.php | 4.18 ▲1.17 | 42.42 ▼3.64 |
Submissions /wp-admin/admin.php?page=ecsl-submissions | 4.17 | 39.69 |
Settings /wp-admin/admin.php?page=ecsl-submissions-settings | 4.13 | 42.01 |
Server storage [IO: ▲0.38MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
No storage issues were detected
Filesystem: 35 new files
Database: no new tables, 1 new option
New WordPress options |
---|
ecsl_settings |
Browser metrics Passed 4 tests
This is an overview of browser requirements for VAT EC Sales List
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,781 ▲185 | 16.17 ▲0.30 | 9.57 ▼0.84 | 52.67 ▼1.06 |
Dashboard /wp-admin | 3,051 ▲117 | 7.04 ▲0.85 | 139.85 ▼42.75 | 114.16 ▲1.94 |
Posts /wp-admin/edit.php | 2,823 ▲84 | 2.79 ▲0.10 | 78.34 ▲1.44 | 113.93 ▲13.35 |
Add New Post /wp-admin/post-new.php | 1,743 ▼1,981 | 18.69 ▲3.29 | 401.10 ▼67.29 | 129.12 ▲9.08 |
Media Library /wp-admin/upload.php | 1,885 ▲78 | 5.46 ▲0.43 | 138.64 ▼19.00 | 122.58 ▼14.14 |
Submissions /wp-admin/admin.php?page=ecsl-submissions | 1,767 | 2.78 | 67.23 | 84.54 |
Settings /wp-admin/admin.php?page=ecsl-submissions-settings | 1,373 | 2.81 | 81.40 | 77.70 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
You still need to fix the following
- The uninstall procedure has failed, leaving 1 option in the database
- ecsl_settings
Smoke tests 75% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Smoke test failed, please fix the following
- > GET request to /wp-admin/admin.php?page=ecsl-submissions-settings
- > Notice in wp-content/plugins/vat-ecsl/includes/admin-notices.php+44
Array to string conversion
SRP Passed 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Congratulations! This plugin passed the SRP test
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
9 plugin tags: eu, tax, hmrc, uk, woocommerce...
vat-ecsl/vat-ecsl.php Passed 13 tests
The main file in "VAT EC Sales List" v. 1.0.18 serves as a complement to information provided in readme.txt and as the entry point to the plugin
56 characters long description:
Management and submission of VAT sales with VAT numbers.
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 plugin8,225 lines of code in 32 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 26 | 1,276 | 2,013 | 4,643 |
XML | 1 | 0 | 0 | 3,208 |
JavaScript | 3 | 43 | 43 | 277 |
CSS | 1 | 17 | 3 | 96 |
JSON | 1 | 0 | 0 | 1 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.41 |
Average class complexity | 31.08 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 80.00 |
Average method complexity | 3.62 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 18.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 13 | |
▷ Abstract classes | 1 | 7.69% |
▷ Concrete classes | 12 | 92.31% |
▷ Final classes | 0 | 0.00% |
Methods | 145 | |
▷ Static methods | 4 | 2.76% |
▷ Public methods | 142 | 97.93% |
▷ Protected methods | 3 | 2.07% |
▷ Private methods | 0 | 0.00% |
Functions | 95 | |
▷ Named functions | 78 | 82.11% |
▷ Anonymous functions | 17 | 17.89% |
Constants | 22 | |
▷ Global constants | 22 | 100.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 files were detected