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
Installer ran successfully
Server metrics [RAM: ▲2.77MB] [CPU: ▲14.03ms] Passed 4 tests
Analyzing server-side resources used by Payoneer Checkout
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 6.24 ▲2.78 | 62.24 ▲19.21 |
Dashboard /wp-admin | 6.12 ▲2.81 | 63.21 ▲8.86 |
Posts /wp-admin/edit.php | 6.17 ▲2.81 | 61.57 ▲14.07 |
Add New Post /wp-admin/post-new.php | 8.64 ▲2.75 | 104.76 ▲15.32 |
Media Library /wp-admin/upload.php | 5.96 ▲2.73 | 54.64 ▲17.86 |
Server storage [IO: ▲10.28MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
There were no storage issued detected upon installing this plugin
Filesystem: 1,468 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_recent-posts |
db_upgraded |
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-comments |
payoneer-checkout_plugin_activated |
theysaidso_admin_options |
Browser metrics Passed 4 tests
A check of browser resources used by Payoneer Checkout
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,822 ▲60 | 14.72 ▲0.38 | 1.87 ▲0.13 | 43.60 ▼1.73 |
Dashboard /wp-admin | 2,199 ▲30 | 5.62 ▼0.10 | 92.14 ▼14.11 | 40.66 ▼7.17 |
Posts /wp-admin/edit.php | 2,107 ▲7 | 2.09 ▲0.13 | 40.24 ▲3.94 | 35.25 ▼0.65 |
Add New Post /wp-admin/post-new.php | 1,533 ▲7 | 23.21 ▲0.04 | 607.38 ▼29.64 | 52.85 ▲2.23 |
Media Library /wp-admin/upload.php | 1,404 ▲1 | 4.22 ▼0.00 | 97.96 ▼2.08 | 41.73 ▼0.96 |
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 7 options in the database
- db_upgraded
- can_compress_scripts
- theysaidso_admin_options
- widget_theysaidso_widget
- payoneer-checkout_plugin_activated
- widget_recent-comments
- widget_recent-posts
Smoke tests 75% 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 50% 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
Almost there! Just fix the following items
- 717× GET requests to PHP files trigger server-side errors or Error 500 responses (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'Inpsyde\\PayoneerForWoocommerce\\PaymentGateway\\Merchant\\AbstractMerchantDecorator' not found in wp-content/plugins/payoneer-checkout/modules.local/payment-gateway/src/Merchant/CheckoutMerchantAwareUrlTemplateProvidingMerchant.php:15
- > PHP Fatal error
Uncaught Error: Class 'PHPUnit\\Framework\\TestCase' not found in wp-content/plugins/payoneer-checkout/vendor/dhii/services/tests/unit/Factories/StringServiceTest.php:14
- > PHP Fatal error
Uncaught Error: Interface 'Inpsyde\\PayoneerForWoocommerce\\Webhooks\\OrderPaymentWebhookHandler\\OrderPaymentWebhookHandlerInterface' not found in wp-content/plugins/payoneer-checkout/modules/inpsyde/payoneer-webhooks/src/OrderPaymentWebhookHandler/CustomerRegistrationHandler.php:11
- > PHP Fatal error
Uncaught Error: Interface 'Inpsyde\\PayoneerSdk\\Api\\Entities\\ListSession\\ListSerializerInterface' not found in wp-content/plugins/payoneer-checkout/modules/inpsyde/payoneer-sdk/src/Api/Entities/ListSession/ListSerializer.php:16
- > PHP Fatal error
Uncaught Error: Interface 'Inpsyde\\PayoneerSdk\\Api\\Entities\\Status\\StatusInterface' not found in wp-content/plugins/payoneer-checkout/modules/inpsyde/payoneer-sdk/src/Api/Entities/Status/Status.php:7
- > PHP Fatal error
Uncaught Error: Interface 'Inpsyde\\PayoneerSdk\\Api\\Entities\\Callback\\CallbackInterface' not found in wp-content/plugins/payoneer-checkout/modules/inpsyde/payoneer-sdk/src/Api/Entities/Callback/Callback.php:10
- > PHP Fatal error
Uncaught Error: Class 'Inpsyde\\PayoneerSdk\\Api\\Command\\Exception\\CommandException' not found in wp-content/plugins/payoneer-checkout/modules/inpsyde/payoneer-sdk/src/Api/Command/Exception/InteractionException.php:10
- > PHP Fatal error
Uncaught Error: Class 'PHPUnit\\Framework\\TestCase' not found in wp-content/plugins/payoneer-checkout/vendor/dhii/collections-interface/tests/unit/ContainerInterfaceTest.php:16
- > PHP Fatal error
Uncaught Error: Class 'PHPUnit\\Framework\\TestCase' not found in wp-content/plugins/payoneer-checkout/vendor/dhii/containers/tests/functional/CompositeCachingServiceProviderTest.php:11
- > PHP Fatal error
Uncaught Error: Interface 'Inpsyde\\PayoneerSdk\\Api\\Entities\\ListSession\\ListDeserializerInterface' not found in wp-content/plugins/payoneer-checkout/modules/inpsyde/payoneer-sdk/src/Api/Entities/ListSession/ListDeserializer.php:16
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
There were no browser issues found
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
3 plugin tags: payment, woocommerce, checkout
payoneer-checkout/payoneer-checkout.php 92% from 13 tests
The main PHP file in "Payoneer Checkout" ver. 1.5.1 adds more information about the plugin and also serves as the entry point for this plugin
The following require your attention:
- Requires at least: Required version must match the one declared in readme.txt ("5.3" instead of "5.4")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
Good job! No executable or dangerous file extensions detected60,639 lines of code in 1,061 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 896 | 9,701 | 19,864 | 42,660 |
JSON | 47 | 3 | 0 | 4,660 |
JavaScript | 8 | 2,375 | 3,324 | 4,021 |
CSS | 13 | 507 | 122 | 3,637 |
Markdown | 44 | 1,084 | 0 | 2,797 |
XML | 26 | 54 | 14 | 1,386 |
SVG | 8 | 0 | 0 | 1,009 |
YAML | 16 | 102 | 10 | 414 |
Dockerfile | 2 | 26 | 4 | 48 |
Sass | 1 | 1 | 0 | 7 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.20 |
Average class complexity | 3.25 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 52.00 |
Average method complexity | 1.89 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 25.00 |
Code structure | ||
---|---|---|
Namespaces | 170 | |
Interfaces | 330 | |
Traits | 27 | |
Classes | 692 | |
▷ Abstract classes | 19 | 2.75% |
▷ Concrete classes | 673 | 97.25% |
▷ Final classes | 4 | 0.59% |
Methods | 3,073 | |
▷ Static methods | 78 | 2.54% |
▷ Public methods | 2,460 | 80.05% |
▷ Protected methods | 545 | 17.74% |
▷ Private methods | 68 | 2.21% |
Functions | 886 | |
▷ Named functions | 18 | 2.03% |
▷ Anonymous functions | 868 | 97.97% |
Constants | 146 | |
▷ Global constants | 2 | 1.37% |
▷ Class constants | 144 | 98.63% |
▷ Public constants | 107 | 74.31% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
60 PNG files occupy 0.23MB with 0.13MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
(invalid) modules.local/embedded-payment/assets/css/img/ic-x-default-14p@2x.png | 0.29KB | 0.00KB | ▼ 100.00% |
modules.local/websdk/assets/css/img/ic-info.png | 0.39KB | 0.45KB | 0.00% |
(invalid) modules.local/embedded-payment/assets/css/img/ic-delete-default-14p.png | 0.23KB | 0.00KB | ▼ 100.00% |
modules.local/websdk/assets/css/img/ic-info@2x.png | 1.38KB | 0.61KB | ▼ 56.15% |
modules/inpsyde/payoneer-admin-banner/assets/img/logotype.png | 4.44KB | 2.86KB | ▼ 35.69% |