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 successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.12MB] [CPU: ▼4.88ms] Passed 4 tests
An overview of server-side resources used by SEPA Payment Gateway for WooCommerce
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.60 ▲0.14 | 42.22 ▼3.34 |
Dashboard /wp-admin | 3.43 ▲0.08 | 55.31 ▼10.99 |
Posts /wp-admin/edit.php | 3.54 ▲0.18 | 55.06 ▲8.34 |
Add New Post /wp-admin/post-new.php | 6.01 ▲0.12 | 94.20 ▼4.31 |
Media Library /wp-admin/upload.php | 3.35 ▲0.12 | 35.86 ▼0.88 |
Server storage [IO: ▲0.24MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin installed successfully
Filesystem: 62 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
theysaidso_admin_options |
can_compress_scripts |
db_upgraded |
widget_theysaidso_widget |
widget_recent-posts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for SEPA Payment Gateway for WooCommerce
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,807 ▲61 | 13.64 ▼0.76 | 4.53 ▲2.75 | 41.76 ▼1.42 |
Dashboard /wp-admin | 2,208 ▲17 | 5.80 ▼0.10 | 99.99 ▼8.30 | 41.37 ▼0.13 |
Posts /wp-admin/edit.php | 2,094 ▲8 | 2.04 ▲0.01 | 40.38 ▲1.79 | 36.19 ▲0.32 |
Add New Post /wp-admin/post-new.php | 1,533 ▲13 | 23.43 ▼0.11 | 626.97 ▼76.69 | 50.81 ▼9.17 |
Media Library /wp-admin/upload.php | 1,390 ▲2 | 4.25 ▼0.06 | 109.24 ▲3.79 | 40.94 ▼3.81 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
You still need to fix the following
- This plugin does not fully uninstall, leaving 6 options in the database
- can_compress_scripts
- widget_recent-posts
- widget_theysaidso_widget
- db_upgraded
- theysaidso_admin_options
- widget_recent-comments
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
The smoke test was a success, however most plugin functionality was not tested
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
Please fix the following items
- 18× PHP files trigger server-side errors or warnings when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'Digitick\\Sepa\\TransferInformation\\BaseTransferInformation' not found in wp-content/plugins/sepa-payment-gateway-for-woocommerce/vendor/digitick/sepa-xml/src/TransferInformation/CustomerDirectDebitTransferInformation.php:27
- > PHP Fatal error
Uncaught Error: Class 'Digitick\\Sepa\\TransferFile\\BaseTransferFile' not found in wp-content/plugins/sepa-payment-gateway-for-woocommerce/vendor/digitick/sepa-xml/src/TransferFile/CustomerDirectDebitTransferFile.php:30
- > PHP Fatal error
Uncaught Error: Class 'Digitick\\Sepa\\TransferFile\\BaseTransferFile' not found in wp-content/plugins/sepa-payment-gateway-for-woocommerce/vendor/digitick/sepa-xml/src/TransferFile/CustomerCreditTransferFile.php:30
- > PHP Fatal error
Uncaught Error: Interface 'Digitick\\Sepa\\TransferFile\\TransferFileInterface' not found in wp-content/plugins/sepa-payment-gateway-for-woocommerce/vendor/digitick/sepa-xml/src/TransferFile/BaseTransferFile.php:30
- > PHP Fatal error
Uncaught Error: Interface 'Digitick\\Sepa\\TransferFile\\Facade\\CustomerTransferFileFacadeInterface' not found in wp-content/plugins/sepa-payment-gateway-for-woocommerce/vendor/digitick/sepa-xml/src/TransferFile/Facade/BaseCustomerTransferFileFacade.php:29
- > PHP Fatal error
Uncaught Error: Class 'Digitick\\Sepa\\DomBuilder\\BaseDomBuilder' not found in wp-content/plugins/sepa-payment-gateway-for-woocommerce/vendor/digitick/sepa-xml/src/DomBuilder/CustomerCreditTransferDomBuilder.php:34
- > PHP Fatal error
Uncaught Error: Interface 'Digitick\\Sepa\\TransferInformation\\TransferInformationInterface' not found in wp-content/plugins/sepa-payment-gateway-for-woocommerce/vendor/digitick/sepa-xml/src/TransferInformation/BaseTransferInformation.php:29
- > PHP Fatal error
Uncaught Error: Class 'Digitick\\Sepa\\TransferFile\\Facade\\BaseCustomerTransferFileFacade' not found in wp-content/plugins/sepa-payment-gateway-for-woocommerce/vendor/digitick/sepa-xml/src/TransferFile/Facade/CustomerCreditFacade.php:13
- > PHP Fatal error
Uncaught Error: Class 'Digitick\\Sepa\\Exception\\Exception' not found in wp-content/plugins/sepa-payment-gateway-for-woocommerce/vendor/digitick/sepa-xml/src/Exception/InvalidTransferFileConfiguration.php:25
- > PHP Fatal error
Uncaught Error: Interface 'Digitick\\Sepa\\DomBuilder\\DomBuilderInterface' not found in wp-content/plugins/sepa-payment-gateway-for-woocommerce/vendor/digitick/sepa-xml/src/DomBuilder/BaseDomBuilder.php:28
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser errors were detected
Optimizations
Plugin configuration 86% from 29 tests
readme.txt Passed 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
7 plugin tags: disable gutenberg, blocks, classic editor, block editor, gutenberg...
sepa-payment-gateway-for-woocommerce/index.php 69% from 13 tests
The main PHP script in "SEPA Payment Gateway for WooCommerce" version 1.0.0 is automatically included on every request by WordPress
It is important to fix the following:
- Text Domain: You no longer need to specify the text domain since WordPress 4.6; it must be the same as the plugin slug
- Requires at least: Required version does not match the one declared in readme.txt ("5.0" instead of "4.9")
- Requires PHP: Required version number formatted incorrectly (ex. "7.0" instead of "5.6 or later")
- Main file name: The principal plugin file should be the same as the plugin slug ("sepa-payment-gateway-for-woocommerce.php" instead of "index.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
There were no executable files found in this plugin3,170 lines of code in 55 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 43 | 619 | 1,386 | 2,641 |
Markdown | 4 | 154 | 0 | 342 |
JSON | 3 | 0 | 0 | 110 |
JavaScript | 1 | 2 | 3 | 41 |
XML | 1 | 3 | 0 | 23 |
YAML | 1 | 3 | 0 | 9 |
CSS | 1 | 0 | 0 | 3 |
SVG | 1 | 0 | 0 | 1 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.30 |
Average class complexity | 8.62 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 47.00 |
Average method complexity | 2.21 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 18.00 |
Code structure | ||
---|---|---|
Namespaces | 10 | |
Interfaces | 4 | |
Traits | 0 | |
Classes | 30 | |
▷ Abstract classes | 3 | 10.00% |
▷ Concrete classes | 27 | 90.00% |
▷ Final classes | 0 | 0.00% |
Methods | 230 | |
▷ Static methods | 24 | 10.43% |
▷ Public methods | 221 | 96.09% |
▷ Protected methods | 5 | 2.17% |
▷ Private methods | 4 | 1.74% |
Functions | 2 | |
▷ Named functions | 1 | 50.00% |
▷ Anonymous functions | 1 | 50.00% |
Constants | 8 | |
▷ Global constants | 4 | 50.00% |
▷ Class constants | 4 | 50.00% |
▷ Public constants | 4 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
1 PNG file occupies 0.04MB with 0.02MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
vendor/digitick/sepa-xml/doc/structure.png | 38.51KB | 15.96KB | ▼ 58.56% |