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
This plugin's installer ran successfully
Server metrics [RAM: ▲1.31MB] [CPU: ▲6.25ms] Passed 4 tests
Server-side resources used by Germanized for WooCommerce
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.77 ▲1.31 | 47.35 ▲9.74 |
Dashboard /wp-admin | 4.61 ▲1.31 | 53.92 ▲7.47 |
Posts /wp-admin/edit.php | 4.66 ▲1.30 | 56.07 ▲7.01 |
Add New Post /wp-admin/post-new.php | 7.19 ▲1.31 | 100.54 ▲0.79 |
Media Library /wp-admin/upload.php | 4.53 ▲1.30 | 46.08 ▲12.96 |
Server storage [IO: ▲11.19MB] [DB: ▲0.07MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin was installed successfully
Filesystem: 1,420 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-comments |
widget_recent-posts |
widget_theysaidso_widget |
can_compress_scripts |
db_upgraded |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Germanized for WooCommerce
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,807 ▲45 | 14.37 ▼0.35 | 1.77 ▲0.24 | 37.49 ▼4.56 |
Dashboard /wp-admin | 2,209 ▲32 | 5.64 ▲0.02 | 92.19 ▼6.16 | 45.83 ▲4.23 |
Posts /wp-admin/edit.php | 2,118 ▲15 | 2.09 ▲0.13 | 40.63 ▲0.77 | 34.18 ▼0.69 |
Add New Post /wp-admin/post-new.php | 1,543 ▲17 | 23.40 ▲0.48 | 595.64 ▼60.46 | 56.39 ▲5.83 |
Media Library /wp-admin/upload.php | 1,420 ▲20 | 4.28 ▲0.07 | 97.77 ▼2.26 | 45.32 ▲0.99 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.07MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
These items require your attention
- Zombie WordPress options detected upon uninstall: 6 options
- can_compress_scripts
- theysaidso_admin_options
- widget_recent-comments
- widget_theysaidso_widget
- db_upgraded
- widget_recent-posts
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
The smoke test was a success, however most plugin functionality was not tested
SRP 0% from 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
Please take a closer look at the following
- 7× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/woocommerce-germanized/vendor/globalcitizen/php-iban/utils/ootest.php
- > /wp-content/plugins/woocommerce-germanized/vendor/globalcitizen/php-iban/utils/validate-list.php
- > /wp-content/plugins/woocommerce-germanized/vendor/globalcitizen/php-iban/utils/obfuscation-test.php
- > /wp-content/plugins/woocommerce-germanized/vendor/globalcitizen/php-iban/utils/convert-registry.php
- > /wp-content/plugins/woocommerce-germanized/vendor/globalcitizen/php-iban/utils/test.php
- > /wp-content/plugins/woocommerce-germanized/vendor/globalcitizen/php-iban/utils/dump.php
- > /wp-content/plugins/woocommerce-germanized/vendor/globalcitizen/php-iban/utils/other-tests.php
- 243× GET requests to PHP files have triggered server-side errors or warnings (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Interface 'Composer\\Plugin\\PluginInterface' not found in wp-content/plugins/woocommerce-germanized/vendor/composer/installers/src/Composer/Installers/Plugin.php:9
- > PHP Fatal error
Uncaught Error: Class 'Composer\\Installers\\BaseInstaller' not found in wp-content/plugins/woocommerce-germanized/vendor/composer/installers/src/Composer/Installers/PimcoreInstaller.php:4
- > PHP Fatal error
Uncaught Error: Class 'Composer\\Installers\\BaseInstaller' not found in wp-content/plugins/woocommerce-germanized/vendor/composer/installers/src/Composer/Installers/JoomlaInstaller.php:4
- > PHP Fatal error
Uncaught Error: Class 'Vendidero\\Germanized\\Blocks\\BlockTypes\\AbstractInnerBlock' not found in wp-content/plugins/woocommerce-germanized/src/Blocks/BlockTypes/CheckoutPhotovoltaicSystemNotice.php:7
- > PHP Fatal error
Uncaught Error: Class 'Psr\\Log\\AbstractLogger' not found in wp-content/plugins/woocommerce-germanized/vendor/psr/log/Psr/Log/NullLogger.php:13
- > PHP Fatal error
Uncaught Error: Class 'Vendidero\\Germanized\\Registry\\AbstractDependencyType' not found in wp-content/plugins/woocommerce-germanized/src/Registry/FactoryType.php:9
- > PHP Fatal error
Uncaught Error: Class 'Composer\\Installers\\BaseInstaller' not found in wp-content/plugins/woocommerce-germanized/vendor/composer/installers/src/Composer/Installers/YawikInstaller.php:12
- > PHP Fatal error
Uncaught Error: Class 'Composer\\Installers\\BaseInstaller' not found in wp-content/plugins/woocommerce-germanized/vendor/composer/installers/src/Composer/Installers/KodiCMSInstaller.php:4
- > PHP Fatal error
Uncaught Error: Class 'Composer\\Installers\\BaseInstaller' not found in wp-content/plugins/woocommerce-germanized/vendor/composer/installers/src/Composer/Installers/FuelphpInstaller.php:4
- > PHP Fatal error
Uncaught Error: Class 'Composer\\Installers\\BaseInstaller' not found in wp-content/plugins/woocommerce-germanized/vendor/composer/installers/src/Composer/Installers/StarbugInstaller.php:4
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser errors were detected
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
These attributes need to be fixed:
- Tags: There are too many tags (18 tag instead of maximum 10)
woocommerce-germanized/woocommerce-germanized.php Passed 13 tests
The entry point to "Germanized for WooCommerce" version 3.15.3 is a PHP file that has certain tags in its header comment area
104 characters long description:
Germanized for WooCommerce extends WooCommerce to become a legally compliant store in the german market.
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
Good job! No executable or dangerous file extensions detected134,662 lines of code in 1,225 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 937 | 21,912 | 32,879 | 94,914 |
PO File | 2 | 6,249 | 17,811 | 16,898 |
JavaScript | 183 | 1,854 | 853 | 8,381 |
XSD | 2 | 21 | 39 | 4,846 |
Sass | 18 | 681 | 4 | 4,183 |
XML | 7 | 1,482 | 19 | 3,532 |
JSON | 44 | 0 | 0 | 1,095 |
HTML | 2 | 28 | 0 | 430 |
Cucumber | 3 | 22 | 0 | 165 |
SVG | 7 | 0 | 0 | 99 |
CSS | 16 | 0 | 0 | 40 |
make | 1 | 9 | 4 | 26 |
Bourne Again Shell | 1 | 4 | 8 | 25 |
YAML | 1 | 1 | 0 | 25 |
Bourne Shell | 1 | 2 | 0 | 3 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.44 |
Average class complexity | 17.98 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 342.00 |
Average method complexity | 2.94 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 72.00 |
Code structure | ||
---|---|---|
Namespaces | 71 | |
Interfaces | 26 | |
Traits | 6 | |
Classes | 633 | |
▷ Abstract classes | 27 | 4.27% |
▷ Concrete classes | 606 | 95.73% |
▷ Final classes | 19 | 3.14% |
Methods | 5,889 | |
▷ Static methods | 1,100 | 18.68% |
▷ Public methods | 4,875 | 82.78% |
▷ Protected methods | 823 | 13.98% |
▷ Private methods | 191 | 3.24% |
Functions | 731 | |
▷ Named functions | 571 | 78.11% |
▷ Anonymous functions | 160 | 21.89% |
Constants | 108 | |
▷ Global constants | 11 | 10.19% |
▷ Class constants | 97 | 89.81% |
▷ Public constants | 97 | 100.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
18 PNG files occupy 1.82MB with 0.67MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
packages/woocommerce-germanized-dhl/assets/img/dhl-official.png | 40.86KB | 10.43KB | ▼ 74.47% |
assets/images/pro/settings-emails.png | 100.29KB | 109.08KB | 0.00% |
packages/woocommerce-germanized-dhl/assets/img/post_office.png | 4.05KB | 1.95KB | ▼ 51.96% |
assets/images/pro/settings-invoices.png | 226.31KB | 243.93KB | 0.00% |
packages/woocommerce-germanized-dhl/assets/img/parcelshop.png | 5.41KB | 2.31KB | ▼ 57.31% |