Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.03MB] [CPU: ▼2.69ms] Passed 4 tests
Server-side resources used by WooCommerce Payrexx Payment Gateway
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.03 | 37.71 ▼3.64 |
Dashboard /wp-admin | 3.34 ▲0.03 | 51.56 ▲5.14 |
Posts /wp-admin/edit.php | 3.39 ▲0.03 | 43.66 ▼0.81 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.03 | 89.58 ▼8.07 |
Media Library /wp-admin/upload.php | 3.26 ▲0.03 | 33.62 ▲1.76 |
Server storage [IO: ▲5.31MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin installed successfully
Filesystem: 309 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
widget_theysaidso_widget |
db_upgraded |
theysaidso_admin_options |
widget_recent-posts |
can_compress_scripts |
Browser metrics Passed 4 tests
An overview of browser requirements for WooCommerce Payrexx Payment Gateway
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,815 ▲53 | 14.54 ▲0.22 | 2.00 ▲0.23 | 47.09 ▲3.60 |
Dashboard /wp-admin | 2,198 ▲21 | 5.62 ▲0.00 | 122.06 ▲26.09 | 52.37 ▲9.24 |
Posts /wp-admin/edit.php | 2,097 ▼3 | 1.94 ▼0.03 | 37.02 ▲3.00 | 32.40 ▼5.18 |
Add New Post /wp-admin/post-new.php | 1,526 ▼0 | 23.60 ▲0.44 | 685.55 ▲77.96 | 57.30 ▼2.80 |
Media Library /wp-admin/upload.php | 1,394 ▼6 | 4.23 ▼0.01 | 99.49 ▼5.80 | 44.05 ▼3.46 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
It is recommended to fix the following
- Zombie WordPress options detected upon uninstall: 6 options
- db_upgraded
- theysaidso_admin_options
- widget_recent-comments
- widget_recent-posts
- widget_theysaidso_widget
- can_compress_scripts
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP 0% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
The following issues need your attention
- 36× PHP files output non-empty strings when accessed directly via GET requests (only 10 are shown):
- > /wp-content/plugins/woo-payrexx-gateway/vendor/payrexx/payrexx/examples/PaymentMethodGetOne.php
- > /wp-content/plugins/woo-payrexx-gateway/vendor/payrexx/payrexx/examples/TransactionCapture.php
- > /wp-content/plugins/woo-payrexx-gateway/vendor/payrexx/payrexx/examples/InvoiceDelete.php
- > /wp-content/plugins/woo-payrexx-gateway/vendor/payrexx/payrexx/examples/PayoutGetAll.php
- > /wp-content/plugins/woo-payrexx-gateway/vendor/payrexx/payrexx/examples/TransactionReceipt.php
- > /wp-content/plugins/woo-payrexx-gateway/vendor/payrexx/payrexx/examples/GatewayCreate.php
- > /wp-content/plugins/woo-payrexx-gateway/vendor/payrexx/payrexx/examples/TransactionRefund.php
- > /wp-content/plugins/woo-payrexx-gateway/vendor/payrexx/payrexx/examples/DesignGetOne.php
- > /wp-content/plugins/woo-payrexx-gateway/vendor/payrexx/payrexx/examples/DesignCreate.php
- > /wp-content/plugins/woo-payrexx-gateway/vendor/payrexx/payrexx/examples/TransactionGetAll.php
- 52× PHP files trigger server errors when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'WC_Payrexx_Gateway_SubscriptionBase' not found in wp-content/plugins/woo-payrexx-gateway/src/Model/PaymentMethod/PostFinanceEFinance.php:3
- > PHP Fatal error
Uncaught Error: Class 'WC_Payrexx_Gateway_SubscriptionBase' not found in wp-content/plugins/woo-payrexx-gateway/src/Model/PaymentMethod/Visa.php:3
- > PHP Fatal error
Uncaught Error: Class 'WC_Payrexx_Gateway_Base' not found in wp-content/plugins/woo-payrexx-gateway/src/Model/PaymentMethod/Abstract/SubscriptionBase.php:6
- > PHP Fatal error
Uncaught Error: Call to undefined function apply_filters() in wp-content/plugins/woo-payrexx-gateway/includes/settings/payrexx_settings.php:3
- > PHP Fatal error
Uncaught Error: Class 'WC_Payrexx_Gateway_Base' not found in wp-content/plugins/woo-payrexx-gateway/src/Model/PaymentMethod/Centi.php:3
- > PHP Fatal error
Uncaught Error: Class 'WC_Payrexx_Gateway_SubscriptionBase' not found in wp-content/plugins/woo-payrexx-gateway/src/Model/PaymentMethod/Payrexx.php:3
- > PHP Fatal error
Uncaught Error: Class 'Payrexx\\Models\\Base' not found in wp-content/plugins/woo-payrexx-gateway/vendor/payrexx/payrexx/lib/Payrexx/Models/Request/Subscription.php:14
- > PHP Fatal error
Uncaught Error: Class 'WC_Payrexx_Gateway_SubscriptionBase' not found in wp-content/plugins/woo-payrexx-gateway/src/Model/PaymentMethod/Mastercard.php:3
- > PHP Fatal error
Uncaught Error: Class 'Payrexx\\Models\\Base' not found in wp-content/plugins/woo-payrexx-gateway/vendor/payrexx/payrexx/lib/Payrexx/Models/Request/PaymentMethod.php:16
- > PHP Fatal error
Uncaught Error: Class 'Payrexx\\Models\\Base' not found in wp-content/plugins/woo-payrexx-gateway/vendor/payrexx/payrexx/lib/Payrexx/Models/Request/Design.php:15
- > 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 on the user side
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
These attributes need to be fixed:
- Tags: Please delete some tags, you are using 25 tag instead of maximum 10
woo-payrexx-gateway/woo-payrexx-gateway.php Passed 13 tests
This is the main PHP file of "WooCommerce Payrexx Payment Gateway" version 3.0.3, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
65 characters long description:
Accept many different payment methods on your store using Payrexx
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
Everything looks great! No dangerous files found in this plugin26,452 lines of code in 279 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
SVG | 159 | 11 | 83 | 21,080 |
PHP | 112 | 1,250 | 3,024 | 4,960 |
PO File | 2 | 84 | 96 | 240 |
JSON | 3 | 0 | 0 | 93 |
Markdown | 1 | 20 | 0 | 59 |
YAML | 1 | 4 | 0 | 11 |
CSS | 1 | 1 | 0 | 9 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.19 |
Average class complexity | 4.90 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 47.00 |
Average method complexity | 1.49 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 18.00 |
Code structure | ||
---|---|---|
Namespaces | 11 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 67 | |
▷ Abstract classes | 4 | 5.97% |
▷ Concrete classes | 63 | 94.03% |
▷ Final classes | 0 | 0.00% |
Methods | 528 | |
▷ Static methods | 32 | 6.06% |
▷ Public methods | 513 | 97.16% |
▷ Protected methods | 8 | 1.52% |
▷ Private methods | 7 | 1.33% |
Functions | 41 | |
▷ Named functions | 1 | 2.44% |
▷ Anonymous functions | 40 | 97.56% |
Constants | 46 | |
▷ Global constants | 8 | 17.39% |
▷ Class constants | 38 | 82.61% |
▷ Public constants | 38 | 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
1 PNG file occupies 0.01MB with 0.00MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
vendor/payrexx/payrexx/examples/payrexx-logo.png | 10.26KB | 6.03KB | ▼ 41.25% |