Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.18MB] [CPU: ▼9.47ms] Passed 4 tests
Server-side resources used by Csomagpontok és szállítási címkék WooCommerce-hez
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.66 ▲0.19 | 35.25 ▼5.45 |
Dashboard /wp-admin | 3.50 ▲0.16 | 46.95 ▼17.19 |
Posts /wp-admin/edit.php | 3.61 ▲0.26 | 46.33 ▼2.94 |
Add New Post /wp-admin/post-new.php | 6.08 ▲0.19 | 88.41 ▼12.30 |
Media Library /wp-admin/upload.php | 3.42 ▲0.19 | 35.30 ▲3.54 |
Server storage [IO: ▲9.91MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
There were no storage issued detected upon installing this plugin
Filesystem: 777 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
widget_theysaidso_widget |
db_upgraded |
can_compress_scripts |
theysaidso_admin_options |
widget_recent-posts |
Browser metrics Passed 4 tests
A check of browser resources used by Csomagpontok és szállítási címkék WooCommerce-hez
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,790 ▲43 | 14.13 ▼0.12 | 1.64 ▲0.02 | 35.58 ▼7.63 |
Dashboard /wp-admin | 2,195 ▲18 | 5.61 ▼0.08 | 89.81 ▼8.24 | 39.56 ▼2.42 |
Posts /wp-admin/edit.php | 2,100 ▼0 | 1.95 ▼0.06 | 39.24 ▼0.87 | 34.91 ▼2.07 |
Add New Post /wp-admin/post-new.php | 1,526 ▼3 | 23.20 ▲0.12 | 577.75 ▼77.39 | 46.88 ▼11.06 |
Media Library /wp-admin/upload.php | 1,403 ▼0 | 4.17 ▼0.02 | 94.70 ▼7.00 | 40.34 ▼2.57 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The following items require your attention
- This plugin cannot be uninstalled
- > Notice in wp-content/plugins/hungarian-pickup-points-for-woocommerce/uninstall.php+12
Trying to access array offset on value of type null
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_recent-posts
- theysaidso_admin_options
- db_upgraded
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-comments
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Everything seems fine, however this is by no means an exhaustive test
SRP 50% from 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
The following issues need your attention
- 220× PHP files trigger errors when accessed directly with GET requests (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'Mpdf\\Barcode\\AbstractBarcode' not found in wp-content/plugins/hungarian-pickup-points-for-woocommerce/vendor/mpdf/mpdf/src/Barcode/I25.php:10
- > PHP Fatal error
Uncaught Error: Class 'Mpdf\\Tag\\SubstituteTag' not found in wp-content/plugins/hungarian-pickup-points-for-woocommerce/vendor/mpdf/mpdf/src/Tag/Tta.php:5
- > PHP Fatal error
Uncaught Error: Class 'Mpdf\\Tag\\InlineTag' not found in wp-content/plugins/hungarian-pickup-points-for-woocommerce/vendor/mpdf/mpdf/src/Tag/VarTag.php:5
- > PHP Fatal error
Uncaught Error: Class 'Mpdf\\Tag\\Tag' not found in wp-content/plugins/hungarian-pickup-points-for-woocommerce/vendor/mpdf/mpdf/src/Tag/Hr.php:7
- > PHP Fatal error
Uncaught Error: Class 'Mpdf\\Tag\\InlineTag' not found in wp-content/plugins/hungarian-pickup-points-for-woocommerce/vendor/mpdf/mpdf/src/Tag/Small.php:5
- > PHP Fatal error
Uncaught Error: Class 'Mpdf\\Tag\\Tag' not found in wp-content/plugins/hungarian-pickup-points-for-woocommerce/vendor/mpdf/mpdf/src/Tag/TBody.php:5
- > PHP Fatal error
Uncaught Error: Class 'Mpdf\\Tag\\Tag' not found in wp-content/plugins/hungarian-pickup-points-for-woocommerce/vendor/mpdf/mpdf/src/Tag/BlockTag.php:10
- > PHP Fatal error
Uncaught Error: Class 'Mpdf\\Tag\\Tag' not found in wp-content/plugins/hungarian-pickup-points-for-woocommerce/vendor/mpdf/mpdf/src/Tag/SetHtmlPageFooter.php:5
- > PHP Fatal error
Uncaught Error: Class 'setasign\\Fpdi\\PdfParser\\Type\\PdfType' not found in wp-content/plugins/hungarian-pickup-points-for-woocommerce/vendor/setasign/fpdi/src/PdfParser/Type/PdfArray.php:21
- > PHP Fatal error
Uncaught Error: Class 'Mpdf\\Tag\\Tag' not found in wp-content/plugins/hungarian-pickup-points-for-woocommerce/vendor/mpdf/mpdf/src/Tag/THead.php:5
- > 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 86% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
Attributes that need to be fixed:
- Tags: Please delete some tags, you are using 15 tag instead of maximum 10
hungarian-pickup-points-for-woocommerce/index.php 77% from 13 tests
The main file in "Csomagpontok és szállítási címkék WooCommerce-hez" v. 2.9.5.2 serves as a complement to information provided in readme.txt and as the entry point to the plugin
Please make the necessary changes and fix the following:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("hungarian-pickup-points-for-woocommerce.php" instead of "index.php")
- Text Domain: Since WordPress version 4.6 the text domain is optional; if specified, it must be the same as the plugin slug
- Requires at least: The required version number must match the one declared in readme.txt ("5.5" instead of "7.0")
Code Analysis 95% from 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
Everything looks great! No dangerous files found in this plugin156,519 lines of code in 609 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 493 | 15,510 | 25,488 | 135,895 |
CSS | 14 | 820 | 80 | 7,178 |
Sass | 11 | 946 | 7 | 5,045 |
JavaScript | 18 | 849 | 912 | 3,968 |
PO File | 1 | 708 | 871 | 1,802 |
Markdown | 12 | 432 | 0 | 1,318 |
JSON | 14 | 0 | 0 | 868 |
YAML | 7 | 58 | 4 | 196 |
SVG | 34 | 0 | 0 | 133 |
XML | 4 | 20 | 3 | 113 |
Bourne Shell | 1 | 2 | 0 | 3 |
PHP code 0% from 2 tests
A short review of cyclomatic complexity and code structure
These items need your attention
- Cyclomatic complexity of classes should be reduced to less than 1000 (currently 7,024)
- Cyclomatic complexity of methods has to be reduced to less than 100 (currently 502)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.49 |
Average class complexity | 72.69 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 7,024.00 |
Average method complexity | 11.19 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 502.00 |
Code structure | ||
---|---|---|
Namespaces | 47 | |
Interfaces | 13 | |
Traits | 6 | |
Classes | 344 | |
▷ Abstract classes | 9 | 2.62% |
▷ Concrete classes | 335 | 97.38% |
▷ Final classes | 21 | 6.27% |
Methods | 2,559 | |
▷ Static methods | 377 | 14.73% |
▷ Public methods | 2,067 | 80.77% |
▷ Protected methods | 350 | 13.68% |
▷ Private methods | 142 | 5.55% |
Functions | 45 | |
▷ Named functions | 8 | 17.78% |
▷ Anonymous functions | 37 | 82.22% |
Constants | 548 | |
▷ Global constants | 125 | 22.81% |
▷ Class constants | 423 | 77.19% |
▷ Public constants | 423 | 100.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
5 PNG files occupy 0.37MB with 0.17MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/update/update-250-1.png | 48.11KB | 15.09KB | ▼ 68.64% |
assets/images/update/update-250-3.png | 92.90KB | 36.79KB | ▼ 60.40% |
assets/images/icon-sprinter.png | 3.99KB | 2.28KB | ▼ 42.73% |
assets/images/bg-walkthrough.png | 104.55KB | 111.10KB | 0.00% |
assets/images/update/update-250-2.png | 134.22KB | 58.02KB | ▼ 56.77% |