Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Please fix the following installer errors
- The plugin did not install without errors
- > Error in wp-content/plugins/qenta-checkout-seamless/classes/includes/form_fields.php+43
Uncaught Error: Class 'WC_Countries' not found in wp-content/plugins/qenta-checkout-seamless/classes/includes/form_fields.php:43
Stack trace:
#0 wp-content/plugins/qenta-checkout-seamless/woocommerce-qenta-checkout-seamless.php(209): require_once()
#1 wp-content/plugins/qenta-checkout-seamless/woocommerce-qenta-checkout-seamless.php(145): init_config_values()
#2 wp-includes/class-wp-hook.php(310): woocommerce_install_qenta_checkout_seamless()
#3 wp-includes/class-wp-hook.php(334): WP_Hook->apply_filters()
#4 wp-includes/plugin.php(517): WP_Hook->do_action()
#5 wp-admin/includes/plugin.php(693): do_action()
Server metrics [RAM: ▲0.00MB] [CPU: ▼0.54ms] Passed 4 tests
A check of server-side resources used by Qenta Checkout Seamless
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 39.54 ▲1.23 |
Dashboard /wp-admin | 3.31 ▲0.00 | 48.60 ▼0.18 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 48.07 ▲3.91 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 81.09 ▼5.98 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 35.07 ▲2.77 |
Server storage [IO: ▲2.21MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
There were no storage issued detected upon installing this plugin
Filesystem: 467 new files
Database: 1 new table, 6 new options
New tables |
---|
wp_qenta_checkout_seamless_tx |
New WordPress options |
---|
widget_recent-comments |
theysaidso_admin_options |
db_upgraded |
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-posts |
Browser metrics Passed 4 tests
An overview of browser requirements for Qenta Checkout Seamless
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲65 | 13.24 ▼1.14 | 1.80 ▼0.03 | 42.69 ▼2.22 |
Dashboard /wp-admin | 2,206 ▲18 | 5.91 ▲0.85 | 106.18 ▼10.80 | 38.85 ▼4.66 |
Posts /wp-admin/edit.php | 2,086 ▼3 | 2.06 ▲0.05 | 38.09 ▲2.68 | 32.98 ▼1.10 |
Add New Post /wp-admin/post-new.php | 1,534 ▼3 | 23.07 ▼0.27 | 650.75 ▼22.44 | 57.58 ▼4.44 |
Media Library /wp-admin/upload.php | 1,391 ▼0 | 4.19 ▼0.01 | 95.90 ▼6.20 | 42.56 ▼2.82 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
These items require your attention
- The uninstall procedure failed, leaving 1 table in the database
- wp_qenta_checkout_seamless_tx
- Zombie WordPress options detected upon uninstall: 6 options
- widget_theysaidso_widget
- widget_recent-comments
- theysaidso_admin_options
- db_upgraded
- widget_recent-posts
- can_compress_scripts
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)
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 fix the following items
- 1× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/qenta-checkout-seamless/vendor/mobiledetect/mobiledetectlib/export/exportToJSON.php
- 257× GET requests to PHP files have triggered server-side errors or warnings (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Interface 'Psr\\Http\\Message\\UriInterface' not found in wp-content/plugins/qenta-checkout-seamless/vendor/guzzlehttp/psr7/src/Uri.php:14
- > PHP Fatal error
Uncaught Error: Interface 'GuzzleHttp\\Promise\\PromiseInterface' not found in wp-content/plugins/qenta-checkout-seamless/vendor/guzzlehttp/promises/src/Promise.php:10
- > PHP Fatal error
Uncaught Error: Interface 'GuzzleHttp\\Exception\\GuzzleException' not found in wp-content/plugins/qenta-checkout-seamless/vendor/guzzlehttp/guzzle/src/Exception/TransferException.php:5
- > PHP Fatal error
Uncaught Error: Class 'PHPUnit\\Framework\\TestCase' not found in wp-content/plugins/qenta-checkout-seamless/vendor/qenta/checkout-client-library/tests/QentaCEE/QPay/Response/Toolkit/OrderTest1.php:40
- > PHP Fatal error
Uncaught Error: Class 'PHPUnit\\Framework\\TestCase' not found in wp-content/plugins/qenta-checkout-seamless/vendor/qenta/checkout-client-library/tests/QentaCEE/QPay/Return/Success/PaypalTest.php:39
- > PHP Fatal error
Uncaught Error: Class 'PHPUnit\\Framework\\TestCase' not found in wp-content/plugins/qenta-checkout-seamless/vendor/qenta/checkout-client-library/tests/QentaCEE/QPay/Response/Toolkit/OrderTest.php:40
- > PHP Fatal error
Uncaught Error: Class 'PHPUnit\\Framework\\TestCase' not found in wp-content/plugins/qenta-checkout-seamless/vendor/qenta/checkout-client-library/tests/QentaCEE/Stdlib/PaymentTypeAbstractTest.php:40
- > PHP Fatal error
Uncaught Error: Class 'PHPUnit\\Framework\\TestCase' not found in wp-content/plugins/qenta-checkout-seamless/vendor/qenta/checkout-client-library/tests/QentaCEE/QMore/DataStorage/Exception/InvalidArgumentExceptionTest.php:40
- > PHP Fatal error
Uncaught Error: Class 'PHPUnit\\Framework\\TestCase' not found in wp-content/plugins/qenta-checkout-seamless/vendor/qenta/checkout-client-library/tests/QentaCEE/QMore/Response/Backend/GetOrderDetailsTest.php:38
- > PHP Fatal error
require_once(): Failed opening required 'WOOCOMMERCE_GATEWAY_QMORE_BASEDIRclasses/class-qenta-admin.php' (include_path='.:/usr/share/php') in wp-content/plugins/qenta-checkout-seamless/classes/class-qenta-gateway.php on line 33
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser issues were found
Optimizations
Plugin configuration 86% from 29 tests
readme.txt 81% from 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
Attributes that need to be fixed:
- Contributors: There were no tags found
- Tags: Please delete some tags, you are using 12 tag instead of maximum 10
- Contributors: Plugin contributors not specified
qenta-checkout-seamless/woocommerce-qenta-checkout-seamless.php 92% from 13 tests
"Qenta Checkout Seamless" version 2.0.5.1's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
Please take the time to fix the following:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("qenta-checkout-seamless.php" instead of "woocommerce-qenta-checkout-seamless.php")
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 plugin30,753 lines of code in 422 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 382 | 6,154 | 24,171 | 24,851 |
Markdown | 18 | 1,267 | 0 | 3,756 |
JSON | 10 | 0 | 0 | 813 |
PO File | 2 | 391 | 391 | 806 |
JavaScript | 2 | 38 | 61 | 281 |
CSS | 2 | 34 | 61 | 152 |
XML | 3 | 2 | 32 | 51 |
YAML | 2 | 5 | 0 | 34 |
make | 1 | 4 | 0 | 9 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.27 |
Average class complexity | 6.92 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 134.00 |
Average method complexity | 1.87 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 77.00 |
Code structure | ||
---|---|---|
Namespaces | 45 | |
Interfaces | 27 | |
Traits | 3 | |
Classes | 337 | |
▷ Abstract classes | 25 | 7.42% |
▷ Concrete classes | 312 | 92.58% |
▷ Final classes | 20 | 6.41% |
Methods | 2,358 | |
▷ Static methods | 188 | 7.97% |
▷ Public methods | 2,017 | 85.54% |
▷ Protected methods | 202 | 8.57% |
▷ Private methods | 139 | 5.89% |
Functions | 154 | |
▷ Named functions | 62 | 40.26% |
▷ Anonymous functions | 92 | 59.74% |
Constants | 239 | |
▷ Global constants | 4 | 1.67% |
▷ Class constants | 235 | 98.33% |
▷ Public constants | 235 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
28 PNG files occupy 0.09MB with 0.04MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/eps-Ueberweisung_h32.png | 2.68KB | 1.67KB | ▼ 37.63% |
assets/images/TrustPay_h32.png | 2.88KB | 2.09KB | ▼ 27.34% |
assets/images/paypal_h32.png | 2.76KB | 2.02KB | ▼ 26.80% |
assets/images/TatraPay_h32.png | 6.47KB | 2.24KB | ▼ 65.36% |
assets/images/Installments_h32.png | 3.42KB | 1.57KB | ▼ 54.05% |