Benchmarks
Plugin footprint 83% 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.00MB] [CPU: ▼5.02ms] Passed 4 tests
Analyzing server-side resources used by Štíteknabalík.cz
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 34.71 ▼13.31 |
Dashboard /wp-admin | 3.31 ▲0.00 | 46.62 ▼0.54 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 45.44 ▼2.32 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 86.37 ▼3.89 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 34.45 ▼0.04 |
Server storage [IO: ▲1.66MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
The plugin installed successfully
Filesystem: 391 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
theysaidso_admin_options |
widget_theysaidso_widget |
db_upgraded |
can_compress_scripts |
widget_recent-comments |
Browser metrics Passed 4 tests
A check of browser resources used by Štíteknabalík.cz
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲54 | 13.23 ▼1.52 | 1.82 ▼0.39 | 40.66 ▼1.44 |
Dashboard /wp-admin | 2,209 ▲21 | 5.89 ▲0.00 | 103.03 ▼8.28 | 39.36 ▼0.08 |
Posts /wp-admin/edit.php | 2,089 ▼0 | 2.03 ▲0.04 | 34.04 ▼4.17 | 33.76 ▼4.84 |
Add New Post /wp-admin/post-new.php | 1,535 ▲15 | 23.24 ▼0.02 | 662.16 ▲9.83 | 55.06 ▼2.61 |
Media Library /wp-admin/upload.php | 1,391 ▼0 | 4.20 ▲0.06 | 94.22 ▼11.15 | 42.90 ▼0.01 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
The following items require your attention
- This plugin did not uninstall successfully, leaving 6 options in the database
- db_upgraded
- widget_recent-posts
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-comments
- theysaidso_admin_options
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP 0% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Please take a closer look at the following
- 13× PHP files output text when accessed directly (only 10 are shown):
- > /wp-content/plugins/foxdeli/vendor/nette/forms/examples/latte.php
- > /wp-content/plugins/foxdeli/vendor/nette/forms/examples/custom-rendering.php
- > /wp-content/plugins/foxdeli/vendor/nette/forms/examples/bootstrap2-rendering.php
- > /wp-content/plugins/foxdeli/vendor/nette/forms/examples/live-validation.php
- > /wp-content/plugins/foxdeli/vendor/nette/forms/examples/basic-example.php
- > /wp-content/plugins/foxdeli/vendor/nette/forms/examples/localization.php
- > /wp-content/plugins/foxdeli/vendor/nette/forms/examples/manual-rendering.php
- > /wp-content/plugins/foxdeli/vendor/nette/forms/examples/bootstrap4-rendering.php
- > /wp-content/plugins/foxdeli/vendor/nette/forms/examples/custom-validator.php
- > /wp-content/plugins/foxdeli/vendor/nette/forms/examples/html5.php
- 194× PHP files trigger errors when accessed directly with GET requests (only 10 are shown):
- > PHP Fatal error
Trait 'Nette\\SmartObject' not found in wp-content/plugins/foxdeli/vendor/nette/di/src/DI/ContainerBuilder.php on line 19
- > PHP Fatal error
Trait 'Latte\\Strict' not found in wp-content/plugins/foxdeli/vendor/latte/latte/src/Latte/Engine.php on line 16
- > PHP Fatal error
Uncaught Error: Class 'Nette\eon\ode' not found in wp-content/plugins/foxdeli/vendor/nette/neon/src/Neon/Node/ArrayNode.php:16
- > PHP Fatal error
Uncaught Error: Interface 'Nette\\Schema\\Schema' not found in wp-content/plugins/foxdeli/vendor/nette/schema/src/Schema/Elements/Type.php:19
- > PHP Parse error
syntax error, unexpected ':', expecting ')' in wp-content/plugins/foxdeli/vendor/nette/forms/src/Bridges/FormsLatte/Nodes/LabelNode.php on line 47
- > PHP Fatal error
Uncaught Error: Class 'Nette\\InvalidStateException' not found in wp-content/plugins/foxdeli/vendor/nette/schema/src/Schema/ValidationException.php:18
- > PHP Fatal error
Trait 'Nette\\StaticClass' not found in wp-content/plugins/foxdeli/vendor/nette/utils/src/Utils/Json.php on line 18
- > PHP Fatal error
Uncaught Error: Class 'Nette\\PhpGenerator\\Printer' not found in wp-content/plugins/foxdeli/vendor/nette/php-generator/src/PhpGenerator/PsrPrinter.php:16
- > PHP Fatal error
Uncaught Error: Class 'Nette\\Forms\\Controls\\HiddenField' not found in wp-content/plugins/foxdeli/vendor/nette/forms/src/Forms/Controls/CsrfProtection.php:19
- > PHP Fatal error
Trait 'Nette\\SmartObject' not found in wp-content/plugins/foxdeli/vendor/nette/php-generator/src/PhpGenerator/Constant.php on line 18
- > 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 Passed 29 tests
readme.txt Passed 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
7 plugin tags: shipment tracking, woocommerce tracking, delivery tracking, woocommerce, woocommerce shipping...
foxdeli/foxdeli.php Passed 13 tests
Analyzing the main PHP file in "Štíteknabalík.cz" version 0.6.0.2
82 characters long description:
Looking for a reliable label printing solution? Štíteknabalík.cz will help you!
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
Everything looks great! No dangerous files found in this plugin36,740 lines of code in 345 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 302 | 9,692 | 9,027 | 31,297 |
Markdown | 15 | 1,030 | 0 | 2,499 |
JSON | 17 | 0 | 0 | 1,486 |
JavaScript | 5 | 165 | 70 | 1,002 |
PO File | 1 | 102 | 123 | 272 |
CSS | 3 | 34 | 5 | 165 |
INI | 1 | 0 | 0 | 12 |
XML | 1 | 1 | 1 | 7 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.54 |
Average class complexity | 19.10 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 225.00 |
Average method complexity | 3.21 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 40.00 |
Code structure | ||
---|---|---|
Namespaces | 42 | |
Interfaces | 28 | |
Traits | 11 | |
Classes | 259 | |
▷ Abstract classes | 9 | 3.47% |
▷ Concrete classes | 250 | 96.53% |
▷ Final classes | 83 | 33.20% |
Methods | 2,321 | |
▷ Static methods | 496 | 21.37% |
▷ Public methods | 2,071 | 89.23% |
▷ Protected methods | 44 | 1.90% |
▷ Private methods | 206 | 8.88% |
Functions | 242 | |
▷ Named functions | 61 | 25.21% |
▷ Anonymous functions | 181 | 74.79% |
Constants | 269 | |
▷ Global constants | 4 | 1.49% |
▷ Class constants | 265 | 98.51% |
▷ Public constants | 239 | 90.19% |
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
2 PNG files occupy 0.00MB with 0.00MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
vendor/nette/forms/examples/assets/logo.png | 1.31KB | 1.34KB | 0.00% |
images/logo-stitek-na-balik.png | 2.37KB | 1.60KB | ▼ 32.47% |