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
Install script ran successfully
Server metrics [RAM: ▲0.10MB] [CPU: ▼14.22ms] Passed 4 tests
Analyzing server-side resources used by Payment Gateway for Adyen and WooCommerce
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.57 ▲0.10 | 39.45 ▲4.09 |
Dashboard /wp-admin | 3.41 ▲0.10 | 47.25 ▼0.73 |
Posts /wp-admin/edit.php | 3.53 ▲0.16 | 43.49 ▼6.84 |
Add New Post /wp-admin/post-new.php | 5.99 ▲0.10 | 77.87 ▼47.69 |
Media Library /wp-admin/upload.php | 3.34 ▲0.10 | 35.85 ▼1.61 |
Server storage [IO: ▲0.88MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
There were no storage issued detected upon installing this plugin
Filesystem: 301 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
db_upgraded |
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-comments |
theysaidso_admin_options |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Payment Gateway for Adyen and WooCommerce
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,789 ▲28 | 14.29 ▼0.08 | 1.81 ▲0.14 | 43.56 ▲2.65 |
Dashboard /wp-admin | 2,192 ▲18 | 5.59 ▲0.03 | 83.85 ▼0.00 | 36.01 ▼5.75 |
Posts /wp-admin/edit.php | 2,097 ▼0 | 2.02 ▲0.01 | 34.93 ▼4.50 | 36.96 ▲3.97 |
Add New Post /wp-admin/post-new.php | 1,526 ▼9 | 22.99 ▲4.87 | 657.97 ▲9.83 | 52.09 ▼15.59 |
Media Library /wp-admin/upload.php | 1,400 ▲3 | 4.10 ▼0.11 | 110.61 ▲3.03 | 46.55 ▲1.71 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
Please fix the following items
- Zombie WordPress options were found after uninstall: 6 options
- widget_theysaidso_widget
- db_upgraded
- widget_recent-comments
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-posts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP 50% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Please fix the following
- 190× PHP files trigger server errors when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Interface 'Monolog\\Processor\\ProcessorInterface' not found in wp-content/plugins/wc-adyen-payment-gateway/vendor/monolog/monolog/src/Monolog/Processor/MercurialProcessor.php:21
- > PHP Fatal error
Uncaught Error: Class 'Monolog\\Handler\\AbstractProcessingHandler' not found in wp-content/plugins/wc-adyen-payment-gateway/vendor/monolog/monolog/src/Monolog/Handler/RedisHandler.php:28
- > PHP Fatal error
Uncaught Error: Class 'Adyen\\TestCase' not found in wp-content/plugins/wc-adyen-payment-gateway/vendor/adyen/php-api-library/tests/DirectoryLookupTest.php:28
- > PHP Fatal error
Uncaught Error: Class 'Monolog\\Handler\\AbstractProcessingHandler' not found in wp-content/plugins/wc-adyen-payment-gateway/vendor/monolog/monolog/src/Monolog/Handler/CouchDBHandler.php:22
- > PHP Fatal error
Uncaught Error: Interface 'Monolog\\Processor\\ProcessorInterface' not found in wp-content/plugins/wc-adyen-payment-gateway/vendor/monolog/monolog/src/Monolog/Processor/ProcessIdProcessor.php:19
- > PHP Fatal error
Uncaught Error: Class 'Monolog\\Handler\\AbstractProcessingHandler' not found in wp-content/plugins/wc-adyen-payment-gateway/vendor/monolog/monolog/src/Monolog/Handler/MailHandler.php:19
- > PHP Fatal error
Uncaught Error: Class 'Adyen\\Service\\AbstractResource' not found in wp-content/plugins/wc-adyen-payment-gateway/vendor/adyen/php-api-library/src/Adyen/Service/ResourceModel/Payout/ThirdParty/SubmitThirdParty.php:5
- > PHP Fatal error
Uncaught Error: Class 'Monolog\\Handler\\AbstractProcessingHandler' not found in wp-content/plugins/wc-adyen-payment-gateway/vendor/monolog/monolog/src/Monolog/Handler/FirePHPHandler.php:21
- > PHP Fatal error
Uncaught Error: Class 'Monolog\\Formatter\ormalizerFormatter' not found in wp-content/plugins/wc-adyen-payment-gateway/vendor/monolog/monolog/src/Monolog/Formatter/HtmlFormatter.php:23
- > PHP Fatal error
Uncaught Error: Class 'Adyen\\Service\\AbstractResource' not found in wp-content/plugins/wc-adyen-payment-gateway/vendor/adyen/php-api-library/src/Adyen/Service/ResourceModel/Modification/RefundWithData.php:6
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser issues were found
Optimizations
Plugin configuration 90% from 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
4 plugin tags: woocommerce extension, payment gateway, adyen, woocommerce
wc-adyen-payment-gateway/woocommerce-adyen.php 77% from 13 tests
The main PHP file in "Payment Gateway for Adyen and WooCommerce" ver. 2.0.0 adds more information about the plugin and also serves as the entry point for this plugin
Please make the necessary changes and fix the following:
- Requires at least: The required version number must match the one declared in readme.txt ("4.0" instead of "3.0")
- Text Domain: If you choose to specify the text domain, it must be the same as the plugin slug; optional since WordPress version 4.6
- Main file name: The principal plugin file should be the same as the plugin slug ("wc-adyen-payment-gateway.php" instead of "woocommerce-adyen.php")
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
Success! There were no dangerous files found in this plugin14,444 lines of code in 288 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 244 | 3,158 | 7,723 | 12,775 |
JSON | 31 | 0 | 0 | 949 |
Markdown | 8 | 188 | 0 | 622 |
XML | 2 | 5 | 42 | 36 |
YAML | 1 | 6 | 21 | 28 |
JavaScript | 1 | 3 | 0 | 20 |
Bourne Shell | 1 | 3 | 0 | 14 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.28 |
Average class complexity | 6.07 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 44.00 |
Average method complexity | 2.18 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 24.00 |
Code structure | ||
---|---|---|
Namespaces | 35 | |
Interfaces | 11 | |
Traits | 4 | |
Classes | 222 | |
▷ Abstract classes | 9 | 4.05% |
▷ Concrete classes | 213 | 95.95% |
▷ Final classes | 0 | 0.00% |
Methods | 1,045 | |
▷ Static methods | 72 | 6.89% |
▷ Public methods | 806 | 77.13% |
▷ Protected methods | 167 | 15.98% |
▷ Private methods | 72 | 6.89% |
Functions | 24 | |
▷ Named functions | 1 | 4.17% |
▷ Anonymous functions | 23 | 95.83% |
Constants | 96 | |
▷ Global constants | 4 | 4.17% |
▷ Class constants | 92 | 95.83% |
▷ Public constants | 92 | 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
There were not PNG files found in your plugin