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
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.00MB] [CPU: ▼8.60ms] Passed 4 tests
Analyzing server-side resources used by WPify Woo Czech
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 37.63 ▼4.75 |
Dashboard /wp-admin | 3.31 ▲0.00 | 42.62 ▼11.26 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 45.38 ▲0.52 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 80.73 ▼12.38 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 32.16 ▼6.02 |
Server storage [IO: ▲22.14MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
The plugin installed successfully
Filesystem: 1,441 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
theysaidso_admin_options |
widget_recent-posts |
widget_recent-comments |
can_compress_scripts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
Checking browser requirements for WPify Woo Czech
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,790 ▲3 | 14.32 ▼0.00 | 1.67 ▼0.36 | 39.65 ▼3.81 |
Dashboard /wp-admin | 2,195 ▲18 | 5.60 ▲0.04 | 86.65 ▼9.85 | 43.23 ▼3.41 |
Posts /wp-admin/edit.php | 2,100 ▲3 | 1.99 ▼0.01 | 36.01 ▼1.70 | 34.98 ▼2.88 |
Add New Post /wp-admin/post-new.php | 1,535 ▲131 | 24.96 ▲6.73 | 639.76 ▼51.76 | 68.09 ▲16.02 |
Media Library /wp-admin/upload.php | 1,403 ▲3 | 4.17 ▼0.02 | 96.17 ▼15.19 | 42.19 ▼6.69 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
It is recommended to fix the following
- Zombie WordPress options were found after uninstall: 6 options
- theysaidso_admin_options
- db_upgraded
- widget_recent-comments
- widget_theysaidso_widget
- widget_recent-posts
- can_compress_scripts
Smoke tests 75% 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)
Good news, no errors were detected
SRP 50% 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
The following issues need your attention
- 814× PHP files trigger errors when accessed directly with GET requests (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'WC_Shipping_Flat_Rate' not found in wp-content/plugins/wpify-woo/src/Modules/PacketaShipping/ShippingMethods/ESMRWHD.php:8
- > PHP Fatal error
Uncaught Error: Interface 'WpifyWooDeps\\Psr\\Http\\Message\\StreamInterface' not found in wp-content/plugins/wpify-woo/deps/guzzlehttp/psr7/src/LimitStream.php:10
- > PHP Fatal error
Uncaught Error: Class 'WpifyWooDeps\\GuzzleHttp\\Promise\\RejectionException' not found in wp-content/plugins/wpify-woo/deps/guzzlehttp/promises/src/CancellationException.php:9
- > PHP Fatal error
Uncaught Error: Class 'WsdlToPhp\\PackageBase\\AbstractStructBase' not found in wp-content/plugins/wpify-woo/lib/PacketeraSDK/src/WpifyWoo/PacketeraSDK/StructType/InvalidEmailAddressFault.php:16
- > PHP Fatal error
Uncaught Error: Class 'WP_REST_Controller' not found in wp-content/plugins/wpify-woo/deps/wpify/custom-fields/src/Api.php:10
- > PHP Fatal error
Uncaught Error: Class 'WpifyWooDeps\\Wpify\\Model\\Abstracts\\AbstractModel' not found in wp-content/plugins/wpify-woo/deps/wpify/model/src/Site.php:9
- > PHP Fatal error
Uncaught Error: Interface 'WpifyWooDeps\\DI\\Definition\\Definition' not found in wp-content/plugins/wpify-woo/deps/php-di/php-di/src/Definition/ObjectDefinition.php:16
- > PHP Fatal error
Uncaught Error: Class 'WpifyWooDeps\\Wpify\\Model\\Abstracts\\AbstractRepository' not found in wp-content/plugins/wpify-woo/deps/wpify/model/src/Abstracts/AbstractPostRepository.php:17
- > PHP Fatal error
Uncaught Error: Class 'WpifyWooDeps\\Wpify\\Core\\Abstracts\\AbstractCustomFieldsFactory' not found in wp-content/plugins/wpify-woo/src/Factories/WooOrderFieldsFactory.php:8
- > PHP Fatal error
Uncaught Error: Class 'WpifyWooDeps\\Wpify\\Core\\Abstracts\\AbstractComponent' not found in wp-content/plugins/wpify-woo/src/Admin.php:12
- > PHP Fatal error
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 96% from 29 tests
readme.txt Passed 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
6 plugin tags: czech, zsilkovna, wpify, heureka, woocommerce...
wpify-woo/wpify-woo.php 92% from 13 tests
The main PHP file in "WPify Woo Czech" ver. 4.0.7 adds more information about the plugin and also serves as the entry point for this plugin
Please take the time to fix the following:
- Requires PHP: Required version must match the one declared in readme.txt ("8.0" instead of "8.0.0")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
Good job! No executable or dangerous file extensions detected89,109 lines of code in 1,334 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1,154 | 6,392 | 36,392 | 71,437 |
Markdown | 61 | 3,082 | 0 | 8,781 |
JSON | 48 | 8 | 0 | 4,387 |
PO File | 25 | 735 | 915 | 2,203 |
JavaScript | 17 | 206 | 65 | 1,059 |
XML | 7 | 3 | 2 | 611 |
Sass | 6 | 73 | 0 | 451 |
CSS | 8 | 15 | 1 | 63 |
YAML | 3 | 9 | 0 | 48 |
Ant | 1 | 8 | 0 | 41 |
Dockerfile | 2 | 10 | 0 | 14 |
make | 1 | 4 | 0 | 10 |
SVG | 1 | 0 | 0 | 4 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.43 |
Average class complexity | 10.06 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 319.00 |
Average method complexity | 2.63 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 63.00 |
Code structure | ||
---|---|---|
Namespaces | 182 | |
Interfaces | 122 | |
Traits | 20 | |
Classes | 986 | |
▷ Abstract classes | 65 | 6.59% |
▷ Concrete classes | 921 | 93.41% |
▷ Final classes | 206 | 22.37% |
Methods | 6,263 | |
▷ Static methods | 640 | 10.22% |
▷ Public methods | 5,350 | 85.42% |
▷ Protected methods | 447 | 7.14% |
▷ Private methods | 466 | 7.44% |
Functions | 312 | |
▷ Named functions | 34 | 10.90% |
▷ Anonymous functions | 278 | 89.10% |
Constants | 465 | |
▷ Global constants | 5 | 1.08% |
▷ Class constants | 460 | 98.92% |
▷ Public constants | 344 | 74.78% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
7 PNG files occupy 0.33MB with 0.17MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
src/Modules/PacketaShipping/assets/images/zasilkovna_sk_logo.png | 13.07KB | 12.14KB | ▼ 7.07% |
deps/wpify/custom-fields/build/images/flags@2x.276410ff.png | 179.65KB | 69.58KB | ▼ 61.27% |
src/Modules/PacketaShipping/assets/images/packeta_logo.png | 15.11KB | 4.54KB | ▼ 69.94% |
src/Modules/PacketaShipping/assets/images/zasilkovna_logo.png | 16.73KB | 6.28KB | ▼ 62.46% |
deps/wpify/custom-fields/build/images/flags.1952df89.png | 68.68KB | 24.74KB | ▼ 63.98% |