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 gracefully, with no errors
Server metrics [RAM: ▲0.01MB] [CPU: ▼3.63ms] Passed 4 tests
This is a short check of server-side resources used by Boekuwzending for Woocommerce
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 42.23 ▲4.03 |
Dashboard /wp-admin | 3.31 ▲0.01 | 52.95 ▲4.74 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 51.34 ▼5.66 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.01 | 85.71 ▼8.20 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 36.85 ▼4.69 |
Server storage [IO: ▲19.20MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin installed successfully
Filesystem: 1,785 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-comments |
widget_recent-posts |
db_upgraded |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Boekuwzending for Woocommerce
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,799 ▲38 | 14.35 ▲0.00 | 1.70 ▲0.08 | 42.75 ▼2.24 |
Dashboard /wp-admin | 2,205 ▲28 | 5.50 ▼0.15 | 83.32 ▼9.01 | 42.11 ▲0.64 |
Posts /wp-admin/edit.php | 2,110 ▲7 | 1.98 ▼0.03 | 40.69 ▼2.14 | 37.64 ▲0.25 |
Add New Post /wp-admin/post-new.php | 1,547 ▲21 | 18.01 ▼5.47 | 603.53 ▼59.97 | 69.18 ▲10.10 |
Media Library /wp-admin/upload.php | 1,413 ▲16 | 4.22 ▼0.03 | 95.83 ▼8.92 | 44.74 ▼0.49 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The following items require your attention
- The uninstall procedure has failed, leaving 6 options in the database
- widget_recent-comments
- can_compress_scripts
- widget_recent-posts
- db_upgraded
- theysaidso_admin_options
- widget_theysaidso_widget
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though no errors were found, this is by no means an exhaustive test
SRP 0% from 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
Almost there! Just fix the following items
- 4× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/boekuwzending-for-woocommerce/templates/checkout/pick_up_point/information.php
- > /wp-content/plugins/boekuwzending-for-woocommerce/templates/thank_you/information_delivery.php
- > /wp-content/plugins/boekuwzending-for-woocommerce/templates/thank_you/information_pick_up_point.php
- > /wp-content/plugins/boekuwzending-for-woocommerce/templates/admin/order/edit/meta/render.php
- 130× PHP files trigger errors when accessed directly with GET requests (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'Symfony\\Component\\HttpClient\\Chunk\\DataChunk' not found in wp-content/plugins/boekuwzending-for-woocommerce/vendor/symfony/http-client/Chunk/InformationalChunk.php:19
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html_e() in wp-content/plugins/boekuwzending-for-woocommerce/templates/admin/order/edit/meta/no_products.php:4
- > PHP Fatal error
Uncaught Error: Interface 'Boekuwzending\\Serializer\\SerializerInterface' not found in wp-content/plugins/boekuwzending-for-woocommerce/vendor/boekuwzending/php-sdk/src/Serializer/InstructionSerializer.php:15
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/boekuwzending-for-woocommerce/templates/admin/order/edit/meta/status.php:57
- > PHP Fatal error
Uncaught Error: Class 'Symfony\\Component\\HttpClient\\Chunk\\DataChunk' not found in wp-content/plugins/boekuwzending-for-woocommerce/vendor/symfony/http-client/Chunk/FirstChunk.php:19
- > PHP Fatal error
Uncaught Error: Interface 'Boekuwzending\\Serializer\\SerializerInterface' not found in wp-content/plugins/boekuwzending-for-woocommerce/vendor/boekuwzending/php-sdk/src/Serializer/RateSerializer.php:17
- > PHP Fatal error
Uncaught LogicException: You cannot use the "Symfony\\Component\\HttpClient\\Psr18Client" as the "psr/http-factory" package is not installed. Try running "composer require nyholm/psr7". in wp-content/plugins/boekuwzending-for-woocommerce/vendor/symfony/http-client/Psr18Client.php:37
- > PHP Fatal error
Uncaught Error: Interface 'Symfony\\Contracts\\HttpClient\\ResponseInterface' not found in wp-content/plugins/boekuwzending-for-woocommerce/vendor/symfony/http-client/Response/AsyncResponse.php:30
- > PHP Fatal error
Uncaught Error: Class 'Symfony\\Component\\HttpKernel\\DataCollector\\DataCollector' not found in wp-content/plugins/boekuwzending-for-woocommerce/vendor/symfony/http-client/DataCollector/HttpClientDataCollector.php:24
- > PHP Fatal error
Uncaught Error: Class 'Boekuwzending\\Resource\\Contact' not found in wp-content/plugins/boekuwzending-for-woocommerce/vendor/boekuwzending/php-sdk/src/Resource/OrderContact.php:14
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
Please fix the following attributes:
- Contributors: The plugin contributors field is not present
boekuwzending-for-woocommerce/boekuwzending-for-woocommerce.php Passed 13 tests
"Boekuwzending for Woocommerce" version 2.2.0's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
35 characters long description:
Use the Boekuwzending Shipping Tool
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
There were no executable files found in this plugin611,750 lines of code in 1,630 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1,592 | 7,210 | 22,836 | 608,748 |
JSON | 3 | 0 | 0 | 970 |
Markdown | 17 | 226 | 0 | 622 |
JavaScript | 7 | 141 | 0 | 618 |
PO File | 1 | 144 | 180 | 457 |
Sass | 2 | 41 | 0 | 176 |
YAML | 2 | 10 | 0 | 110 |
XML | 2 | 1 | 2 | 30 |
diff | 1 | 3 | 7 | 16 |
CSS | 3 | 0 | 0 | 3 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.36 |
Average class complexity | 14.11 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 366.00 |
Average method complexity | 2.88 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 46.00 |
Code structure | ||
---|---|---|
Namespaces | 45 | |
Interfaces | 28 | |
Traits | 11 | |
Classes | 202 | |
▷ Abstract classes | 8 | 3.96% |
▷ Concrete classes | 194 | 96.04% |
▷ Final classes | 39 | 20.10% |
Methods | 1,533 | |
▷ Static methods | 273 | 17.81% |
▷ Public methods | 1,342 | 87.54% |
▷ Protected methods | 89 | 5.81% |
▷ Private methods | 102 | 6.65% |
Functions | 234 | |
▷ Named functions | 124 | 52.99% |
▷ Anonymous functions | 110 | 47.01% |
Constants | 187 | |
▷ Global constants | 10 | 5.35% |
▷ Class constants | 177 | 94.65% |
▷ Public constants | 170 | 96.05% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
2 PNG files occupy 0.01MB with 0.00MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
public/img/icon.png | 3.01KB | 1.96KB | ▼ 34.75% |
assets/admin/img/icon.png | 3.01KB | 1.96KB | ▼ 34.75% |