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
Install script ran successfully
Server metrics [RAM: ▼0.15MB] [CPU: ▼17.23ms] Passed 4 tests
This is a short check of server-side resources used by MONEI WooCommerce
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.03 | 36.89 ▼4.29 |
Dashboard /wp-admin | 3.23 ▼0.12 | 32.18 ▼25.62 |
Posts /wp-admin/edit.php | 3.30 ▼0.06 | 36.10 ▼12.45 |
Add New Post /wp-admin/post-new.php | 5.47 ▼0.42 | 70.72 ▼26.57 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 33.01 ▼2.38 |
Server storage [IO: ▲2.28MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin installed successfully
Filesystem: 416 new files
Database: no new tables, 7 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_theysaidso_widget |
recovery_mode_email_last_sent |
db_upgraded |
widget_recent-comments |
widget_recent-posts |
can_compress_scripts |
Browser metrics Passed 4 tests
A check of browser resources used by MONEI WooCommerce
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 1,483 ▼1,264 | 12.76 ▼1.63 | 2.33 ▲0.58 | 37.01 ▼7.19 |
Dashboard /wp-admin | 850 ▼1,327 | 1.36 ▼4.27 | 14.50 ▼88.24 | 21.83 ▼24.43 |
Posts /wp-admin/edit.php | 861 ▼1,242 | 1.51 ▼0.45 | 6.28 ▼32.76 | 20.03 ▼14.96 |
Add New Post /wp-admin/post-new.php | 587 ▼939 | 1.71 ▼21.32 | 22.52 ▼620.33 | 7.55 ▼41.28 |
Media Library /wp-admin/upload.php | 746 ▼654 | 1.71 ▼2.47 | 22.96 ▼73.17 | 22.24 ▼18.19 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
These items require your attention
- Zombie WordPress options detected upon uninstall: 7 options
- db_upgraded
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-comments
- widget_recent-posts
- widget_theysaidso_widget
- recovery_mode_email_last_sent
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though everything seems fine, this is not an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Almost there! Just fix the following items
- 172× PHP files trigger server-side errors or warnings when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'Articus\\DataTransfer\\ConfigAwareFactory' not found in wp-content/plugins/monei/vendor/monei/monei-php-sdk/src/App/ApiClientFactory.php:10
- > PHP Fatal error
Uncaught Error: Class 'PHPUnit\\Framework\\TestCase' not found in wp-content/plugins/monei/vendor/monei/monei-php-sdk/test/Model/PaymentMessageChannelTest.php:43
- > PHP Fatal error
Uncaught Error: Interface 'OpenAPI\\Client\\Model\\ModelInterface' not found in wp-content/plugins/monei/vendor/monei/monei-php-sdk/lib/Model/SendPaymentLinkRequest.php:43
- > PHP Fatal error
Uncaught Error: Interface 'Psr\\Http\\Message\\StreamInterface' not found in wp-content/plugins/monei/vendor/guzzlehttp/psr7/src/PumpStream.php:19
- > PHP Fatal error
Uncaught Error: Interface 'OpenAPI\\Client\\Model\\ModelInterface' not found in wp-content/plugins/monei/vendor/monei/monei-php-sdk/lib/Model/CancelPaymentRequest.php:43
- > PHP Fatal error
Uncaught Error: Interface 'Psr\\Http\\Message\\StreamInterface' not found in wp-content/plugins/monei/vendor/guzzlehttp/psr7/src/AppendStream.php:14
- > PHP Fatal error
Uncaught Error: Class 'PHPUnit\\Framework\\TestCase' not found in wp-content/plugins/monei/vendor/monei/monei-php-sdk/test/Model/InlineObjectTest.php:43
- > PHP Fatal error
Uncaught Error: Interface 'Psr\\Http\\Message\\StreamInterface' not found in wp-content/plugins/monei/vendor/guzzlehttp/psr7/src/BufferStream.php:17
- > PHP Fatal error
Uncaught Error: Class 'PHPUnit\\Framework\\TestCase' not found in wp-content/plugins/monei/vendor/monei/monei-php-sdk/test/Model/PaymentPaymentMethodTrustlyTest.php:42
- > PHP Fatal error
Uncaught Error: Interface 'Psr\\Http\\Message\\RequestInterface' not found in wp-content/plugins/monei/vendor/guzzlehttp/psr7/src/Request.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
No browser issues were found
Optimizations
Plugin configuration 90% from 29 tests
readme.txt Passed 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
5 plugin tags: payments, ecommerce, payment gateway, credit card, woocommerce
monei/woocommerce-gateway-monei.php 77% from 13 tests
The entry point to "MONEI WooCommerce" version 5.7.0 is a PHP file that has certain tags in its header comment area
Please make the necessary changes and fix the following:
- Domain Path: The domain path points to a folder that does not exist ("/languages/")
- Requires at least: The required version number did not match the one declared in readme.txt ("5.0" instead of "3.0")
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("monei.php" instead of "woocommerce-gateway-monei.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
Everything looks great! No dangerous files found in this plugin35,836 lines of code in 396 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 353 | 7,343 | 27,664 | 30,155 |
Markdown | 18 | 1,504 | 0 | 4,037 |
JSON | 14 | 0 | 0 | 1,203 |
JavaScript | 4 | 28 | 50 | 368 |
Bourne Shell | 1 | 13 | 8 | 36 |
XML | 1 | 0 | 0 | 18 |
SVG | 4 | 0 | 0 | 13 |
YAML | 1 | 0 | 2 | 6 |
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.31 |
Average class complexity | 8.45 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 316.00 |
Average method complexity | 1.72 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 32.00 |
Code structure | ||
---|---|---|
Namespaces | 19 | |
Interfaces | 27 | |
Traits | 5 | |
Classes | 294 | |
▷ Abstract classes | 3 | 1.02% |
▷ Concrete classes | 291 | 98.98% |
▷ Final classes | 36 | 12.37% |
Methods | 3,098 | |
▷ Static methods | 574 | 18.53% |
▷ Public methods | 2,949 | 95.19% |
▷ Protected methods | 24 | 0.77% |
▷ Private methods | 125 | 4.03% |
Functions | 174 | |
▷ Named functions | 20 | 11.49% |
▷ Anonymous functions | 154 | 88.51% |
Constants | 243 | |
▷ Global constants | 11 | 4.53% |
▷ Class constants | 232 | 95.47% |
▷ Public constants | 221 | 95.26% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
PNG images were not found in this plugin